getAlby / nostr-wallet-connect

Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node
https://nwc.getalby.com
Apache License 2.0
103 stars 31 forks source link

build specific api files #226

Closed bumi closed 7 months ago

bumi commented 7 months ago

based on the build this copies the request api that will be used in the JS app

rolznz commented 7 months ago

Downsides of this approach:

But we probably will not make many more edits to this file.

The alternative would be a dynamic import using the value of an env variable (that was removed in this PR) as part of the filename of the imported file, which would not have the downsides mentioned above.

I will merge this for now, in the rare case that we end up adding more platform-specific code we could revisit it.