I would doubt you have anything to worry about, i work in the animal industry and we give out info on this kind of thing all the time, we generally say:
So long as you were hygenic and washed your hands after playing with the animal and did not allow it to get too close to your face and lick you should be fine, i would also advise that they worm the puppy each month for the first 6 months of its life and then every 3 months thereafter - especially if you are to be visiting. It is also an idea to keep up to date on flea treatment as fleas carry worms on their feet and then the animal can ingest them this way.
The other worm of concern is toxoplasmosis that you can pick up from cat litter trays - i will have to have a blood sample for this when i concieve as i clean them out every day, but i am very wary of this and wash my hands each time.
I hope this isnt too much information, and is of some help to you. Take care Sammie p