diff --git a/package.json b/package.json index dd44cc7..f03a8fe 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "@sveltejs/adapter-static": "^3.0.4", "@tiptap/core": "^2.12.0", "@types/qrcode": "^1.5.5", + "@types/throttle-debounce": "^5.0.2", "@vite-pwa/assets-generator": "^0.2.6", "@vite-pwa/sveltekit": "^0.6.6", "@welshman/app": "^0.3.10", @@ -77,7 +78,9 @@ "nostr-signer-capacitor-plugin": "^0.0.4", "nostr-tools": "^2.14.2", "prettier-plugin-tailwindcss": "^0.6.5", + "qr-scanner": "^1.4.2", "qrcode": "^1.5.4", + "throttle-debounce": "^5.0.2", "tippy.js": "^6.3.7" }, "pnpm": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f42538f..0554ffe 100644 Binary files a/pnpm-lock.yaml and b/pnpm-lock.yaml differ diff --git a/src/app/components/WalletConnect.svelte b/src/app/components/WalletConnect.svelte index b52385e..e94e508 100644 --- a/src/app/components/WalletConnect.svelte +++ b/src/app/components/WalletConnect.svelte @@ -1,9 +1,11 @@ @@ -121,7 +134,9 @@ name="flotilla-nwc" class="grow" type="password" /> - + {/snippet} {#snippet info()} @@ -131,6 +146,9 @@ >. {/snippet} + {#if showScanner} + + {/if}