From 3ae655c8b0ee2afca3800095c52c019c622faf49 Mon Sep 17 00:00:00 2001 From: Rob Woodgate Date: Sat, 10 May 2025 14:21:53 +0100 Subject: [PATCH] Adds nip60.signSecret() support --- src/App.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index 3853f41..7fb8a73 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -198,6 +198,12 @@ if (!connecting && !connected) connectOrOpen() return (await bunker).nip44Decrypt(pubkey, ciphertext) } + }, + nip60: { + async signSecret(proof_secret: string): Promise { + if (!connecting && !connected) connectOrOpen() + return (await bunker).nip60SignSecret(proof_secret) + } } }