I prefer first one, because second one makes a weak electrical connection to mains all the time - it's usually not good for low-consumption or sensitive circuits. But if your load is high enough (with low impedance) - second one becames good too.So either of these would be fine?