nip46: remove deprecated getRelays()

This commit is contained in:
fiatjaf 2025-07-23 16:22:16 -03:00
parent 6ec19b618c
commit b2f3a01439
1 changed files with 0 additions and 8 deletions

View File

@ -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<RelayRecord> {
return JSON.parse(await this.sendRequest('get_relays', []))
}
/**
* Signs an event using the remote private key.
* @param event - The event to sign.