feat: add client-initiated NIP-46 (nostrconnect://) login support

Upgrade to @nostrify/[email protected] and implement the nostrconnect:// login flow:
- QR code display on desktop, deep link on mobile
- Copy URI button, retry on timeout, abort on dialog close
- Bunker URI manual input as fallback under the Remote Signer tab
- Add QRCodeCanvas component using the existing qrcode dependency
This commit is contained in:
Alex Gleason committed 2026-03-24 16:21:15 -05:00
1 parent 9af2db39f2
commit 1caf9dabcb
5 files changed
+284 -63

No files matched your search

+8 -8
View File
@@ -12,7 +12,7 @@
"@getalby/sdk": "^5.1.1",
"@hookform/resolvers": "^5.2.2",
"@nostrify/nostrify": "^0.50.2",
"@nostrify/react": "^0.2.27",
"@nostrify/react": "^0.3.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
@@ -881,9 +881,9 @@
}
},
"node_modules/@nostrify/nostrify": {
"version": "0.50.2",
"resolved": "https://registry.npmjs.org/@nostrify/nostrify/-/nostrify-0.50.2.tgz",
"integrity": "sha512-7kw718SdtDM49PbD/U9KmvjSrPWAHS9mNzA4LnY5z/gEPPAy54aAAY/4sUnS9I0CJdUbYPFcf00muhtQgRp2ew==",
"version": "0.50.5",
"resolved": "https://registry.npmjs.org/@nostrify/nostrify/-/nostrify-0.50.5.tgz",
"integrity": "sha512-0XlNz/aVKl3ODxAZYRbNsa9IzwLsQd0ACxq4EvPBCGZLvpSr3GW14GK13lX0FLx1UAy94xuvsbYGqkiVigBYnQ==",
"dependencies": {
"@nostrify/types": "0.36.9",
"@scure/base": "^2.0.0",
@@ -922,11 +922,11 @@
"license": "MIT"
},
"node_modules/@nostrify/react": {
"version": "0.2.27",
"resolved": "https://registry.npmjs.org/@nostrify/react/-/react-0.2.27.tgz",
"integrity": "sha512-WZ7JniKDuRI3W6zFcjgHSoENw9prPZWWMDQX9XWji1TEHb8i9liGmXpdePkwWsBG6dnK4QUDtMub+i8SyIJwRg==",
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/@nostrify/react/-/react-0.3.0.tgz",
"integrity": "sha512-Omoxiz3/u0Ab7uLo1Icx9FL8XDx8wiBpaPgdfHarxndwVg7LuAvTNLBVfKUj5n6iFFCZx3yorgg1jSBwi3k3NA==",
"dependencies": {
"@nostrify/nostrify": "0.50.2",
"@nostrify/nostrify": "0.50.5",
"@nostrify/types": "0.36.9",
"@tanstack/react-query": "^5.69.0",
"nostr-tools": "^2.13.0",