From 81908b6e3fbc852181de9ed21cf244f525ff60af Mon Sep 17 00:00:00 2001 From: greenart7c3 <115044884+greenart7c3@users.noreply.github.com> Date: Thu, 13 Feb 2025 23:46:56 -0300 Subject: remove get_relays from signers (#1779) --- 07.md | 1 - 1 file changed, 1 deletion(-) (limited to '07.md') diff --git a/07.md b/07.md index 9f836d8..294acd3 100644 --- a/07.md +++ b/07.md @@ -17,7 +17,6 @@ async window.nostr.signEvent(event: { created_at: number, kind: number, tags: st Aside from these two basic above, the following functions can also be implemented optionally: ``` -async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} } // returns a basic map of relay urls to relay policies async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-04 (deprecated) async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-04 (deprecated) async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertext as specified in nip-44 -- cgit v1.2.3