mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 00:28:51 +00:00
mark getRelays and get_relays as deprecated.
This commit is contained in:
1
nip07.ts
1
nip07.ts
@@ -4,6 +4,7 @@ import { RelayRecord } from './relay.ts'
|
||||
export interface WindowNostr {
|
||||
getPublicKey(): Promise<string>
|
||||
signEvent(event: EventTemplate): Promise<NostrEvent>
|
||||
/** @deprecated removed from NIP */
|
||||
getRelays(): Promise<RelayRecord>
|
||||
nip04?: {
|
||||
encrypt(pubkey: string, plaintext: string): Promise<string>
|
||||
|
||||
Reference in New Issue
Block a user