From b11252005656596fc9ec6dbe45e597b5054e367f Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 2 Oct 2025 10:06:37 +0200 Subject: [PATCH] debug: enhance account signer debugging - Added detailed logging for account signer capabilities - Check if account has signer with decrypt method - This will help identify if the ExtensionAccount has proper NIP-44 decryption capabilities - Following applesauce examples pattern for signer usage --- src/services/bookmarkService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/services/bookmarkService.ts b/src/services/bookmarkService.ts index 8cf3fb39..cd702014 100644 --- a/src/services/bookmarkService.ts +++ b/src/services/bookmarkService.ts @@ -127,6 +127,9 @@ export const fetchBookmarks = async ( console.log('Has encrypted content:', bookmarkListEvent.content && bookmarkListEvent.content.includes(':')) console.log('Account type:', typeof activeAccount) console.log('Account has decrypt method:', typeof activeAccount.decrypt) + console.log('Account signer:', activeAccount.signer) + console.log('Account signer type:', typeof activeAccount.signer) + console.log('Account signer decrypt method:', typeof activeAccount.signer?.decrypt) // Process bookmarks using DRY helper function