From 8ce79193d1ef16c491c587a5fa4e53f15ef29d77 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 17 Oct 2024 08:53:03 -0700 Subject: [PATCH] Bump welshman --- package-lock.json | 58 +++++++++++++-------------- package.json | 16 ++++---- src/app/components/ThunkStatus.svelte | 5 ++- 3 files changed, 40 insertions(+), 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index b77ca3d..ca14dfa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,15 +23,15 @@ "@tiptap/extension-text": "^2.6.6", "@tiptap/suggestion": "^2.6.4", "@types/throttle-debounce": "^5.0.2", - "@welshman/app": "~0.0.16", + "@welshman/app": "~0.0.17", "@welshman/content": "~0.0.12", "@welshman/dvm": "~0.0.10", "@welshman/feeds": "~0.0.20", "@welshman/lib": "~0.0.22", - "@welshman/net": "~0.0.27", - "@welshman/signer": "~0.0.8", + "@welshman/net": "~0.0.28", + "@welshman/signer": "~0.0.9", "@welshman/store": "~0.0.10", - "@welshman/util": "~0.0.38", + "@welshman/util": "~0.0.39", "daisyui": "^4.12.10", "date-picker-svelte": "^2.13.0", "emoji-picker-element": "^1.22.8", @@ -1660,17 +1660,17 @@ } }, "node_modules/@welshman/app": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@welshman/app/-/app-0.0.16.tgz", - "integrity": "sha512-XR60o3iQlMMMvnf8UuSCz5tpMVfR6Ifq/5GGXVlmNF5ngHi0D6NKWoa4r86iJ3Tac3dtl36ZUdzyJksJi618rg==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@welshman/app/-/app-0.0.17.tgz", + "integrity": "sha512-Qk58wZ8S043lORd0JSq4yj115cWHgQ9Ho+0h4yZHPSzV65n0QW4FRugENvmzbhVtUS/A+oFnPIaeo0CaRL6rqw==", "dependencies": { "@welshman/dvm": "~0.0.10", "@welshman/feeds": "~0.0.20", "@welshman/lib": "~0.0.22", - "@welshman/net": "~0.0.27", - "@welshman/signer": "~0.0.8", + "@welshman/net": "~0.0.28", + "@welshman/signer": "~0.0.9", "@welshman/store": "~0.0.10", - "@welshman/util": "~0.0.38", + "@welshman/util": "~0.0.39", "fuse.js": "^7.0.0", "idb": "^8.0.0", "svelte": "^4.2.18", @@ -1719,9 +1719,9 @@ } }, "node_modules/@welshman/net": { - "version": "0.0.27", - "resolved": "https://registry.npmjs.org/@welshman/net/-/net-0.0.27.tgz", - "integrity": "sha512-X/jdZhFHF/nE0ciLDM3hM/uP7GUoI1CVJzM4r0mE0OCcLYxBCjhEWYgWsuzTLF0NfaYMfCsXD8jRIduKVeC99A==", + "version": "0.0.28", + "resolved": "https://registry.npmjs.org/@welshman/net/-/net-0.0.28.tgz", + "integrity": "sha512-KUsp5CIAFrK+wsNmeHPGFHSrV/ld3TX3KfHV0COAgrARUQQ7NBLPEDdYGBMtMe5mrQAdIL2AwWZDzZ8Y2mAbSQ==", "dependencies": { "@welshman/lib": "~0.0.22", "@welshman/util": "~0.0.37", @@ -1730,17 +1730,17 @@ } }, "node_modules/@welshman/signer": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@welshman/signer/-/signer-0.0.8.tgz", - "integrity": "sha512-ygzRqkl0fz5ilBg3Cp533eIIGfx6g3/H1IKfJy5mJznh9tH0kDZC/EZzfrAuu3HNMWLiHajSfrukNvorZ4AJ5g==", + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@welshman/signer/-/signer-0.0.9.tgz", + "integrity": "sha512-XaID2F+kGWDJRfW4bbW4ZBs+ilBqqdBfT8EYgLzRtA4NyT8cpPuUhm8v0av/DJONtTMfoEJg5ZR5JcxvPPqofA==", "dependencies": { - "@welshman/lib": "~0.0.21", - "@welshman/net": "~0.0.25", + "@welshman/lib": "~0.0.22", + "@welshman/net": "~0.0.28", "@welshman/util": "~0.0.37", "nostr-tools": "^2.7.2" }, "peerDependencies": { - "nostr-signer-capacitor-plugin": "github:chebizarro/nostr-signer-capacitor-plugin" + "nostr-signer-capacitor-plugin": "^0.0.3" } }, "node_modules/@welshman/store": { @@ -1754,11 +1754,11 @@ } }, "node_modules/@welshman/util": { - "version": "0.0.38", - "resolved": "https://registry.npmjs.org/@welshman/util/-/util-0.0.38.tgz", - "integrity": "sha512-tOwGSlxBZl8Fne6gFrefcgV98nqXwg/XLjAE+NjvHHouZJ5Ph+lSEew8QFFgxG0bvE6VVCqCICFXLyjPlUdEQA==", + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@welshman/util/-/util-0.0.39.tgz", + "integrity": "sha512-K+xD3PHrzxdQsL32tNVs6DhzFvUtjeI0DtVaROXpr7SKOqBk3Rmg07d5wiPG4jP7jf8U31yoY9mqQ7VcfPKLDw==", "dependencies": { - "@welshman/lib": "~0.0.21", + "@welshman/lib": "~0.0.22", "nostr-tools": "^2.7.2" } }, @@ -3589,9 +3589,9 @@ } }, "node_modules/nostr-signer-capacitor-plugin": { - "version": "0.0.2", - "resolved": "git+ssh://git@github.com/chebizarro/nostr-signer-capacitor-plugin.git#7cc5a276dd0f7638f931d32eccecb0ce6cf8c51b", - "license": "MIT", + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/nostr-signer-capacitor-plugin/-/nostr-signer-capacitor-plugin-0.0.3.tgz", + "integrity": "sha512-Aa3gmaEsmI80zm6/+Z12CEryzVlSSB+ERUhPTUGg/juQUlYGyeynifm306URUXYF4NkrdBpJua/gmcvhXcZoUA==", "peer": true, "peerDependencies": { "@capacitor/core": "^6.0.0" @@ -5297,9 +5297,9 @@ "dev": true }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "peer": true }, "node_modules/type-check": { diff --git a/package.json b/package.json index f990756..c700ee9 100644 --- a/package.json +++ b/package.json @@ -48,15 +48,15 @@ "@tiptap/extension-text": "^2.6.6", "@tiptap/suggestion": "^2.6.4", "@types/throttle-debounce": "^5.0.2", - "@welshman/app": "~0.0.16", - "@welshman/dvm": "~0.0.10", - "@welshman/feeds": "~0.0.20", - "@welshman/lib": "~0.0.22", - "@welshman/net": "~0.0.27", - "@welshman/signer": "~0.0.8", - "@welshman/store": "~0.0.10", - "@welshman/util": "~0.0.38", "@welshman/content": "~0.0.12", + "@welshman/lib": "~0.0.22", + "@welshman/util": "~0.0.39", + "@welshman/feeds": "~0.0.20", + "@welshman/store": "~0.0.10", + "@welshman/net": "~0.0.28", + "@welshman/dvm": "~0.0.10", + "@welshman/signer": "~0.0.9", + "@welshman/app": "~0.0.17", "daisyui": "^4.12.10", "date-picker-svelte": "^2.13.0", "emoji-picker-element": "^1.22.8", diff --git a/src/app/components/ThunkStatus.svelte b/src/app/components/ThunkStatus.svelte index a7f09ef..a01f471 100644 --- a/src/app/components/ThunkStatus.svelte +++ b/src/app/components/ThunkStatus.svelte @@ -17,7 +17,7 @@ $: isPending = ps.some(s => s.status === Pending) $: isSuccess = ps.some(s => s.status === Success) $: isFailure = !canUndo && ps.every(s => [Failure, Timeout].includes(s.status)) - $: failure = ps.find(s => [Failure, Timeout].includes(s.status)) + $: failure = Object.entries($status).find(([url, s]) => [Failure, Timeout].includes(s.status)) {#if canUndo || isPending} @@ -29,9 +29,10 @@ {/if} {:else if isFailure && failure} + {@const [url, {message}] = failure} + data-tip="{message} ({displayRelayUrl(url)})"> Failed to send!