Replacement for LSSetDefaultHandlerForURLScheme?

LSSetDefaultHandlerForURLScheme is flagged as deprecated, but it isn't clear to me (very much not a frequent macOS developer) what the alternative is.

Can anyone point me in the right direction?

Thanks.

Replacement for LSSetDefaultHandlerForURLScheme?
 
 
Q