From 8e7034901b45d6426e2c65f37e6530d23277b490 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 23 Jun 2025 08:52:33 -0700 Subject: rm unused code --- bun.lockb | Bin 294162 -> 289631 bytes package.json | 1 - src/components/Nostr.svelte | 9 --------- 3 files changed, 10 deletions(-) diff --git a/bun.lockb b/bun.lockb index 9b8ffada..bcf4f106 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 449e03a2..6d0e2474 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "@sveltejs/vite-plugin-svelte": "^4.0.0", "@types/uuid": "^10.0.0", "@zerodevx/svelte-toast": "^0.9.5", - "applesauce-signer": "^0.10.0", "autoprefixer": "^10.4.13", "barcode-detector": "^3.0.1", "bech32": "^2.0.0", diff --git a/src/components/Nostr.svelte b/src/components/Nostr.svelte index ad70cd31..a616194b 100644 --- a/src/components/Nostr.svelte +++ b/src/components/Nostr.svelte @@ -13,7 +13,6 @@ getPublicKey, } from "nostr-tools"; import { getConversationKey, decrypt } from "nostr-tools/nip44"; - import { AmberClipboardSigner } from "applesauce-signer"; import { copy, focus, fail, post } from "$lib/utils"; import { eventToSign, signer } from "$lib/store"; @@ -105,14 +104,6 @@ $signer = { method: "extension", ready: true }; }; - let signerGetPubkey = async () => { - const pubkey = await new AmberClipboardSigner().getPublicKey(); - $signer = { - method: "signer", - params: { pubkey }, - }; - }; - let signerSign = async () => { document.addEventListener("focus", signerSigned, true); }; -- cgit v1.2.3