SkateSpots/src
shakespeare.diy 144227b88b Fix zap request construction for newer nostr-tools types
The clean node_modules reinstall pulled newer @nostrify/* and nostr-tools
minors whose nip57.makeZapRequest signature changed (event param became a
required full NostrEvent), breaking tsc in useZaps and usePurchasePro.

Build the kind:9734 zap request events directly per NIP-57 instead of
relying on nip57.makeZapRequest, so we're decoupled from that helper's
changing type signature. Preserves correct target tagging:
- addressable events → 'a' tag (kind:pubkey:dTag)
- other events       → 'e' tag (event id)
- profile-only (pro purchase) → no event tag, keeps pro-tier/pro-expiry.

Pin @nostrify/nostrify, @nostrify/react and nostr-tools so the tree
stays reproducible.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-09-03 22:14:46 +07:00
..
components Harden all Amber signing paths against empty-id / bare-signature responses 2026-09-03 22:05:25 +07:00
contexts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00
hooks Fix zap request construction for newer nostr-tools types 2026-09-03 22:14:46 +07:00
i18n Remove non-functional NoGood Radio everywhere (unused hook, i18n keys, onboarding refs) 2026-08-27 10:04:50 +07:00
lib Harden all Amber signing paths against empty-id / bare-signature responses 2026-09-03 22:05:25 +07:00
pages Harden all Amber signing paths against empty-id / bare-signature responses 2026-09-03 22:05:25 +07:00
test Fix 78 pre-existing TypeScript errors surfaced by npm test 2026-09-03 21:18:02 +07:00
App.test.tsx New project created with Shakespeare 2026-06-15 19:49:07 +07:00
App.tsx Add first-launch beta disclaimer dialog + footer BETA badge 2026-08-01 12:14:42 +07:00
AppRouter.tsx Add Skater profiles (kind 35000) + /skaters directory 2026-09-02 20:58:51 +07:00
index.css Hide visible scrollbar on mobile for a clean, app-like feel 2026-09-03 14:49:43 +07:00
main.tsx Fix native white screen: relative asset base + boot crash guard 2026-07-24 18:21:57 +07:00
vite-env.d.ts fix: restore full skate-spots source tree from misplaced src/src/ copy 2026-06-15 22:18:28 +07:00