diff --git a/nip46.ts b/nip46.ts index d29c985..279709c 100644 --- a/nip46.ts +++ b/nip46.ts @@ -1,4 +1,3 @@ -import { hexToBytes } from '@noble/hashes/utils' import { NostrEvent, UnsignedEvent, VerifiedEvent } from './core.ts' import { generateSecretKey, finalizeEvent, getPublicKey, verifyEvent } from './pure.ts' import { AbstractSimplePool, SubCloser } from './abstract-pool.ts' @@ -251,11 +250,6 @@ export class BunkerSigner { return await this.sendRequest('nip04_decrypt', [thirdPartyPubkey, ciphertext]) } - async nip44GetKey(thirdPartyPubkey: string): Promise { - let resp = await this.sendRequest('nip44_get_key', [thirdPartyPubkey]) - return hexToBytes(resp) - } - async nip44Encrypt(thirdPartyPubkey: string, plaintext: string): Promise { return await this.sendRequest('nip44_encrypt', [thirdPartyPubkey, plaintext]) } diff --git a/package.json b/package.json index 4b30dd2..63e988b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "nostr-tools", - "version": "2.9.1", + "version": "2.9.2", "description": "Tools for making a Nostr client.", "repository": { "type": "git",