Emotional dependency?

I'm sure I have emotional dependency on a girl and she has hurt me so much in the past. She started to treat me badly since some weeks ago and I promised to myself I wouldn't get back to her. What I just did? I texted her and she was nice to me and we are friends again. I feel so bad, I know I will hurt myself again, its not entirely her fault of course but maybe she will act indifferent again towards me. I dont want to stay in this friendship, she doesn't deserve me but i just can't leave

Emotional dependency?
Post Opinion