mirror of
https://github.com/dergigi/boris.git
synced 2026-01-29 19:54:39 +01:00
debug: enable NostrConnectSigner logging to diagnose decrypt hang
- Add detailed logging for signer subscription opening - Enable debug logs for NostrConnectSigner via localStorage - This will show if requests are being sent and responses received - Helps diagnose why decrypt requests hang indefinitely
This commit is contained in:
@@ -67,11 +67,16 @@ export async function reconnectBunkerSigner(
|
||||
|
||||
// Open signer subscription if not already listening
|
||||
if (!account.signer.listening) {
|
||||
console.log('[bunker] Opening signer subscription for NIP-46 responses...')
|
||||
await account.signer.open()
|
||||
console.log('[bunker] ✅ Signer subscription active, listening for bunker responses')
|
||||
} else {
|
||||
console.log('[bunker] Signer already listening')
|
||||
}
|
||||
|
||||
// Mark as connected (bunker remembers permissions from initial connection)
|
||||
account.signer.isConnected = true
|
||||
console.log('[bunker] Signer marked as connected, ready for signing/decryption')
|
||||
|
||||
// Expose nip04/nip44 at account level for compatibility
|
||||
// This allows bookmark decryption to work without accessing account.signer
|
||||
|
||||
Reference in New Issue
Block a user