Seems either way you're dropping in a client, so the window.nostr probably doesn't matter in that context as you could use the sanctum client directly just as you would with nip46
We haven't broken out the widget to its own repo yet but will shortly after Nashville so you can have a look (this is powering our wallet and video site which are higher priority to get stable)