From 833ffecd32551446c23f323fc694606a3f99f72d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 4 May 2024 23:29:33 -0300 Subject: [PATCH] update to the latest nostr-tools. --- package.json | 2 +- src/app.html | 2 + src/cards/Welcome.svelte | 5 +- src/components/UserLabel.svelte | 2 +- src/lib/nostr.ts | 117 ++++++++++++-------------------- tsconfig.json | 4 +- 6 files changed, 52 insertions(+), 80 deletions(-) diff --git a/package.json b/package.json index eb8d645..49e8c04 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "markdown-it": "^13.0.1", "markdown-it-plain-text": "^0.3.0", "marked": "^7.0.5", - "nostr-tools": "^1.15.0" + "nostr-tools": "^2.5.2" } } diff --git a/src/app.html b/src/app.html index da5c914..43c2e7c 100644 --- a/src/app.html +++ b/src/app.html @@ -10,4 +10,6 @@
%sveltekit.body%
+ + diff --git a/src/cards/Welcome.svelte b/src/cards/Welcome.svelte index 4239855..238e23d 100644 --- a/src/cards/Welcome.svelte +++ b/src/cards/Welcome.svelte @@ -1,7 +1,8 @@