aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nip17.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/nip17.ts b/src/lib/nip17.ts
index ce5654cf..a8cadd2f 100644
--- a/src/lib/nip17.ts
+++ b/src/lib/nip17.ts
@@ -119,7 +119,7 @@ const giftWrap = (event: object, receiverPK: string, expiryDays: number = null)
return finalizeEvent(giftWrapEvent, secretKey);
}
-export const decryptNIP17MessageNIP07 = async (wrapped: object): object => {
+const decryptNIP17MessageNIP07 = async (wrapped: object): object => {
const sealedText = await window.nostr.nip44.decrypt(
wrapped.pubkey, wrapped.content);
const sealed = JSON.parse(sealedText);