diff --git a/package.json b/package.json index 872239c..2dcf34c 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "@noble/curves": "^1.4.0", "@noble/hashes": "^1.4.0", "@scure/base": "^1.1.6", - "@snort/shared": "^1.0.16", - "@snort/system": "^1.4.2", - "@snort/system-react": "^1.4.2", - "@snort/system-wasm": "^1.0.4", - "@snort/wallet": "^0.1.7", - "@snort/worker-relay": "^1.1.0", + "@snort/shared": "^1.0.17", + "@snort/system": "^1.5.0", + "@snort/system-react": "^1.5.0", + "@snort/system-wasm": "^1.0.5", + "@snort/wallet": "^0.1.8", + "@snort/worker-relay": "^1.3.0", "@szhsin/react-menu": "^4.1.0", "@types/webscopeio__react-textarea-autocomplete": "^4.7.5", "@webscopeio/react-textarea-autocomplete": "^4.9.2", diff --git a/src/element/stream-editor/index.tsx b/src/element/stream-editor/index.tsx index 733c6ea..f758d4a 100644 --- a/src/element/stream-editor/index.tsx +++ b/src/element/stream-editor/index.tsx @@ -172,7 +172,8 @@ export function StreamEditor({ ev, onFinish, options }: StreamEditorProps) { rows={5} placeholder={formatMessage({ defaultMessage: "A description of the stream" })} value={summary} - onChange={e => setSummary(e.target.value)} /> + onChange={e => setSummary(e.target.value)} + /> )} {(options?.canSetImage ?? true) && ( diff --git a/src/element/stream/stream-info.tsx b/src/element/stream/stream-info.tsx index cae5c9d..9d93792 100644 --- a/src/element/stream/stream-info.tsx +++ b/src/element/stream/stream-info.tsx @@ -1,14 +1,13 @@ import { StreamState } from "@/const"; import { useLogin } from "@/hooks/login"; import { formatSats } from "@/number"; -import { getHost, extractStreamInfo, findTag, eventLink } from "@/utils"; +import { getHost, extractStreamInfo, findTag } from "@/utils"; import { NostrLink, TaggedNostrEvent } from "@snort/system"; import { SnortContext, useUserProfile } from "@snort/system-react"; import { useContext } from "react"; import { FormattedMessage } from "react-intl"; import { Link, useNavigate } from "react-router-dom"; import { Layer2Button, WarningButton } from "../buttons"; -import { ClipButton } from "./clip-button"; import { FollowButton } from "../follow-button"; import GameInfoCard from "../game-info"; import { NewStreamDialog } from "../new-stream"; @@ -65,7 +64,6 @@ export function StreamInfo({ ev, goal }: { ev?: TaggedNostrEvent; goal?: TaggedN
{ev && ( <> - {service && } {zapTarget && ( diff --git a/src/element/stream/summary.tsx b/src/element/stream/summary.tsx index b5e39f9..b9b1664 100644 --- a/src/element/stream/summary.tsx +++ b/src/element/stream/summary.tsx @@ -5,34 +5,44 @@ import { Text } from "../text"; export function StreamSummary({ text }: { text: string }) { const [expand, setExpand] = useState(false); - const cutOff = Math.min(100, [...text].reduce((acc, v, i) => { - if (v === '\n' && acc[0] < 3) { - acc[0] += 1; - acc[1] = i; - } - return acc; - }, [0, 0])[1]); + const cutOff = Math.min( + 100, + [...text].reduce( + (acc, v, i) => { + if (v === "\n" && acc[0] < 3) { + acc[0] += 1; + acc[1] = i; + } + return acc; + }, + [0, 0], + )[1], + ); const shouldExpand = text.length > cutOff; return (
{shouldExpand && !expand ? text.slice(0, cutOff) : } - {shouldExpand && <> - { - setExpand(x => !x); - }}> -   - {!expand && } - - {expand &&
{ - setExpand(x => !x); - }}> - -
} - - } + {shouldExpand && ( + <> + { + setExpand(x => !x); + }}> +   + {!expand && } + + {expand && ( +
{ + setExpand(x => !x); + }}> + +
+ )} + + )}
); } diff --git a/src/hooks/badges.ts b/src/hooks/badges.ts index 3ee989b..7aa833c 100644 --- a/src/hooks/badges.ts +++ b/src/hooks/badges.ts @@ -12,10 +12,11 @@ export function useBadges( leaveOpen = true, ): { badges: Badge[]; awards: TaggedNostrEvent[] } { const rb = useMemo(() => { - if (!pubkey) return null; - const rb = new RequestBuilder(`badges:${pubkey.slice(0, 12)}`); + const rb = new RequestBuilder(`badges:${pubkey}`); rb.withOptions({ leaveOpen }); - rb.withFilter().authors([pubkey]).kinds([EventKind.Badge, EventKind.BadgeAward]); + if (pubkey) { + rb.withFilter().authors([pubkey]).kinds([EventKind.Badge, EventKind.BadgeAward]); + } return rb; }, [pubkey, since]); @@ -35,9 +36,10 @@ export function useBadges( }, [badgeEvents]); const acceptedSub = useMemo(() => { - if (rawBadges.length === 0) return null; - const rb = new RequestBuilder(`accepted-badges:${pubkey.slice(0, 12)}`); - rb.withFilter().kinds([EventKind.ProfileBadges]).tag("d", ["profile_badges"]).tag("a", rawBadges.map(toAddress)); + const rb = new RequestBuilder(`accepted-badges:${pubkey}`); + if (rawBadges.length > 0) { + rb.withFilter().kinds([EventKind.ProfileBadges]).tag("d", ["profile_badges"]).tag("a", rawBadges.map(toAddress)); + } return rb; }, [rawBadges]); diff --git a/src/hooks/cards.ts b/src/hooks/cards.ts index fc612f4..124d818 100644 --- a/src/hooks/cards.ts +++ b/src/hooks/cards.ts @@ -16,7 +16,6 @@ export function useUserCards(pubkey: string, userCards: Array, leaveOp }, [userCards]); const subRelated = useMemo(() => { - if (!pubkey) return null; const splitted = related.map(t => t[1].split(":")); const authors = splitted .map(s => s.at(1)) @@ -28,7 +27,10 @@ export function useUserCards(pubkey: string, userCards: Array, leaveOp .map(s => s as string); const rb = new RequestBuilder(`cards:${pubkey}`); - rb.withOptions({ leaveOpen }).withFilter().kinds([CARD]).authors(authors).tag("d", identifiers); + + if (pubkey) { + rb.withOptions({ leaveOpen }).withFilter().kinds([CARD]).authors(authors).tag("d", identifiers); + } return rb; }, [pubkey, related]); @@ -51,14 +53,16 @@ export function useUserCards(pubkey: string, userCards: Array, leaveOp export function useCards(pubkey?: string, leaveOpen = false): TaggedNostrEvent[] { const sub = useMemo(() => { - if (!pubkey) return null; - const b = new RequestBuilder(`user-cards:${pubkey?.slice(0, 12)}`); - b.withOptions({ - leaveOpen, - }) - .withFilter() - .authors([pubkey]) - .kinds([USER_CARDS]); + const b = new RequestBuilder(`user-cards:${pubkey}`); + + if (pubkey) { + b.withOptions({ + leaveOpen, + }) + .withFilter() + .authors([pubkey]) + .kinds([USER_CARDS]); + } return b; }, [pubkey, leaveOpen]); @@ -73,7 +77,6 @@ export function useCards(pubkey?: string, leaveOpen = false): TaggedNostrEvent[] }, [userCards]); const subRelated = useMemo(() => { - if (!pubkey) return null; const splitted = related.map(t => t[1].split(":")); const authors = splitted .map(s => s.at(1)) @@ -85,7 +88,10 @@ export function useCards(pubkey?: string, leaveOpen = false): TaggedNostrEvent[] .map(s => s as string); const rb = new RequestBuilder(`cards:${pubkey}`); - rb.withOptions({ leaveOpen }).withFilter().kinds([CARD]).authors(authors).tag("d", identifiers); + + if (pubkey) { + rb.withOptions({ leaveOpen }).withFilter().kinds([CARD]).authors(authors).tag("d", identifiers); + } return rb; }, [pubkey, related]); diff --git a/src/hooks/category-zaps.ts b/src/hooks/category-zaps.ts index 2723b87..ef10cc4 100644 --- a/src/hooks/category-zaps.ts +++ b/src/hooks/category-zaps.ts @@ -12,8 +12,8 @@ export function useCategoryZaps(gameId: string) { const rb = new RequestBuilder(`cat-zaps:zaps:${gameId}`); if (links.length > 0) { rb.withFilter().kinds([EventKind.ZapReceipt]).replyToLink(links); - return rb; } + return rb; }, [links]); const zapEvents = useRequestBuilder(rbZaps); diff --git a/src/hooks/clips.ts b/src/hooks/clips.ts index 9c7f9f8..0f0f056 100644 --- a/src/hooks/clips.ts +++ b/src/hooks/clips.ts @@ -5,9 +5,11 @@ import { useMemo } from "react"; export function useProfileClips(link?: NostrLink, limit?: number) { const sub = useMemo(() => { - if (!link) return; - const rb = new RequestBuilder(`clips:${link.id.slice(0, 12)}`); - rb.withFilter().kinds([LIVE_STREAM_CLIP]).tag("p", [link.id]).limit(limit); + const rb = new RequestBuilder(`clips:${link?.id}`); + + if (link) { + rb.withFilter().kinds([LIVE_STREAM_CLIP]).tag("p", [link.id]).limit(limit); + } return rb; }, [link]); diff --git a/src/hooks/emoji.tsx b/src/hooks/emoji.tsx index ffdf636..c5b5351 100644 --- a/src/hooks/emoji.tsx +++ b/src/hooks/emoji.tsx @@ -34,7 +34,6 @@ export function useUserEmojiPacks(pubkey?: string, userEmoji?: Tags) { }, [userEmoji]); const subRelated = useMemo(() => { - if (!pubkey) return null; const splitted = related.map(t => t[1].split(":")); const authors = splitted .map(s => s.at(1)) @@ -47,9 +46,10 @@ export function useUserEmojiPacks(pubkey?: string, userEmoji?: Tags) { const rb = new RequestBuilder(`emoji-related:${pubkey}`); - rb.withFilter().kinds([EventKind.EmojiSet]).authors(authors).tag("d", identifiers); - - rb.withFilter().kinds([EventKind.EmojiSet]).authors([pubkey]); + if (pubkey) { + rb.withFilter().kinds([EventKind.EmojiSet]).authors(authors).tag("d", identifiers); + rb.withFilter().kinds([EventKind.EmojiSet]).authors([pubkey]); + } return rb; }, [pubkey, related]); @@ -70,10 +70,11 @@ export function useUserEmojiPacks(pubkey?: string, userEmoji?: Tags) { export default function useEmoji(pubkey?: string) { const sub = useMemo(() => { - if (!pubkey) return null; const rb = new RequestBuilder(`emoji:${pubkey}`); - rb.withFilter().authors([pubkey]).kinds([EventKind.EmojisList]); + if (pubkey) { + rb.withFilter().authors([pubkey]).kinds([EventKind.EmojisList]); + } return rb; }, [pubkey]); diff --git a/src/hooks/goals.ts b/src/hooks/goals.ts index 0404f85..908c27d 100644 --- a/src/hooks/goals.ts +++ b/src/hooks/goals.ts @@ -5,9 +5,10 @@ import { GOAL } from "@/const"; export function useZapGoal(id?: string) { const sub = useMemo(() => { - if (!id) return null; - const b = new RequestBuilder(`goal:${id.slice(0, 12)}`); - b.withFilter().kinds([GOAL]).ids([id]); + const b = new RequestBuilder(`goal:${id}`); + if (id) { + b.withFilter().kinds([GOAL]).ids([id]); + } return b; }, [id]); @@ -17,10 +18,12 @@ export function useZapGoal(id?: string) { export function useGoals(pubkey?: string, leaveOpen?: boolean, limit?: number) { const sub = useMemo(() => { - if (!pubkey) return null; - const b = new RequestBuilder(`goals:${pubkey.slice(0, 12)}`); + const b = new RequestBuilder(`goals:${pubkey}`); b.withOptions({ leaveOpen }); - b.withFilter().kinds([GOAL]).authors([pubkey]).limit(limit); + + if (pubkey) { + b.withFilter().kinds([GOAL]).authors([pubkey]).limit(limit); + } return b; }, [pubkey, leaveOpen, limit]); diff --git a/src/hooks/lists.ts b/src/hooks/lists.ts index 153e58b..4dd3029 100644 --- a/src/hooks/lists.ts +++ b/src/hooks/lists.ts @@ -5,10 +5,12 @@ import { useRequestBuilder } from "@snort/system-react"; export function useMutedPubkeys(host?: string, leaveOpen = false) { const mutedSub = useMemo(() => { - if (!host) return null; const rb = new RequestBuilder(`muted:${host}`); rb.withOptions({ leaveOpen }); - rb.withFilter().kinds([EventKind.MuteList]).authors([host]); + + if (host) { + rb.withFilter().kinds([EventKind.MuteList]).authors([host]); + } return rb; }, [host]); diff --git a/src/hooks/profile.ts b/src/hooks/profile.ts index 17475a2..6113f94 100644 --- a/src/hooks/profile.ts +++ b/src/hooks/profile.ts @@ -6,17 +6,18 @@ import { useZaps } from "./zaps"; export function useProfile(link?: NostrLink, leaveOpen = false) { const sub = useMemo(() => { - if (!link) return; - const b = new RequestBuilder(`profile:${link.id.slice(0, 12)}`); - b.withOptions({ - leaveOpen, - }) - .withFilter() - .kinds([LIVE_STREAM]) - .authors([link.id]); + const b = new RequestBuilder(`profile:${link?.id}`); - b.withFilter().kinds([LIVE_STREAM]).tag("p", [link.id]); + if (link) { + b.withOptions({ + leaveOpen, + }) + .withFilter() + .kinds([LIVE_STREAM]) + .authors([link.id]); + b.withFilter().kinds([LIVE_STREAM]).tag("p", [link.id]); + } return b; }, [link, leaveOpen]); diff --git a/src/hooks/status.ts b/src/hooks/status.ts index 04a6b30..5954757 100644 --- a/src/hooks/status.ts +++ b/src/hooks/status.ts @@ -7,13 +7,15 @@ type StatusTag = "general" | "music"; export function useStatus(tag: StatusTag, author?: string, leaveOpen = true) { const sub = useMemo(() => { - if (!author) return null; - const b = new RequestBuilder(`status:${tag}:${author.slice(0, 8)}`); + const b = new RequestBuilder(`status:${tag}:${author}`); b.withOptions({ leaveOpen }); - b.withFilter() - .kinds([30315 as EventKind]) - .tag("d", [tag]) - .authors([author]); + + if (author) { + b.withFilter() + .kinds([30315 as EventKind]) + .tag("d", [tag]) + .authors([author]); + } return b; }, [author]); diff --git a/src/hooks/zaps.ts b/src/hooks/zaps.ts index 3f91d1d..0ed83f1 100644 --- a/src/hooks/zaps.ts +++ b/src/hooks/zaps.ts @@ -4,13 +4,12 @@ import { useRequestBuilder } from "@snort/system-react"; export function useZaps(link?: NostrLink, leaveOpen = false) { const sub = useMemo(() => { + const b = new RequestBuilder(`zaps:${link?.id}`); if (link) { - const b = new RequestBuilder(`zaps:${link.id}`); b.withOptions({ leaveOpen }); b.withFilter().kinds([EventKind.ZapReceipt]).replyToLink([link]); - return b; } - return null; + return b; }, [link, leaveOpen]); const zaps = useRequestBuilder(sub); diff --git a/src/index.tsx b/src/index.tsx index 7bfa044..c985fa3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -25,7 +25,6 @@ const DashboardPage = lazy(() => import("./pages/dashboard")); import { syncClock } from "./time-sync"; import SettingsPage from "./pages/settings"; import AccountSettingsTab from "./pages/settings/account"; -import { StreamSettingsTab } from "./pages/settings/stream"; import SearchPage from "./pages/search"; import ProfileSettings from "./pages/settings/profile"; import CategoryPage from "./pages/category"; @@ -50,7 +49,6 @@ const workerRelay = new WorkerRelayInterface( ); const System = new NostrSystem({ optimizer: hasWasm ? WasmOptimizer : undefined, - automaticOutboxModel: false, cachingRelay: workerRelay, }); System.on("event", (_, ev) => { @@ -74,7 +72,6 @@ async function doInit() { databasePath: "relay.db", insertBatchSize: 100, }); - await workerRelay.debug("*"); } catch (e) { console.error(e); } diff --git a/src/lang.json b/src/lang.json index 72175b9..9daa961 100644 --- a/src/lang.json +++ b/src/lang.json @@ -200,6 +200,9 @@ "ALdW69": { "defaultMessage": "Note by {name}" }, + "ASKb16": { + "defaultMessage": "A description of the stream" + }, "AYIR/J": { "defaultMessage": "Remove Image" }, @@ -823,9 +826,6 @@ "msjwph": { "defaultMessage": "Keyframe Interval" }, - "mtNGwh": { - "defaultMessage": "A short description of the content" - }, "n19IQE": { "defaultMessage": "Recommended size: 1920x1080 (16:9)" }, diff --git a/src/pages/dashboard/dashboard.tsx b/src/pages/dashboard/dashboard.tsx index d697f70..c7a7631 100644 --- a/src/pages/dashboard/dashboard.tsx +++ b/src/pages/dashboard/dashboard.tsx @@ -148,6 +148,7 @@ export function DashboardForLink({ link }: { link: NostrLink }) { } /> +
)} diff --git a/src/pages/search.tsx b/src/pages/search.tsx index 17b2295..ced0118 100644 --- a/src/pages/search.tsx +++ b/src/pages/search.tsx @@ -16,12 +16,10 @@ export default function SearchPage() { const [search, setSearch] = useState(term ?? ""); const sub = useMemo(() => { - if (!term) return; const rb = new RequestBuilder(`search:${term}`); - rb.withOptions({ - skipDiff: true, - }); - rb.withFilter().relay(SearchRelays).kinds([EventKind.LiveEvent, VIDEO_KIND]).search(term).limit(50); + if (term) { + rb.withFilter().relay(SearchRelays).kinds([EventKind.LiveEvent, VIDEO_KIND]).search(term).limit(50); + } return rb; }, [term]); diff --git a/src/translations/en.json b/src/translations/en.json index 609b441..ffc48d1 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -66,6 +66,7 @@ "A1zT+z": "Search results: {term}", "A7K3S+": "Account Setup", "ALdW69": "Note by {name}", + "ASKb16": "A description of the stream", "AYIR/J": "Remove Image", "Atr2p4": "NSFW Content", "AukrPM": "No viewer data available", @@ -271,7 +272,6 @@ "mnJYBQ": "Voice", "mrwfXX": "Shares", "msjwph": "Keyframe Interval", - "mtNGwh": "A short description of the content", "n19IQE": "Recommended size: 1920x1080 (16:9)", "n8k1SG": "{n}MiB", "nBCvvJ": "Topup", diff --git a/yarn.lock b/yarn.lock index 6a0ebd2..1b96133 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2232,6 +2232,13 @@ __metadata: languageName: node linkType: hard +"@noble/ciphers@npm:^0.6.0": + version: 0.6.0 + resolution: "@noble/ciphers@npm:0.6.0" + checksum: 10c0/840900243306dbf4caad942d518dc215bbe83e4daf6385d9294e76ea39b0834ba21591271cf2dd5cc5e64f96f98cdb967065b75e804b0b338b10ed50415ea64e + languageName: node + linkType: hard + "@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0": version: 1.1.0 resolution: "@noble/curves@npm:1.1.0" @@ -2630,9 +2637,9 @@ __metadata: languageName: node linkType: hard -"@snort/shared@npm:^1.0.16": - version: 1.0.16 - resolution: "@snort/shared@npm:1.0.16" +"@snort/shared@npm:^1.0.17": + version: 1.0.17 + resolution: "@snort/shared@npm:1.0.17" dependencies: "@noble/curves": "npm:^1.4.0" "@noble/hashes": "npm:^1.4.0" @@ -2640,37 +2647,38 @@ __metadata: debug: "npm:^4.3.4" eventemitter3: "npm:^5.0.1" light-bolt11-decoder: "npm:^3.0.0" - checksum: 10c0/024d890ffce73095f886baef40e160657bc12062c20b21a73421b776655c4f46eb241b606b5ea2813b1083001f87e4d01d641af7423050b770443011be9e6611 + checksum: 10c0/446fc9e2e599898377d8811f544d5343210a44fdf9a4bfd5d9c280218781ac256278238a7ae9b0ac23739a2c1461be362996ecc429aa59ff0fcc72e00d11131d languageName: node linkType: hard -"@snort/system-react@npm:^1.4.2": - version: 1.4.2 - resolution: "@snort/system-react@npm:1.4.2" +"@snort/system-react@npm:^1.5.0": + version: 1.5.0 + resolution: "@snort/system-react@npm:1.5.0" dependencies: - "@snort/shared": "npm:^1.0.16" - "@snort/system": "npm:^1.4.2" + "@snort/shared": "npm:^1.0.17" + "@snort/system": "npm:^1.5.0" react: "npm:^18.2.0" - checksum: 10c0/e39e88cae30ec1d2ced09da8e3434269ea990e4de74a70d5f8c468a8cd4ed73462f38d702f61c148a2ca44420f05d66368e2a5b9dc5f7f88abaf309cb2da0c71 + checksum: 10c0/3846058d9186531b13e803c34b3716221cf3c7af4c1efc9f3d82ce869ae26639a85361d024496987c3a1d4d1f32dfd38549a257c7076ea308a2f3b8b37d48da2 languageName: node linkType: hard -"@snort/system-wasm@npm:^1.0.4": - version: 1.0.4 - resolution: "@snort/system-wasm@npm:1.0.4" - checksum: 10c0/d6721c68f8c4123c1ad7a7ea4a842010388a388ec48db39cb6583c2e869e0596db8f022680066875c89daa57f297e801731a4bc262434407e93e14bb73e378bf +"@snort/system-wasm@npm:^1.0.5": + version: 1.0.5 + resolution: "@snort/system-wasm@npm:1.0.5" + checksum: 10c0/c043264ed4d198a77cb01a6036b73e949b092be536f028071cda5f08fca0eb6cb511148c864f436c4953ee15609f71e544c9b97cd1e7da63cbec1e9c4550cd29 languageName: node linkType: hard -"@snort/system@npm:^1.4.1": - version: 1.4.1 - resolution: "@snort/system@npm:1.4.1" +"@snort/system@npm:^1.5.0": + version: 1.5.0 + resolution: "@snort/system@npm:1.5.0" dependencies: + "@noble/ciphers": "npm:^0.6.0" "@noble/curves": "npm:^1.4.0" "@noble/hashes": "npm:^1.4.0" "@nostr-dev-kit/ndk": "npm:^2.8.2" "@scure/base": "npm:^1.1.6" - "@snort/shared": "npm:^1.0.16" + "@snort/shared": "npm:^1.0.17" "@stablelib/xchacha20": "npm:^1.0.1" debug: "npm:^4.3.4" eventemitter3: "npm:^5.0.1" @@ -2679,63 +2687,42 @@ __metadata: lru-cache: "npm:^10.2.0" uuid: "npm:^9.0.0" ws: "npm:^8.14.0" - checksum: 10c0/458aab52c3e2a42c4b8bcf003846e647c60e4308b87139a9cea11ee8c777a1320dde60f21722e7720737a229a2a19a11b3e3c5ab04d9e764e44fa41f310c81fd + checksum: 10c0/bd6528b36e6ca9e387bd97c085e4c074896932b7672aabbd7019d5f8b88dd18c78c5335fdde5d95f97beab40da9742343c353e693edf1a36d62fbd6ccacf7671 languageName: node linkType: hard -"@snort/system@npm:^1.4.2": - version: 1.4.2 - resolution: "@snort/system@npm:1.4.2" - dependencies: - "@noble/curves": "npm:^1.4.0" - "@noble/hashes": "npm:^1.4.0" - "@nostr-dev-kit/ndk": "npm:^2.8.2" - "@scure/base": "npm:^1.1.6" - "@snort/shared": "npm:^1.0.16" - "@stablelib/xchacha20": "npm:^1.0.1" - debug: "npm:^4.3.4" - eventemitter3: "npm:^5.0.1" - isomorphic-ws: "npm:^5.0.0" - lokijs: "npm:^1.5.12" - lru-cache: "npm:^10.2.0" - uuid: "npm:^9.0.0" - ws: "npm:^8.14.0" - checksum: 10c0/7da08a01fd0f1029117a3a74abba4fbbb8ddf9310cb7eb1b0fec832d481bb149134b2c3cd167df9dc375fb3dfa076721e2362c76f889b03dff11adf8fbd7bd20 - languageName: node - linkType: hard - -"@snort/wallet@npm:^0.1.7": - version: 0.1.7 - resolution: "@snort/wallet@npm:0.1.7" +"@snort/wallet@npm:^0.1.8": + version: 0.1.8 + resolution: "@snort/wallet@npm:0.1.8" dependencies: "@cashu/cashu-ts": "npm:^1.0.0-rc.3" "@lightninglabs/lnc-web": "npm:^0.3.1-alpha" "@scure/base": "npm:^1.1.6" - "@snort/shared": "npm:^1.0.16" - "@snort/system": "npm:^1.4.1" + "@snort/shared": "npm:^1.0.17" + "@snort/system": "npm:^1.5.0" debug: "npm:^4.3.4" eventemitter3: "npm:^5.0.1" - checksum: 10c0/5063b1f17337d498d0e466b8e3ec083d2e313df383d882b7900e04187126f07710566c74fdddcf90455f32f2d832cfbfa0a1a3f9c33cd09b7fb9913826b15cda + checksum: 10c0/e655d406f548d78c56d8443edece5b9b79031664911fa23601fb286b7dfceb30b6d52c93456843cef89f3a1bd2898848b5c18ede1a1ee7a67289ba84b85322db languageName: node linkType: hard -"@snort/worker-relay@npm:^1.1.0": - version: 1.1.0 - resolution: "@snort/worker-relay@npm:1.1.0" +"@snort/worker-relay@npm:^1.3.0": + version: 1.3.0 + resolution: "@snort/worker-relay@npm:1.3.0" dependencies: - "@sqlite.org/sqlite-wasm": "npm:^3.45.3-build3" + "@sqlite.org/sqlite-wasm": "npm:^3.46.1-build3" eventemitter3: "npm:^5.0.1" uuid: "npm:^9.0.1" - checksum: 10c0/db301eb3f3d2cedd629e6fb469849ece0aa9029e1a8074802b2cc5346cc4cac2c12758257b3430eb9b030e94c86d49b1a484b84c95ad8291e173ae6d4a518295 + checksum: 10c0/1a0eb175f50787bbcaa585641bf710347b59f3d3426cbf0f83182a5574bf7a63beb3e5d66bb41506e2d50c3ee904d55670c85c7f1542018936dd5a4ce06726e8 languageName: node linkType: hard -"@sqlite.org/sqlite-wasm@npm:^3.45.3-build3": - version: 3.45.3-build3 - resolution: "@sqlite.org/sqlite-wasm@npm:3.45.3-build3" +"@sqlite.org/sqlite-wasm@npm:^3.46.1-build3": + version: 3.46.1-build3 + resolution: "@sqlite.org/sqlite-wasm@npm:3.46.1-build3" bin: sqlite-wasm: bin/index.js - checksum: 10c0/363f777b8ed71369d6cdc5363e17c31aff6427827863af278049756ac1b81f94d145c4afd79c9e8ec03765c7aba10b5af83a1aa892c0b312cea9a2fc819d9d38 + checksum: 10c0/bb8da7ed5c716470c8c3c82ec348914baf8f8ce763881311acfbb40e93f5548afee07d7e312a6d3988fee9aa5d001c14a5e064aabf81803e16482c270cbfd542 languageName: node linkType: hard @@ -7616,12 +7603,12 @@ __metadata: "@noble/curves": "npm:^1.4.0" "@noble/hashes": "npm:^1.4.0" "@scure/base": "npm:^1.1.6" - "@snort/shared": "npm:^1.0.16" - "@snort/system": "npm:^1.4.2" - "@snort/system-react": "npm:^1.4.2" - "@snort/system-wasm": "npm:^1.0.4" - "@snort/wallet": "npm:^0.1.7" - "@snort/worker-relay": "npm:^1.1.0" + "@snort/shared": "npm:^1.0.17" + "@snort/system": "npm:^1.5.0" + "@snort/system-react": "npm:^1.5.0" + "@snort/system-wasm": "npm:^1.0.5" + "@snort/wallet": "npm:^0.1.8" + "@snort/worker-relay": "npm:^1.3.0" "@szhsin/react-menu": "npm:^4.1.0" "@testing-library/dom": "npm:^9.3.1" "@types/node": "npm:^20.12.12"