What about having an actual module called nip07 with actual functions in it, just calling window.nostr on the back?
As far as I understand the real implementation in javascript is injected by the extension, am I wrong? But they cannot provide the typescript interface
If it had a proper solution to races then yes please!
You know I'm something of a racist myself.
Huh.?
Me and @Decentralized Dad laughed.
I got it, you mean to create an exportable nip7 non related to window but that talks to the window.nostr, that's it? I think the interface is enought to me. Can I open an issue about this in nostr-tools?
No, you can open a PR.
Valeu mano, vou abrir