Hi, you had no risk for any std from your affair
Oops i thought it was just a handjob. If any part of your genital area out side the condom with the vaginal sex made rubbing contact with her, since you have a pregnant wife then you were exposed to herpes and syphilis and should test for these before being intimate with her.
Did any part make contact like your pubic mound area? If not then zero risk, if so and she did not have any sores then close to zero risk but still a risk.
There one good thing is that you need to test for herpes anyway since your wifes pregnant
herpes -----3 months
She did not appear to have any lesions I would have been able to notice them right?