diff --git a/nip07.ts b/nip07.ts index 7996f2f..aff6163 100644 --- a/nip07.ts +++ b/nip07.ts @@ -7,7 +7,7 @@ export interface WindowNostr { getRelays(): Promise nip04?: { encrypt(pubkey: string, plaintext: string): Promise - ecrypt(pubkey: string, ciphertext: string): Promise + decrypt(pubkey: string, ciphertext: string): Promise } nip44?: { encrypt(pubkey: string, plaintext: string): Promise