expose nip 4 functions to TS (#39)

This commit is contained in:
Íñigo Aréjula Aísa
2022-11-30 23:41:10 +01:00
committed by GitHub
parent 92fb339afb
commit ec805be4ab

3
index.d.ts vendored
View File

@@ -104,7 +104,8 @@ declare type RelayPool = {
declare function relayPool(): RelayPool;
// nip04.js
declare function decrypt(privkey: string, pubkey: string, ciphertext: string): string;
declare function encrypt(privkey: string, pubkey: string, text: string): string;
// nip05.js
// nip06.js