mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-10 00:34:32 +00:00
remove get_relays from signers (#1779)
This commit is contained in:
parent
6e7a618e7f
commit
81908b6e3f
3 changed files with 0 additions and 58 deletions
1
07.md
1
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue