How to protect fuel pump wiring?

I had to install a new fuel pump in a ford ranger.

the connector in his truck didn't match the new fuel pump so I had to cut the 2 wires leading to the pump (inside the gas tank) and solder on the new fuel pump connector, then i covered it with marine grade heat shrink.

is this adequate at all? Will it prevent any explosion?

is heat shrink adequate to protect soldered wires from gaoline inside the tank?

DO NOT attempt to operate that vehicle. You were DEAD WRONG to cut the wiring inside the tank. Even given the likely FALSE assumption that a proper adapter is not available, you should have modified the wiring OUTSIDE of the tank. It is physically impossible for there not to be ample room between the tank and the power supply for proper rewiring.

I wouldn't worry about it at all so long as the wiring connections are solid and there will be no sparking due to a bad connection.

But even if there was sparking due to a bad connection chances are slim that anything would happen. You can drop a lit cigarette into the gas tank and nothing would happen because all of the oxygen has been displaced by gas fumes. Of the millions and millions of cars and trucks on the road for many many years, when was the last time you heard of a car exploding due to sparking in the gas tank?

What - are you going to be the first? Lol.

I think it would be okay. You can if you want double heat shrink it if you have a larger size tube.Adjust the wire lenghths so that the joints are not adajcent.

Car is low voltage just for that reason.

IT will NOT blow up the vapor in the tank is too rich and will NOT ignite even if it did spark AND anyone who thinks so can try if they wish won't succeed. Believe it or not but fuel pump motors have brushes. You had the right idea of using the heat shrink tubing just not sure if it will survive fuel vapors. Even if it did fail the most that would happen is a failure. Marc-poc is correct

You did it the right way by soldering the wires, I hope you staggered the splices so they can't short if the heat-shrink dissolves in gasoline. I have not seen marine grade shrink tubing, I would test a piece in gasoline to make sure it doesn't dissolve and get soggy soft while submerged in gasoline. Make a test splice and soak it in gas to find out.

Fuel tank repair epoxy putty would have been a better choice on the splice, allowed to harden before installing in tank.