-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add option to init NostrWeblnProvider with newly, locally created secret this allows apps to generate the secret and pass the public key to NWC * Correct pubkey attribute * cleanup * v1.4.3 * Add initNWC function to initiate the pairing. cont nwc = NostrWebLNProvider.withNewSecret(); nwc.initNWC().then(() => { // nwc is ready }); * Correct Alby NWC URL * Remove message event listener once the success message is processed * Add support for custom NWC URLs * Reject the initNWC promise if the popup is closed * chore: update nwc default relay * doc: add example of generating new NWC connect url * chore: fix ts warning * doc: update nwc withNewSecret example Co-authored-by: Michael Bumann <[email protected]> * doc: update README NWC example documentation * chore: make options parameter optional --------- Co-authored-by: Roland Bewick <[email protected]> Co-authored-by: Roland <[email protected]>
- Loading branch information
1 parent
bc49e2f
commit a77123d
Showing
3 changed files
with
96 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters