Skip to content

Commit adadf6c

Browse files
committed
fix: update nostr-tools
1 parent 2da9a45 commit adadf6c

File tree

3 files changed

+59
-26
lines changed

3 files changed

+59
-26
lines changed

app/[eventid]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { usePathname } from "next/navigation";
33
import { useContext, useEffect, useState } from "react";
44
import { Event } from "nostr-tools";
55
import { nip19 } from "nostr-tools";
6-
import { RelayContext } from "../context/relay-context";
7-
import { CachedEventContext } from "../context/cached-event-context";
8-
import { ProfilesContext } from "../context/profiles-context";
6+
import { RelayContext } from "@/app/context/relay-context";
7+
import { CachedEventContext } from "@/app/context/cached-event-context";
8+
import { ProfilesContext } from "@/app/context/profiles-context";
99
import Blog from "./Blog";
1010

1111
const BlogPage = () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lnurl-pay": "^2.2.0",
2121
"markdown-it": "^13.0.1",
2222
"next": "13.2.1",
23-
"nostr-tools": "^1.7.1",
23+
"nostr-tools": "^1.8.4",
2424
"react": "18.2.0",
2525
"react-dom": "18.2.0",
2626
"react-markdown-editor-lite": "^1.3.4",

yarn.lock

Lines changed: 55 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -446,16 +446,33 @@
446446
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.2.1.tgz#09713c6a925461f414e89422851326d1625bd4d2"
447447
integrity sha512-r3+0fSaIZT6N237iMzwUhfNwjhAFvXjqB+4iuW+wcpxW+LHm1g/IoxN8eSRcb8jPItC86JxjAxpke0QL97qd6g==
448448

449+
"@noble/curves@~1.0.0":
450+
version "1.0.0"
451+
resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.0.0.tgz#e40be8c7daf088aaf291887cbc73f43464a92932"
452+
integrity sha512-2upgEu0iLiDVDZkNLeFV2+ht0BAVgQnEmCk6JsOch9Rp8xfkMCbvbAZlA2pBHQc73dbl+vFOXfqkf4uemdn0bw==
453+
dependencies:
454+
"@noble/hashes" "1.3.0"
455+
449456
"@noble/hashes@1.0.0":
450457
version "1.0.0"
451458
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae"
452459
integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==
453460

454-
"@noble/hashes@~1.2.0":
461+
"@noble/hashes@1.2.0", "@noble/hashes@~1.2.0":
455462
version "1.2.0"
456463
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12"
457464
integrity sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==
458465

466+
"@noble/hashes@1.3.0", "@noble/hashes@~1.3.0":
467+
version "1.3.0"
468+
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1"
469+
integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==
470+
471+
"@noble/secp256k1@1.7.0":
472+
version "1.7.0"
473+
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.0.tgz#d15357f7c227e751d90aa06b05a0e5cf993ba8c1"
474+
integrity sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==
475+
459476
"@noble/secp256k1@^1.7.1", "@noble/secp256k1@~1.7.0":
460477
version "1.7.1"
461478
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c"
@@ -499,28 +516,45 @@
499516
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728"
500517
integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==
501518

502-
"@scure/base@^1.1.1", "@scure/base@~1.1.0":
519+
"@scure/base@1.1.1", "@scure/base@^1.1.1", "@scure/base@~1.1.0":
503520
version "1.1.1"
504521
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938"
505522
integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==
506523

507-
"@scure/bip32@^1.1.5":
508-
version "1.1.5"
509-
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.1.5.tgz#d2ccae16dcc2e75bc1d75f5ef3c66a338d1ba300"
510-
integrity sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw==
524+
"@scure/bip32@1.1.4":
525+
version "1.1.4"
526+
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.1.4.tgz#2c91a7be0156b15f26dd0c843a06a1917f129efd"
527+
integrity sha512-m925ACYK0wPELsF7Z/VdLGmKj1StIeHraPMYB9xiAFiq/PnvqWd/99I0TQ2OZhjjlMDsDJeZlyXMWi0beaA7NA==
511528
dependencies:
512529
"@noble/hashes" "~1.2.0"
513530
"@noble/secp256k1" "~1.7.0"
514531
"@scure/base" "~1.1.0"
515532

516-
"@scure/bip39@^1.1.1":
533+
"@scure/bip32@^1.1.5":
534+
version "1.3.0"
535+
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87"
536+
integrity sha512-bcKpo1oj54hGholplGLpqPHRbIsnbixFtc06nwuNM5/dwSXOq/AAYoIBRsBmnZJSdfeNW5rnff7NTAz3ZCqR9Q==
537+
dependencies:
538+
"@noble/curves" "~1.0.0"
539+
"@noble/hashes" "~1.3.0"
540+
"@scure/base" "~1.1.0"
541+
542+
"@scure/bip39@1.1.1":
517543
version "1.1.1"
518544
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.1.tgz#b54557b2e86214319405db819c4b6a370cf340c5"
519545
integrity sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==
520546
dependencies:
521547
"@noble/hashes" "~1.2.0"
522548
"@scure/base" "~1.1.0"
523549

550+
"@scure/bip39@^1.1.1":
551+
version "1.2.0"
552+
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b"
553+
integrity sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==
554+
dependencies:
555+
"@noble/hashes" "~1.3.0"
556+
"@scure/base" "~1.1.0"
557+
524558
"@swc/helpers@0.4.14":
525559
version "0.4.14"
526560
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.14.tgz#1352ac6d95e3617ccb7c1498ff019654f1e12a74"
@@ -2625,6 +2659,17 @@ normalize-range@^0.1.2:
26252659
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
26262660
integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==
26272661

2662+
nostr-tools@1.8.4:
2663+
version "1.8.4"
2664+
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.8.4.tgz#197e4a56e71dee1fc050bb92676a8fd3c9a9227f"
2665+
integrity sha512-oaRgZ8jpLmkMgtvhH9jbUI0k6XeXAUXSDv7qYBNwnIonfWYYZ0C19snJv1YRS+GWGf2gJ8ePJkXMJWlcsNR2yA==
2666+
dependencies:
2667+
"@noble/hashes" "1.2.0"
2668+
"@noble/secp256k1" "1.7.0"
2669+
"@scure/base" "1.1.1"
2670+
"@scure/bip32" "1.1.4"
2671+
"@scure/bip39" "1.1.1"
2672+
26282673
nostr-tools@^1.7.0:
26292674
version "1.7.4"
26302675
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.7.4.tgz#8f14ffde8f6674c3758bb49207a1ee4227a4b9fe"
@@ -2637,18 +2682,6 @@ nostr-tools@^1.7.0:
26372682
"@scure/bip39" "^1.1.1"
26382683
prettier "^2.8.4"
26392684

2640-
nostr-tools@^1.7.1:
2641-
version "1.7.1"
2642-
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.7.1.tgz#e642f368c49b6e8a004af61e9a855e32f9653050"
2643-
integrity sha512-r72KpbLVz6Gaqei6LIj6m+cyp24eF3myiIMlmv93WCgDFCI5w72u+OrZzjSrJaeE94vYoEJfOF16/2Rl5o5z5w==
2644-
dependencies:
2645-
"@noble/hashes" "1.0.0"
2646-
"@noble/secp256k1" "^1.7.1"
2647-
"@scure/base" "^1.1.1"
2648-
"@scure/bip32" "^1.1.5"
2649-
"@scure/bip39" "^1.1.1"
2650-
prettier "^2.8.4"
2651-
26522685
object-assign@^4.1.1:
26532686
version "4.1.1"
26542687
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
@@ -2892,9 +2925,9 @@ prelude-ls@^1.2.1:
28922925
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
28932926

28942927
prettier@^2.8.4:
2895-
version "2.8.4"
2896-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"
2897-
integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==
2928+
version "2.8.7"
2929+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450"
2930+
integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==
28982931

28992932
prop-types@^15.8.1:
29002933
version "15.8.1"

0 commit comments

Comments
 (0)