the thing is probably not a transformer, it probably a current limiting device - I've made such a thing with a low wattage bulb off the high side of
110 - a 1 watt bulb will limit current to 10 ma but will give a pesky shock - the commercial units limit current perhaps in other ways to be super safe. your choice how to proceed -when you "took it apart" - what did you find inside?