Could purging a few times during pregnancy harm my baby? I am worried..?

I have had very mild symptoms of bulimia before pregnancy. After I was pregnant I gained too much weight (I am 22 weeks now but I have already gained close to 25 pounds). On few occasions, I have lost control, and I have induced vomiting (almost three or four times since I found out I was pregnant). I know this was irrisoponsible but I thought it was no big deal until I have read that builimia can cause still birth and prematurity. Could this self induced vomiting have harmed my baby? I do take care of my nutrition and drink a lot of fluids. I feel so guilty I don`t want to do it again but I want to make sure I have not caused any harm to my baby since I have been ttc since five years. Thanks.