Commit Graph
8 Commits
Author SHA1 Message Date
Chad Curtis 90d02c42d6 Upgrade @nostrify/react to 0.6.6 to enforce the nostrconnect handshake secret
0.6.6 enforces the nostrconnect handshake secret. Previously a signer
could answer the connect request with result: "ack" and skip proving it
could decrypt the secret, so any relay-connected party who saw the
nostrconnect URI could claim the session and become the user's signer.

The 0.6.6 NostrLoginProvider now resolves stored logins on a microtask
(rendering a null fallback until storage resolves) rather than
synchronously. Component/hook tests render and query immediately, so
they observed an empty tree. Mock @nostrify/react/login in the test
setup with a synchronous provider and matching useNostrLogin hook,
passing every other export (NLogin, NUser, the connect helpers) through
from the real module untouched.
2026-08-19 12:34:08 -05:00
Alex Gleason 18815f0649 fix: resolve all npm audit security vulnerabilities
Ran npm audit fix to resolve 19 vulnerabilities and upgraded vitest from
v3 to v4.1.8 (breaking change) to fix the critical UI server advisory
(GHSA-5xrq-8626-4rwp).

Vitest v4 no longer allows vi.fn() mocks to be used as constructors, so
converted constructor mocks (IntersectionObserver, ResizeObserver,
AbortController, NPool/NRelay1) to real classes in the test setup and
affected test files.

npm audit now reports 0 vulnerabilities.
2026-06-05 09:23:29 -05:00
Alex Gleason f289735da9 Fix tests by mocking the localStorage API 2026-01-21 14:08:23 -06:00
Alex Gleason 60f70db7b4 Hide "Recently Used" section of model selector if there are less than 5 models 2025-09-20 12:56:29 -05:00
Alex Gleason 4555565753 Add padding around user messages, fix "Stop" button position 2025-08-24 22:06:17 -05:00
Alex Gleason 7ceb99ec79 Start implementing streaming API 2025-08-21 13:45:56 -05:00
Alex Gleason df45d927db Start making preview pane work 2025-07-18 15:59:20 -05:00
Alex Gleason ec5d8de6c2 Stack: nostr:naddr1qvzqqqrhl5pzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqrk66mnw3skx6c4g6ltw 2025-07-16 14:07:08 -05:00