Refactor Nostr Client and Update Dependencies

- Replaced NDKPrivateKeySigner with PrivateKeySigner from applesauce-signers for improved signing functionality.
- Updated the Nostr client implementation to utilize nostr-tools for event management and connection pooling.
- Enhanced event fetching logic to support multiple versions of replaceable events based on limit parameters.
- Updated package dependencies in package.json and bun.lock, including the addition of applesauce-core and applesauce-signers.
- Refined event kind definitions and improved documentation for clarity and consistency with NIP specifications.
- Adjusted CSS styles in bundle.css for better visual consistency across components.
This commit is contained in:
2025-10-25 17:27:25 +01:00
parent badac55813
commit c5ff2c648c
13 changed files with 901 additions and 1436 deletions

View File

@@ -20,7 +20,9 @@
"svelte": "^3.55.0"
},
"dependencies": {
"@nostr-dev-kit/ndk": "^2.17.3",
"applesauce-core": "^4.1.0",
"applesauce-signers": "^4.1.0",
"nostr-tools": "^2.17.0",
"sirv-cli": "^2.0.0"
}
}