mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
- NostrConnectSignerService now bounds its request-id dedup set (LinkedHashSet with an evicting cap) so a long-lived bunker can't leak memory on the ids it has seen. - Add NIP-46 `logout`: the processor recognises the method, acks it, and calls a new Nip46RequestAuthorizer.onLogout hook (default no-op) so a host can revoke the app's grant when it disconnects. - New NostrConnectSignerServiceTest drives full request→reply round trips (connect/sign/logout + drop-if-not-addressed) through the service over a fake relay client with passthrough signers — headless proof of the subscribe → decrypt → dispatch → publish wiring. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015FHr2mu5SiHwYNR7evYUuF