Integrate NDK for Nostr client functionality and update dependencies
This commit introduces the Nostr Development Kit (NDK) to enhance the Nostr client functionality. Key changes include: - Added `NDKPrivateKeySigner` for improved authentication methods in `LoginModal.svelte` and `App.svelte`. - Refactored the Nostr client to utilize NDK for connection and event fetching, streamlining the connection process and event handling. - Updated `go.mod` and `package.json` to include `@nostr-dev-kit/ndk` as a dependency. - Created a new `package-lock.json` to reflect the updated dependency tree. These changes improve the overall architecture and maintainability of the Nostr client.
This commit is contained in:
2
go.mod
2
go.mod
@@ -34,8 +34,8 @@ require (
|
||||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/google/flatbuffers v25.9.23+incompatible // indirect
|
||||
github.com/google/pprof v0.0.0-20251002213607-436353cc1ee6 // indirect
|
||||
github.com/gorilla/websocket v1.5.3 // indirect
|
||||
github.com/klauspost/compress v1.18.0 // indirect
|
||||
github.com/nostr-dev-kit/ndk v0.0.0-20251010140307-0653d6e69923 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/templexxx/cpu v0.1.1 // indirect
|
||||
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
||||
|
||||
Reference in New Issue
Block a user