I had the steroid injections at 29 weeks following a significant bleed. It is given in case baby does end up coming early, as willitbe says. In my case, DS arrived at 31+5 because I had bled significantly many times over 3 weeks and that had irritated my uterus into labour. But having had the steroids made such a difference, and DS was only on ventilation support (C-PAP) for a few hours the first night, then he was breathing unaided. I hope your baba stays cooking for a while longer yet, but if they do come early, you are almost at 35 weeks with the steroids too, so they should do very well
I had some bleeding week 26, was in and our of hospital with an over night stay, and in the end they gave me steroid injection to be on safe side, even if they weren't really worried that he'd come early. Was just a precaution.