diff options
| author | greenart7c3 <115044884+greenart7c3@users.noreply.github.com> | 2025-02-13 23:46:56 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 18:46:56 -0800 |
| commit | 81908b6e3fbc852181de9ed21cf244f525ff60af (patch) | |
| tree | 61891552885cd3a2777c4b6e51142d292d76efc5 /07.md | |
| parent | 6e7a618e7f873bb91e743caacc3b09edab7796a0 (diff) | |
remove get_relays from signers (#1779)
Diffstat (limited to '07.md')
| -rw-r--r-- | 07.md | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -17,7 +17,6 @@ async window.nostr.signEvent(event: { created_at: number, kind: number, tags: st | |||
| 17 | 17 | ||
| 18 | Aside from these two basic above, the following functions can also be implemented optionally: | 18 | Aside from these two basic above, the following functions can also be implemented optionally: |
| 19 | ``` | 19 | ``` |
| 20 | async window.nostr.getRelays(): { [url: string]: {read: boolean, write: boolean} } // returns a basic map of relay urls to relay policies | ||
| 21 | async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-04 (deprecated) | 20 | async window.nostr.nip04.encrypt(pubkey, plaintext): string // returns ciphertext and iv as specified in nip-04 (deprecated) |
| 22 | async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-04 (deprecated) | 21 | async window.nostr.nip04.decrypt(pubkey, ciphertext): string // takes ciphertext and iv as specified in nip-04 (deprecated) |
| 23 | async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertext as specified in nip-44 | 22 | async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertext as specified in nip-44 |