Skip to content

Commit

Permalink
fix: revert nostr-tools back to v1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHcodes committed Apr 12, 2023
1 parent b14d00d commit a7687b9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 41 deletions.
2 changes: 1 addition & 1 deletion app/[eventid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const BlogPage = () => {
const filter = {
kinds: [naddr.kind],
authors: [naddr.pubkey],
"#d": [naddr.identifier],
"#d": naddr.identifier,
};

let events: Event[] = [];
Expand Down
2 changes: 1 addition & 1 deletion app/components/Article.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FC, useContext } from "react";
import { Event, nip19 } from "nostr-tools";
import { getTagValues } from "@/app/lib/utils";
import { CachedEventContext } from "@/app/context/cached-event-context";
import { AddressPointer } from "nostr-tools/lib/nip19";
import { AddressPointer } from "nostr-tools/nip19";
import { RelayContext } from "@/app/context/relay-context";
import { useRouter } from "next/navigation";

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lnurl-pay": "^2.2.0",
"markdown-it": "^13.0.1",
"next": "13.2.1",
"nostr-tools": "^1.8.4",
"nostr-tools": "1.7.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown-editor-lite": "^1.3.4",
Expand Down
50 changes: 12 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -458,22 +458,12 @@
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae"
integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==

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

"@noble/hashes@1.3.0", "@noble/hashes@~1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1"
integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==

"@noble/secp256k1@1.7.0":
version "1.7.0"
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.0.tgz#d15357f7c227e751d90aa06b05a0e5cf993ba8c1"
integrity sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==

"@noble/secp256k1@^1.7.1", "@noble/secp256k1@~1.7.0":
"@noble/secp256k1@^1.7.1":
version "1.7.1"
resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c"
integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==
Expand Down Expand Up @@ -516,20 +506,11 @@
resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728"
integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==

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

"@scure/bip32@1.1.4":
version "1.1.4"
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.1.4.tgz#2c91a7be0156b15f26dd0c843a06a1917f129efd"
integrity sha512-m925ACYK0wPELsF7Z/VdLGmKj1StIeHraPMYB9xiAFiq/PnvqWd/99I0TQ2OZhjjlMDsDJeZlyXMWi0beaA7NA==
dependencies:
"@noble/hashes" "~1.2.0"
"@noble/secp256k1" "~1.7.0"
"@scure/base" "~1.1.0"

"@scure/bip32@^1.1.5":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.0.tgz#6c8d980ef3f290987736acd0ee2e0f0d50068d87"
Expand All @@ -539,14 +520,6 @@
"@noble/hashes" "~1.3.0"
"@scure/base" "~1.1.0"

"@scure/bip39@1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.1.tgz#b54557b2e86214319405db819c4b6a370cf340c5"
integrity sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg==
dependencies:
"@noble/hashes" "~1.2.0"
"@scure/base" "~1.1.0"

"@scure/bip39@^1.1.1":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.0.tgz#a207e2ef96de354de7d0002292ba1503538fc77b"
Expand Down Expand Up @@ -2659,16 +2632,17 @@ normalize-range@^0.1.2:
resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==

nostr-tools@1.8.4:
version "1.8.4"
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.8.4.tgz#197e4a56e71dee1fc050bb92676a8fd3c9a9227f"
integrity sha512-oaRgZ8jpLmkMgtvhH9jbUI0k6XeXAUXSDv7qYBNwnIonfWYYZ0C19snJv1YRS+GWGf2gJ8ePJkXMJWlcsNR2yA==
nostr-tools@1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-1.7.1.tgz#e642f368c49b6e8a004af61e9a855e32f9653050"
integrity sha512-r72KpbLVz6Gaqei6LIj6m+cyp24eF3myiIMlmv93WCgDFCI5w72u+OrZzjSrJaeE94vYoEJfOF16/2Rl5o5z5w==
dependencies:
"@noble/hashes" "1.2.0"
"@noble/secp256k1" "1.7.0"
"@scure/base" "1.1.1"
"@scure/bip32" "1.1.4"
"@scure/bip39" "1.1.1"
"@noble/hashes" "1.0.0"
"@noble/secp256k1" "^1.7.1"
"@scure/base" "^1.1.1"
"@scure/bip32" "^1.1.5"
"@scure/bip39" "^1.1.1"
prettier "^2.8.4"

nostr-tools@^1.7.0:
version "1.7.4"
Expand Down

0 comments on commit a7687b9

Please sign in to comment.