chore: update nostr-tools (#248)
This commit is contained in:
parent
124239839c
commit
84ef234d38
3 changed files with 6 additions and 10 deletions
|
|
@ -41,11 +41,7 @@ export class BunkerSigner implements ISigner {
|
|||
if (!this.signer) {
|
||||
throw new Error('Not logged in')
|
||||
}
|
||||
const pubkey = await this.getPublicKey()
|
||||
return this.signer.signEvent({
|
||||
...draftEvent,
|
||||
pubkey
|
||||
})
|
||||
return this.signer.signEvent(draftEvent)
|
||||
}
|
||||
|
||||
async nip04Encrypt(pubkey: string, plainText: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue