From b2f3a014395c26aa673c4adf5c4a581712a589da Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 23 Jul 2025 16:22:16 -0300 Subject: [PATCH] nip46: remove deprecated getRelays() --- nip46.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nip46.ts b/nip46.ts index 02172fc..c4102f1 100644 --- a/nip46.ts +++ b/nip46.ts @@ -5,7 +5,6 @@ import { getConversationKey, decrypt, encrypt } from './nip44.ts' import { NIP05_REGEX } from './nip05.ts' import { SimplePool } from './pool.ts' import { Handlerinformation, NostrConnect } from './kinds.ts' -import type { RelayRecord } from './relay.ts' import { Signer } from './signer.ts' var _fetch: any @@ -238,13 +237,6 @@ export class BunkerSigner implements Signer { return this.cachedPubKey } - /** - * @deprecated removed from NIP - */ - async getRelays(): Promise { - return JSON.parse(await this.sendRequest('get_relays', [])) - } - /** * Signs an event using the remote private key. * @param event - The event to sign.