Batteries are usually fine with heat, imagine the engine compartment of a car and how hot it gets under the hood.
It's the cold that most likely cause problems.
Fully charged battery at room temperature that moved into sub-freezing temp may bulge and have cell failure.
Store battery in room temperature, don't over charge, don't keep charge below 20%; all that would prolong the battery lifespan.