Files
podsteadr-player/package.json
T
ssmithxandClaude Sonnet 5 ead3a9ae44 feat: NIP-46 remote signer via QR (Primal, or any nostrconnect-compatible app)
Adds a second way to sign in besides a NIP-07 browser extension: generate
a nostrconnect:// URI, show it as a QR code, and resolve once a remote
signer app (Primal mobile, etc.) scans and approves it. Session persists
in localStorage so a page reload doesn't require re-scanning.

lib/nip07.ts renamed to lib/signer.ts and generalized — it now abstracts
over both signer kinds behind the same {getPublicKey, signEvent} shape,
so buildNip98Header and the rest of the app don't care which is active.

On a branch (feature/nip46-qr-signer) rather than main, since this is
explicitly experimental and easy rollback matters here.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-31 00:51:34 +00:00

27 lines
572 B
JSON

{
"name": "podsteadr-player",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc -p tsconfig.json && vite build",
"preview": "vite preview"
},
"dependencies": {
"nostr-tools": "^2.15.0",
"qrcode": "^1.5.4",
"vue": "^3.5.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.0",
"@types/qrcode": "^1.5.5",
"autoprefixer": "^10.4.20",
"postcss": "^8.5.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.9.0",
"vite": "^7.2.0",
"vue-tsc": "^3.1.0"
}
}