Skip to content

Commit a7687b9

Browse files
committed
fix: revert nostr-tools back to v1.7.1
1 parent b14d00d commit a7687b9

File tree

4 files changed

+15
-41
lines changed

4 files changed

+15
-41
lines changed

app/[eventid]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const BlogPage = () => {
3333
const filter = {
3434
kinds: [naddr.kind],
3535
authors: [naddr.pubkey],
36-
"#d": [naddr.identifier],
36+
"#d": naddr.identifier,
3737
};
3838

3939
let events: Event[] = [];

app/components/Article.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FC, useContext } from "react";
22
import { Event, nip19 } from "nostr-tools";
33
import { getTagValues } from "@/app/lib/utils";
44
import { CachedEventContext } from "@/app/context/cached-event-context";
5-
import { AddressPointer } from "nostr-tools/lib/nip19";
5+
import { AddressPointer } from "nostr-tools/nip19";
66
import { RelayContext } from "@/app/context/relay-context";
77
import { useRouter } from "next/navigation";
88

package.json

+1-1
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.8.4",
23+
"nostr-tools": "1.7.1",
2424
"react": "18.2.0",
2525
"react-dom": "18.2.0",
2626
"react-markdown-editor-lite": "^1.3.4",

yarn.lock

+12-38
Original file line numberDiff line numberDiff line change
@@ -458,22 +458,12 @@
458458
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae"
459459
integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==
460460

461-
"@noble/[email protected]", "@noble/hashes@~1.2.0":
462-
version "1.2.0"
463-
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12"
464-
integrity sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ==
465-
466461
"@noble/[email protected]", "@noble/hashes@~1.3.0":
467462
version "1.3.0"
468463
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1"
469464
integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==
470465

471-
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-
476-
"@noble/secp256k1@^1.7.1", "@noble/secp256k1@~1.7.0":
466+
"@noble/secp256k1@^1.7.1":
477467
version "1.7.1"
478468
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c"
479469
integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==
@@ -516,20 +506,11 @@
516506
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728"
517507
integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==
518508

519-
"@scure/base@1.1.1", "@scure/base@^1.1.1", "@scure/base@~1.1.0":
509+
"@scure/base@^1.1.1", "@scure/base@~1.1.0":
520510
version "1.1.1"
521511
resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938"
522512
integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==
523513

524-
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==
528-
dependencies:
529-
"@noble/hashes" "~1.2.0"
530-
"@noble/secp256k1" "~1.7.0"
531-
"@scure/base" "~1.1.0"
532-
533514
"@scure/bip32@^1.1.5":
534515
version "1.3.0"
535516
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87"
@@ -539,14 +520,6 @@
539520
"@noble/hashes" "~1.3.0"
540521
"@scure/base" "~1.1.0"
541522

542-
543-
version "1.1.1"
544-
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.1.tgz#b54557b2e86214319405db819c4b6a370cf340c5"
545-
integrity sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==
546-
dependencies:
547-
"@noble/hashes" "~1.2.0"
548-
"@scure/base" "~1.1.0"
549-
550523
"@scure/bip39@^1.1.1":
551524
version "1.2.0"
552525
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b"
@@ -2659,16 +2632,17 @@ normalize-range@^0.1.2:
26592632
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
26602633
integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==
26612634

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==
2635+
nostr-tools@1.7.1:
2636+
version "1.7.1"
2637+
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.7.1.tgz#e642f368c49b6e8a004af61e9a855e32f9653050"
2638+
integrity sha512-r72KpbLVz6Gaqei6LIj6m+cyp24eF3myiIMlmv93WCgDFCI5w72u+OrZzjSrJaeE94vYoEJfOF16/2Rl5o5z5w==
26662639
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"
2640+
"@noble/hashes" "1.0.0"
2641+
"@noble/secp256k1" "^1.7.1"
2642+
"@scure/base" "^1.1.1"
2643+
"@scure/bip32" "^1.1.5"
2644+
"@scure/bip39" "^1.1.1"
2645+
prettier "^2.8.4"
26722646

26732647
nostr-tools@^1.7.0:
26742648
version "1.7.4"

0 commit comments

Comments
 (0)