mirror of
https://github.com/dergigi/boris.git
synced 2026-01-22 08:14:25 +01:00
feat: add private bookmark fetching with NIP-44 decryption
- Update ActiveAccount interface to include signer property - Modify fetchBookmarks to handle both kind 10003 (public) and kind 30001 (private) bookmark lists - Implement NIP-44 decryption for private bookmarks using applesauce SimpleSigner - Support both public tags and encrypted private content in categorized bookmarks - Maintain backward compatibility with existing public bookmark functionality
This commit is contained in:
@@ -40,4 +40,5 @@ export interface IndividualBookmark {
|
||||
|
||||
export interface ActiveAccount {
|
||||
pubkey: string
|
||||
signer?: any // SimpleSigner from applesauce
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user