Bfing a newborn when you have a cold is the best thing you can do for their immunity to it. And plenty of handwashing.

But hopefully you'll be better soon and won't have to worry about it. I hope you recover quickly!