Commit graph

3 commits

Author SHA1 Message Date
Roland
5b3f1bef9d
fix: update to alby go-nostr fork which reconnects after receiving CLOSED message (#2331) 2026-05-11 12:34:56 +07:00
Adithya Vardhan
ab07ce4538
chore: switch to encryption tag from versioning (#1093)
* chore: switch to encryption tag from versioning

* chore: also support versioning

* chore: check version tag first

* Chore: nwc encryption feedback (#1137)

* chore: code cleanup, and responses for invalid encryption tag / unable to decrypt

* chore: add constants for encryption types

* chore: update test to cover when encryption tag is passed with no version

* chore: explain why we respond using nip-44 encryption if decryption fails

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
2025-03-03 12:50:17 +07:00
Adithya Vardhan
94c209a4f0
feat: use nip44 and versioning (#834)
* feat: use nip44 and versioning

* fix: panic: runtime error: invalid memory address or nil pointer dereference

* chore: check for version before notifying

* chore: add nip47 cipher

* chore: remove version check in event handler

* chore: address feedback

* chore: modify tests to use versioning and nip47 cipher

* chore: add more tests

* chore: add version param and change naming of test app functions

* chore: cleanup event handler tests

* chore: cleanup nip47 notifier tests

* chore: dry up cipher test

* chore: remove version param from create app

* chore: republish info event for existing apps

* chore: simplify isVersionSupported function

* chore: rename event handler legacy test

* chore: add nip04 test for create response

* chore: add comment and allow empty request version

---------

Co-authored-by: Fmar <frnandu@gmail.com>
2025-01-09 18:45:04 +07:00