mirror of
https://github.com/dergigi/boris.git
synced 2026-01-29 11:44:58 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user