Do not worry, your medication will be fine. Please read: fixhepc.com/kunena-2015-11-10/faq.html
and the "How do I store my medications" part.
Destruction of chemical APIs occurs by heating rather than cooling.
Here is the FAQ answer:
The original manufacturers of Sofosbuvir, Ledipasvir, Daclatasvir say this in their CMI:
Keep HARVONI tablets in a cool, dry place where it stays below 30°C
Store DAKLINZA tablets in a cool dry place where the temperature stays below 30°C.
More or less all medications say something like this.
Sofosbuvir: Melting point. 95-100 ºC
Ledipasvir: Melting Point: 186 - 190ºC
Daclatasvir: Melting Point: 166-172°C
So you could almost certainly store them at > 30 °C but if you follow the < 30 °C recommendations everything should be fine.
The main issue with higher temperatures is that gelatine capsules will melt at 44 °C.
The main issue with moisture is that both capsules and tablets are designed to fall apart in your stomach when they get wet.
Refrigeration will be fine but does create moisture problems. While a fridge is cool and dry the problem occurs when you have warm moist air (room air) and then cool it causing the moisture to condense - you have probably seen this if you put hot food in the fridge with droplets of moisture rapidly replacing the steam on the lid.
You should not freeze the medication although freezing theoretically increases the molecular stability of the APIs, and in fact the NMI certificates found here fixhepc.com/blog/item/16-testing-provisions-patient-safety.html
When not in use, this material should be stored at or below 4 ºC in a closed container in a dry, dark area.