A warm arrival is a reason to test, not automatically a reason to discard. Peptide degradation is kinetic — rate multiplied by time — and a few days at thirty degrees in the solid state is a small integral compared to weeks in solution.
Light matters for specific residues rather than in general. Tryptophan and to a lesser extent tyrosine and methionine are photo-labile; a sequence without them is largely indifferent to ambient light over the timescales in question. Amber glass is cheap insurance rather than a requirement.
Practical thermal arithmetic for a shipment: a single 250 g phase-change pack in a thin-walled polystyrene box holds sub-ten-degrees for roughly 24 to 48 hours in a 25 °C ambient, and considerably less at 35 °C. Any lane taking eight to fourteen days is therefore not temperature-controlled for most of its duration regardless of what was in the box, which is the argument for shipping the material lyophilised.
Deamidation kinetics for asparagine in peptides are well characterised and strongly sequence-dependent: the residue following the asparagine dominates the rate, with glycine and serine at the n+1 position accelerating it by an order of magnitude relative to bulkier residues. That is why two peptides in the same buffer at the same temperature can have quite different shelf lives.
If the material arrived warm and it was lyophilised, test it and proceed on the result. If it arrived warm and it was in solution, the result is more likely to be interesting than reassuring.