From 38a014ef841f305ae950311ba1ae67e03fe9e451 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 16 Oct 2025 23:57:32 +0200 Subject: [PATCH] debug: verify subscriptionMethod and publishMethod on recreated signer - Check if recreated NostrConnectSigner has methods needed for decrypt operations - This will help identify if the issue is missing publishMethod for sending decrypt requests - Or missing subscriptionMethod for receiving responses --- src/App.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index d585e9c9..b363f022 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -287,6 +287,11 @@ function App() { // Replace the signer on the account nostrConnectAccount.signer = recreatedSigner console.log('[bunker] ✅ Signer recreated with pool context') + console.log("[bunker] Signer methods check:", { + hasSubscriptionMethod: !!(recreatedSigner as any).subscriptionMethod, + hasPublishMethod: !!(recreatedSigner as any).publishMethod, + hasMakeRequest: typeof (recreatedSigner as any).makeRequest === "function" + }) // Add bunker's relays to the pool so signing requests can be sent/received const bunkerRelays = nostrConnectAccount.signer.relays || []