As long as they werent in there too long, It should be ok!

I mean, they are packed and shipped in boxes, so they have to be in the heat eventually

If you want to, just call the vet and ask, but I would not see any harm in it!