If that's the case, then you should have no problem with this bill.
The bill also includes language on hormone therapy and puberty blockers, neither of which is surgical.
All of what I said above re: castration would also apply to giving your child drugs that stop their development and often result in sterilization.
Just because you didn't know about something until the 2010s doesn't mean it wasn't done until the 2010s. Puberty blockers have been used on trans youth since the 1990s and the drugs existed for non-trans reasons before then.