mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
expose nip 4 functions to TS (#39)
This commit is contained in:
committed by
GitHub
parent
92fb339afb
commit
ec805be4ab
3
index.d.ts
vendored
3
index.d.ts
vendored
@@ -104,7 +104,8 @@ declare type RelayPool = {
|
|||||||
declare function relayPool(): RelayPool;
|
declare function relayPool(): RelayPool;
|
||||||
|
|
||||||
// nip04.js
|
// nip04.js
|
||||||
|
declare function decrypt(privkey: string, pubkey: string, ciphertext: string): string;
|
||||||
|
declare function encrypt(privkey: string, pubkey: string, text: string): string;
|
||||||
// nip05.js
|
// nip05.js
|
||||||
|
|
||||||
// nip06.js
|
// nip06.js
|
||||||
|
|||||||
Reference in New Issue
Block a user