refactor: replace temporary nip46 file with official nostr-tools (#583)

This commit is contained in:
hoppe
2025-09-21 22:44:50 +09:00
committed by GitHub
parent ec11d53fac
commit c4643b2d8b
6 changed files with 11 additions and 496 deletions

View File

@@ -18,7 +18,7 @@ export class BunkerSigner implements ISigner {
throw new Error('Invalid bunker')
}
this.signer = new NBunkerSigner(this.clientSecretKey, bunkerPointer, {
this.signer = NBunkerSigner.fromBunker(this.clientSecretKey, bunkerPointer, {
onauth: (url) => {
window.open(url, '_blank')
}