Glad everything worked out ok for the OP, scary stuff.
It would behoove anyone to check, or have checked, All the 120v AC wiring on their RV, even if new from the factory.
On our 2017 Rockwood Roo the terminals on the Furrion exterior wall mounted connector for the twist on shore power cord were not tightened, and showed signs of arcing. All of the breakers in the 120v side of the power center including the main, had the square drive heads stripped out from what I assume the use of an impact driver in the factory. These were tightened to the point of smashing the conductors flat. The slightest movement of the conductor then caused them to break. I had to buy all new breakers and replace them. Same thing on the ground and neutral bars, all screws stripped.
I found all of that while installing an EMS 3 days after purchasing the trailer.
That silver RVIA decal thats says the manufacturer certifies that all plumbing, electrical, and HVAC and fire safety comply with some ANSI standard evidently means nothing other than they applied the decal correctly. I contacted Rockwood and the tone of the conversation came across as it was no big deal to them and perhaps I should "take it to my local dealer" for an inspection. I was a little hot by then and had to ask "would you suggest before or after the fire?" Perhaps an inspection in the factory while it was being built may have been a better course of action? Caveat Emptor!