diff options
| author | Adam Soltys <[email protected]> | 2026-08-02 22:41:39 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-02 22:41:39 -0700 |
| commit | 957f5788471744b1721f19df62580431f21db7b5 (patch) | |
| tree | 5c6dec33fb903515ec7cc06b283f236120f1a27f /bridge | |
| parent | 1f1440d706d44181945d779547fdcb7668bab6b1 (diff) | |
| download | coinosv3-server-957f5788471744b1721f19df62580431f21db7b5.tar.gz coinosv3-server-957f5788471744b1721f19df62580431f21db7b5.zip | |
Push notifications for payments and messages; offline Spending notice
The nwcpush notifier grows a second registration kind alongside NWC:
a notify watch of what it can see without keys — kind-1059 wraps
p-tagged at the user (DMs, direct invites), zap receipts (9735/9737),
and wraps authored by the user's community channel keys (chat). It
pushes a typed nudge, throttled per device (chat bursts collapse); the
service worker shows a generic notification unless a window is visible,
and tapping opens the app. The names registrar reports settled
lightning-address receives server-to-server (token-gated /notify), so
the common payment path notifies even with no nostr event in sight.
The app registers silently whenever permission is already granted and
keeps the watch current as communities change; a dismissible card on
the chat home offers to enable it otherwise. Ark zap receipts (9737)
join the relay whitelist so the payment watch can see them.
Also: the offline Spending receive pane now says you're offline and
offers a one-tap switch to Savings instead of spinning forever.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'bridge')
0 files changed, 0 insertions, 0 deletions
