From 296e44221ff6d0741124682300a6c9b4e4682ed6 Mon Sep 17 00:00:00 2001 From: harshbaz Date: Mon, 20 Feb 2023 18:35:13 +0700 Subject: [PATCH 1/9] Add send page --- .../(feed)/wallet/send/[id]/+page.svelte | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte new file mode 100644 index 000000000..c5e7fd310 --- /dev/null +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -0,0 +1,59 @@ + + + + +
+ Refer & Earn +
+ + + +
+
+
+ +
+
+ +
+ {#if walletId} +
+
+ avatar +
+ {generateRandomName('name', '1')} + 10 Aug +
+
+
+
+ {:else} +
+ +
You have not made any transactions yet
+
+ {/if} +
+ + From f644132e99bf73de15ac11b010a6037653ef276a Mon Sep 17 00:00:00 2001 From: harshbaz Date: Mon, 20 Feb 2023 18:35:17 +0700 Subject: [PATCH 2/9] Add redirection --- packages/web-client/src/routes/(feed)/wallet/send/+page.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/web-client/src/routes/(feed)/wallet/send/+page.ts diff --git a/packages/web-client/src/routes/(feed)/wallet/send/+page.ts b/packages/web-client/src/routes/(feed)/wallet/send/+page.ts new file mode 100644 index 000000000..da2e78c84 --- /dev/null +++ b/packages/web-client/src/routes/(feed)/wallet/send/+page.ts @@ -0,0 +1,5 @@ +import { redirect } from '@sveltejs/kit' + +export const load = async () => { + throw redirect(307, 'wallet') +} From b5705218f8e52d21ed16a164912d65aae9c944bf Mon Sep 17 00:00:00 2001 From: harshbaz Date: Wed, 22 Feb 2023 18:43:47 +0700 Subject: [PATCH 3/9] Update page --- .../src/routes/(feed)/wallet/send/[id]/+page.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte index c5e7fd310..5d545892b 100644 --- a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -10,11 +10,15 @@ import { generateRandomName } from '$lib/utils/randomUsername' let walletId = '' + + Hot or Not | Wallet | Send tokens + +
- Refer & Earn + Send Tokens
From 37dd3d0eb72b63b11d7648858746267f38716e12 Mon Sep 17 00:00:00 2001 From: harshbaz Date: Wed, 22 Feb 2023 18:44:16 +0700 Subject: [PATCH 4/9] Find wallet by user Id --- .../src/routes/(feed)/wallet/send/[id]/+page.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte index 5d545892b..aa0ded91d 100644 --- a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -8,6 +8,10 @@ import getDefaultImageUrl from '$lib/utils/getDefaultImageUrl' import { generateRandomName } from '$lib/utils/randomUsername' let walletId = '' + +const findWallet = () => { + console.log('calling api') +} @@ -32,6 +36,7 @@ let walletId = ''
From aa46344013ca68a94fcabbbc3eafb721424b506e Mon Sep 17 00:00:00 2001 From: harshbaz Date: Wed, 22 Feb 2023 18:44:49 +0700 Subject: [PATCH 5/9] Use user's ID or username --- .../web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte index aa0ded91d..a3008052a 100644 --- a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -38,7 +38,7 @@ const findWallet = () => { bind:value={walletId} on:change={findWallet} type="text" - placeholder="Enter Wallet ID to send tokens" + placeholder="Enter user's ID or username to send tokens" class="w-full rounded-md bg-white/10 py-4" />
{#if walletId} From 5a164758542d93acafcb04a89f3dce9b2bd9e8cf Mon Sep 17 00:00:00 2001 From: harshbaz Date: Thu, 23 Feb 2023 19:00:48 +0700 Subject: [PATCH 6/9] Add search --- .../(feed)/wallet/send/[id]/+page.svelte | 56 ++++++++++++++++--- 1 file changed, 49 insertions(+), 7 deletions(-) diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte index a3008052a..f695af785 100644 --- a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -1,17 +1,47 @@ @@ -36,12 +66,22 @@ const findWallet = () => {
- {#if walletId} + {#if loading} +
+ +
+ {:else if walletId && !foundUser} +
+ No such user found +
+ {:else if foundUser}
{
-
You have not made any transactions yet
+
+ You have not made any transactions yet +
{/if}
From 47e3ca7af25734d7ec9b15476c06bc11b7d20cb3 Mon Sep 17 00:00:00 2001 From: harshbaz Date: Fri, 24 Feb 2023 08:43:53 +0700 Subject: [PATCH 7/9] Update deps --- package.json | 2 +- packages/web-client/package.json | 2 +- packages/workers/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a88643af2..3df5494ea 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.8.0", - "@types/node": "18.14.0", + "@types/node": "18.14.1", "@typescript-eslint/eslint-plugin": "5.53.0", "@typescript-eslint/parser": "5.53.0", "eslint": "8.34.0", diff --git a/packages/web-client/package.json b/packages/web-client/package.json index 1d3141f46..933fd6e2f 100644 --- a/packages/web-client/package.json +++ b/packages/web-client/package.json @@ -57,7 +57,7 @@ "jsdom": "21.1.0", "postcss": "8.4.21", "svelte": "3.55.1", - "svelte-check": "3.0.3", + "svelte-check": "3.0.4", "svelte-easy-crop": "2.0.1", "svelte-preprocess": "5.0.1", "tailwindcss": "3.2.7", diff --git a/packages/workers/package.json b/packages/workers/package.json index 5db1fbee0..348bfcd6d 100644 --- a/packages/workers/package.json +++ b/packages/workers/package.json @@ -14,6 +14,6 @@ "itty-router": "3.0.11" }, "devDependencies": { - "wrangler": "2.10.0" + "wrangler": "2.11.0" } } From 3e11efb47504c710692056fde7b0d9673996f61c Mon Sep 17 00:00:00 2001 From: harshbaz Date: Fri, 24 Feb 2023 08:54:44 +0700 Subject: [PATCH 8/9] Update lockfile --- package-lock.json | 708 +++++++++++++++++----------------------------- 1 file changed, 262 insertions(+), 446 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95d413f38..884d110fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ ], "devDependencies": { "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.8.0", - "@types/node": "18.14.0", + "@types/node": "18.14.1", "@typescript-eslint/eslint-plugin": "5.53.0", "@typescript-eslint/parser": "5.53.0", "eslint": "8.34.0", @@ -1191,39 +1191,27 @@ } }, "node_modules/@miniflare/cache": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/cache/-/cache-2.12.0.tgz", - "integrity": "sha512-rAeuCqjevXrNbMimN22Sa70PieiHvjeILHDOBObQ/0GqVNn/cFO6L/v9GYT8R4X5XhHoIuqo6cvZQrxERySDyQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/cache/-/cache-2.12.1.tgz", + "integrity": "sha512-6Pj5avy53qULTa13gWxGTDBuwX0yAzr4Zkzb0ZBh40bcbHp4vRkOk7PvHBoxV0M76JxQDHotGaW+ik510z5Xrg==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "http-cache-semantics": "^4.1.0", - "undici": "5.11.0" + "undici": "5.20.0" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/cache/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/cli-parser": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/cli-parser/-/cli-parser-2.12.0.tgz", - "integrity": "sha512-F+fUhJbAAqlKHfFHRyP/jsbNwP57uAU/IypLg+0i1mEhy1foq6XAVQrldsmHZPvKp/YUHWyMxKcWeDfMY3qnxg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/cli-parser/-/cli-parser-2.12.1.tgz", + "integrity": "sha512-iCh4wEyQow8Dha+zpKhjCCXEp6QWbsvE18H5CgeUFT1pX4B+akYIHzdn47Cr5zpuYyjenoL78bAz0IIHIeyeWw==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0", + "@miniflare/shared": "2.12.1", "kleur": "^4.1.4" }, "engines": { @@ -1231,117 +1219,81 @@ } }, "node_modules/@miniflare/core": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/core/-/core-2.12.0.tgz", - "integrity": "sha512-TrlmF3lrXhPlkheNiYGFkVTEhZyN/ok7F42+csE7UDPZpm94n4VqbT/85ssAy5rOJRVlyscHMExrrPeB40L34A==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/core/-/core-2.12.1.tgz", + "integrity": "sha512-729xXL6uoMgtja5J7B2WdWAjFfxb74Pk2QqM3VqkWqY3XNlKWI7+ofvb8S6kI6uFEPGj4ma263uYkEAgsvzBWg==", "dev": true, "dependencies": { "@iarna/toml": "^2.2.5", - "@miniflare/queues": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/watcher": "2.12.0", + "@miniflare/queues": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/watcher": "2.12.1", "busboy": "^1.6.0", "dotenv": "^10.0.0", "kleur": "^4.1.4", "set-cookie-parser": "^2.4.8", - "undici": "5.11.0", + "undici": "5.20.0", "urlpattern-polyfill": "^4.0.3" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/core/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/d1": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/d1/-/d1-2.12.0.tgz", - "integrity": "sha512-KmaJoXnijuwldplWYnORy3/A2H6XKtrk51HUUe3hg6/JL46L3c7iRrKmruYUC5VtVwWMpvWzGT5uQfpdGQdiHw==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/d1/-/d1-2.12.1.tgz", + "integrity": "sha512-2ldT7xEC7KxoaEJ7nCY9/AB/xwPjbm3mrmpiIspT0b5OgS640Pe9EU4c5bSmzGoUbLvwF+jb+LhLE1QaEbWkBw==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0" + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.7" } }, "node_modules/@miniflare/durable-objects": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/durable-objects/-/durable-objects-2.12.0.tgz", - "integrity": "sha512-tK0teVpYlT6R2rjvUlLoqf/7+3K3/XKzkJnG40Rtn6pNddtIyzGilmc8YHUpw3FFhOLaN+o5bDe01PRjOAQ9vA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/durable-objects/-/durable-objects-2.12.1.tgz", + "integrity": "sha512-/n9WIxvHavVUgT+Nf280wNOcmJQBG+eZuqOlORWW9RmXXbAzqzS2Mk2lmRDCzbq3xTXAcsndx6cdarQLNRUzBg==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/storage-memory": "2.12.0", - "undici": "5.11.0" + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/storage-memory": "2.12.1", + "undici": "5.20.0" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/durable-objects/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/html-rewriter": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/html-rewriter/-/html-rewriter-2.12.0.tgz", - "integrity": "sha512-aNZUh9uTr6nFg2Pn4sB5swRCBA/Oj66N8kDWZhjy56jpFq9w3XuZKc80GuPXKak9n4yLZB4d+cpEK4aVmn7cFg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/html-rewriter/-/html-rewriter-2.12.1.tgz", + "integrity": "sha512-yezYzGRBxy7d/oomAUEftdnL4fq6YIek82LtQlXgzcdcbBDnkYADj8WqGV41tAI+V2+rjrFEc1RuCXx/I1yISw==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "html-rewriter-wasm": "^0.4.1", - "undici": "5.11.0" + "undici": "5.20.0" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/html-rewriter/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/http-server": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/http-server/-/http-server-2.12.0.tgz", - "integrity": "sha512-OWOssYXgKUYpbzhMD0l5Lq4j0GLNQLXLaraQrhmTK/x1Y4RVPcrlEgShoQ/Adlmc9rU3LEV8uQBXLAfYCQrH3Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/http-server/-/http-server-2.12.1.tgz", + "integrity": "sha512-nC6POgDKFHxnyXbKCdR9FGZSsu5frXQUETvSVcoETd5RP+Iws0xZ+XkzVMqiiIZk3ifUC9LzdGUOD0J2PlhHJw==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/web-sockets": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/web-sockets": "2.12.1", "kleur": "^4.1.4", "selfsigned": "^2.0.0", - "undici": "5.11.0", + "undici": "5.20.0", "ws": "^8.2.2", "youch": "^2.2.2" }, @@ -1349,87 +1301,63 @@ "node": ">=16.13" } }, - "node_modules/@miniflare/http-server/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/kv": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/kv/-/kv-2.12.0.tgz", - "integrity": "sha512-7EvlgeOeIDEFcFyimzuErkqhS1sB7MqRur7z07VmzdpEx3Ud15/XNGANSM0jd4Iv8pLPPJAq4ESnoJPS7R6m+Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/kv/-/kv-2.12.1.tgz", + "integrity": "sha512-8h8wLDMEaWaKAqYTwrckOcNjAz52bzDyLmU4t/lh1/AQOE9eSg/T+H6xQCv0fPGrWPeHmG8iXaFI1JQ+CtkcHw==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/queues": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/queues/-/queues-2.12.0.tgz", - "integrity": "sha512-NSR2lSpK4xrrugj3vDaA9181sCydshff/1onAz7ypHOpWMrFebM8BWBeAT7Q1ktkn6633ropqHdOzwjByJj0EQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/queues/-/queues-2.12.1.tgz", + "integrity": "sha512-L/YJkWWvg1RS3sCB5DLZOsf/kAmkwhvshpl+LmGQT7z/PYXlplbBmuhPwVBXaHqZdYE7063XfTzgAIhVPoo72Q==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.7" } }, "node_modules/@miniflare/r2": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/r2/-/r2-2.12.0.tgz", - "integrity": "sha512-FW9s61B3AOXbKfGNXnDKMVF7Tbx12f7+W/4HJdrqeuu1bgG9oBhCLELZ9UrIPNw3QF5a6Z39pKGu3HnxuH59Mg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/r2/-/r2-2.12.1.tgz", + "integrity": "sha512-xp8fSSap6o5xSAWp9BtOGgZ4tuf5iHTqrfbAH66LF151j8y69eQtQJ5pxpSvrDJok/F1VOLGc4ihSLmUqxyXhw==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0", - "undici": "5.11.0" + "@miniflare/shared": "2.12.1", + "undici": "5.20.0" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/r2/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@miniflare/runner-vm": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/runner-vm/-/runner-vm-2.12.0.tgz", - "integrity": "sha512-4o0VGR9ih3fp+np1L94W/nxGf2M0gTe/3drZjUmCHvgPsdBcUHqhquT3uEVX3x7HBhCKprU1X5VifMOVRo+Zwg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/runner-vm/-/runner-vm-2.12.1.tgz", + "integrity": "sha512-pGY/aoQzbvyXOGR6/d3hv5/QsyUXGGbOxAyXdvjlz8h7ZiKOX4dBRS5TUAPS0kb/ofUWCyoYJi8dCVwRGdTYRw==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/scheduler": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/scheduler/-/scheduler-2.12.0.tgz", - "integrity": "sha512-mFh+xxwbPHiUGP/8o2Qe63m/4ianMdb0MkPMksTP1gg/xRj0nybv7gj0V/iZ+RrjM0t1mYoA0keT3RjgpKlDEA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/scheduler/-/scheduler-2.12.1.tgz", + "integrity": "sha512-AbOP8YpWNqR/t7zMuTmn6q27USCDBQaYaULRVaNNfCsxMTXAUjYfM85iFvnV9mshw+K0HIEU4zR4Xjd2FeJubg==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "cron-schedule": "^3.0.4" }, "engines": { @@ -1437,9 +1365,9 @@ } }, "node_modules/@miniflare/shared": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/shared/-/shared-2.12.0.tgz", - "integrity": "sha512-hxBZv0bhiSuUwEtIBmfnBvH3Zfv4OU0LVtKGc98icGQyI5pocBhMy9bXthZdEybQv7MikVp5HEFV2KRCudg2GA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/shared/-/shared-2.12.1.tgz", + "integrity": "sha512-N8sHNM5vcvjvO+znQ7Mbqf0FChRlWxy/svUpQf1GGpii9aTXzOTWB+WkFvJrJNx44SUReEGxUAzxpdeWnHahmA==", "dev": true, "dependencies": { "@types/better-sqlite3": "^7.6.0", @@ -1452,83 +1380,71 @@ } }, "node_modules/@miniflare/sites": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/sites/-/sites-2.12.0.tgz", - "integrity": "sha512-ueUSfELJPzIWrv75HWpcMc989+LYZgwzglagW/pYC/oMc0fVYOXC6Ro/MUBrR3yUA9i8ySap4NOK3oO9dsSR9Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/sites/-/sites-2.12.1.tgz", + "integrity": "sha512-LW4r82cfGJvmJFwoBdXfsRcdDggVf8ppjMZGU3zk7xo+u5yD1uHzO2Arf3XbKNiOp7f9WyC/mXxs4zxF605iLA==", "dev": true, "dependencies": { - "@miniflare/kv": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/storage-file": "2.12.0" + "@miniflare/kv": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/storage-file": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/storage-file": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/storage-file/-/storage-file-2.12.0.tgz", - "integrity": "sha512-KA1Uh02pE82McUr07b1oW4kv6dkE1xjBhjY0L0JzNT7tfm6yUvv1u3Xp0r84x5BC7p/0yqVq2zWE7PC+smbqyQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/storage-file/-/storage-file-2.12.1.tgz", + "integrity": "sha512-eq5wzBwxQC5GVxBfji9svb9FRdSOlA8D8DTgzL29DDjuOYtG9j8ydOlo0J7/2MB/Gq0HYFUHYWHhrklzzwdKQQ==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0", - "@miniflare/storage-memory": "2.12.0" + "@miniflare/shared": "2.12.1", + "@miniflare/storage-memory": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/storage-memory": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/storage-memory/-/storage-memory-2.12.0.tgz", - "integrity": "sha512-riBoz0p8xKyPUbYy3HUc1mowAMinTxhkdBVorrdqAUucwK4HLGpVL9C1q8e10JZYpHkl/wde4puQId2ajWP+lg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/storage-memory/-/storage-memory-2.12.1.tgz", + "integrity": "sha512-E9jbrX0L9N7YIHXj2G4td1EKboVLBdHkwh7RvKEZBwOhxDze5h+jMOou57NIbfC5kLOZPOC1fGXjzpp7xUUE6w==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/watcher": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/watcher/-/watcher-2.12.0.tgz", - "integrity": "sha512-IH4bENdS2xM+KhlJ/1wAt0FGtOClQ+ortaycIA/FTxaS7v+hu3qha6DlV3/LKM1y3r1IcPK5+fEDrf+RPcEgJA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/watcher/-/watcher-2.12.1.tgz", + "integrity": "sha512-3IG/6g38id5ppbZHB/gMfEvoIEFYdmTTLRsHaPNyWIk/r3LMhHLluVsMcs+Lr/fphkPk6Diou4cBLD2GeeoP7A==", "dev": true, "dependencies": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" }, "engines": { "node": ">=16.13" } }, "node_modules/@miniflare/web-sockets": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/web-sockets/-/web-sockets-2.12.0.tgz", - "integrity": "sha512-g8evGvmku5t6BdDDPvhhnpmTJU/iMJhwpMFRdX1j3gzY5aLjpS8E2ISE5hrXZyasygyYqrD0oMoAulI3R9PHog==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/web-sockets/-/web-sockets-2.12.1.tgz", + "integrity": "sha512-Z+zqZqhVdrbmTQf+ETP5H1TPdXC2tUiYPiHRLWTHUks6VVkuwnUtIKxNPBEBXjCjKYYEm8VLclUAt+0yTucLWA==", "dev": true, "dependencies": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "undici": "5.11.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "undici": "5.20.0", "ws": "^8.2.2" }, "engines": { "node": ">=16.13" } }, - "node_modules/@miniflare/web-sockets/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "dev": true, @@ -2008,9 +1924,9 @@ } }, "node_modules/@types/node": { - "version": "18.14.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.0.tgz", - "integrity": "sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A==" + "version": "18.14.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.1.tgz", + "integrity": "sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==" }, "node_modules/@types/pug": { "version": "2.0.6", @@ -6976,32 +6892,32 @@ } }, "node_modules/miniflare": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-2.12.0.tgz", - "integrity": "sha512-Af90T8nzDkZFNSYnOZB/ne7TjsIIPZ23BAmIks1itDUwDvuFooEbDnuvBgjyksg3WBm6o5QB4y2+Dx8/j8mptg==", - "dev": true, - "dependencies": { - "@miniflare/cache": "2.12.0", - "@miniflare/cli-parser": "2.12.0", - "@miniflare/core": "2.12.0", - "@miniflare/d1": "2.12.0", - "@miniflare/durable-objects": "2.12.0", - "@miniflare/html-rewriter": "2.12.0", - "@miniflare/http-server": "2.12.0", - "@miniflare/kv": "2.12.0", - "@miniflare/queues": "2.12.0", - "@miniflare/r2": "2.12.0", - "@miniflare/runner-vm": "2.12.0", - "@miniflare/scheduler": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/sites": "2.12.0", - "@miniflare/storage-file": "2.12.0", - "@miniflare/storage-memory": "2.12.0", - "@miniflare/web-sockets": "2.12.0", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-2.12.1.tgz", + "integrity": "sha512-pym6gzg8AQZ1NRChRV1hC4K55N49wndoaDEVRMvZPJrFsmGkNnXkWmlvmZ7SB3BN5UkP5MZwKhLqiJ49Ry8tFA==", + "dev": true, + "dependencies": { + "@miniflare/cache": "2.12.1", + "@miniflare/cli-parser": "2.12.1", + "@miniflare/core": "2.12.1", + "@miniflare/d1": "2.12.1", + "@miniflare/durable-objects": "2.12.1", + "@miniflare/html-rewriter": "2.12.1", + "@miniflare/http-server": "2.12.1", + "@miniflare/kv": "2.12.1", + "@miniflare/queues": "2.12.1", + "@miniflare/r2": "2.12.1", + "@miniflare/runner-vm": "2.12.1", + "@miniflare/scheduler": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/sites": "2.12.1", + "@miniflare/storage-file": "2.12.1", + "@miniflare/storage-memory": "2.12.1", + "@miniflare/web-sockets": "2.12.1", "kleur": "^4.1.4", "semiver": "^1.1.0", "source-map-support": "^0.5.20", - "undici": "5.11.0" + "undici": "5.20.0" }, "bin": { "miniflare": "bootstrap.js" @@ -7010,7 +6926,7 @@ "node": ">=16.13" }, "peerDependencies": { - "@miniflare/storage-redis": "2.12.0", + "@miniflare/storage-redis": "2.12.1", "cron-schedule": "^3.0.4", "ioredis": "^4.27.9" }, @@ -7026,18 +6942,6 @@ } } }, - "node_modules/miniflare/node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "dependencies": { - "busboy": "^1.6.0" - }, - "engines": { - "node": ">=12.18" - } - }, "node_modules/minimalistic-assert": { "version": "1.0.1", "license": "ISC" @@ -9466,9 +9370,9 @@ } }, "node_modules/svelte-check": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.0.3.tgz", - "integrity": "sha512-ByBFXo3bfHRGIsYEasHkdMhLkNleVfszX/Ns1oip58tPJlKdo5Ssr8kgVIuo5oq00hss8AIcdesuy0Xt0BcTvg==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.0.4.tgz", + "integrity": "sha512-feIyBAA5cSIxq4vq6mwGvGQTHy/wBVQbs5b+/VvE21WN8X7nonAuSqwvZv0UDBowzRka3Rh4gmLPH8rPePz3/w==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.17", @@ -10530,21 +10434,21 @@ } }, "node_modules/wrangler": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-2.10.0.tgz", - "integrity": "sha512-h/N7IN5R7P2xWMdUgLbgoWbfrTRVp2wXzT5HTXVg0DPufDY7X3Vf3xX2RW7pt+JTvbUdpOSD0dVyRR4Fxluzog==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-2.11.0.tgz", + "integrity": "sha512-JvqWL8YyzLZsQhWgcCoDJkh47K7PdYH58LbE+7bDtMugkTzDEj0PS8aoJDEUw+5NDHhtoP2TMize44YVdnHgpw==", "dev": true, "dependencies": { "@cloudflare/kv-asset-handler": "^0.2.0", "@esbuild-plugins/node-globals-polyfill": "^0.1.1", "@esbuild-plugins/node-modules-polyfill": "^0.1.4", - "@miniflare/core": "2.12.0", - "@miniflare/d1": "2.12.0", - "@miniflare/durable-objects": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/d1": "2.12.1", + "@miniflare/durable-objects": "2.12.1", "blake3-wasm": "^2.1.5", "chokidar": "^3.5.3", "esbuild": "0.16.3", - "miniflare": "2.12.0", + "miniflare": "2.12.1", "nanoid": "^3.3.3", "path-to-regexp": "^6.2.0", "selfsigned": "^2.0.1", @@ -11189,7 +11093,7 @@ "jsdom": "21.1.0", "postcss": "8.4.21", "svelte": "3.55.1", - "svelte-check": "3.0.3", + "svelte-check": "3.0.4", "svelte-easy-crop": "2.0.1", "svelte-preprocess": "5.0.1", "tailwindcss": "3.2.7", @@ -11210,7 +11114,7 @@ "itty-router": "3.0.11" }, "devDependencies": { - "wrangler": "2.10.0" + "wrangler": "2.11.0" } } }, @@ -11938,7 +11842,7 @@ "jsdom": "21.1.0", "postcss": "8.4.21", "svelte": "3.55.1", - "svelte-check": "3.0.3", + "svelte-check": "3.0.4", "svelte-easy-crop": "2.0.1", "svelte-local-storage-store": "0.4.0", "svelte-preprocess": "5.0.1", @@ -11958,7 +11862,7 @@ "version": "file:packages/workers", "requires": { "itty-router": "3.0.11", - "wrangler": "2.10.0" + "wrangler": "2.11.0" } }, "@humanwhocodes/config-array": { @@ -12019,213 +11923,147 @@ } }, "@miniflare/cache": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/cache/-/cache-2.12.0.tgz", - "integrity": "sha512-rAeuCqjevXrNbMimN22Sa70PieiHvjeILHDOBObQ/0GqVNn/cFO6L/v9GYT8R4X5XhHoIuqo6cvZQrxERySDyQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/cache/-/cache-2.12.1.tgz", + "integrity": "sha512-6Pj5avy53qULTa13gWxGTDBuwX0yAzr4Zkzb0ZBh40bcbHp4vRkOk7PvHBoxV0M76JxQDHotGaW+ik510z5Xrg==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "http-cache-semantics": "^4.1.0", - "undici": "5.11.0" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } + "undici": "5.20.0" } }, "@miniflare/cli-parser": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/cli-parser/-/cli-parser-2.12.0.tgz", - "integrity": "sha512-F+fUhJbAAqlKHfFHRyP/jsbNwP57uAU/IypLg+0i1mEhy1foq6XAVQrldsmHZPvKp/YUHWyMxKcWeDfMY3qnxg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/cli-parser/-/cli-parser-2.12.1.tgz", + "integrity": "sha512-iCh4wEyQow8Dha+zpKhjCCXEp6QWbsvE18H5CgeUFT1pX4B+akYIHzdn47Cr5zpuYyjenoL78bAz0IIHIeyeWw==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0", + "@miniflare/shared": "2.12.1", "kleur": "^4.1.4" } }, "@miniflare/core": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/core/-/core-2.12.0.tgz", - "integrity": "sha512-TrlmF3lrXhPlkheNiYGFkVTEhZyN/ok7F42+csE7UDPZpm94n4VqbT/85ssAy5rOJRVlyscHMExrrPeB40L34A==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/core/-/core-2.12.1.tgz", + "integrity": "sha512-729xXL6uoMgtja5J7B2WdWAjFfxb74Pk2QqM3VqkWqY3XNlKWI7+ofvb8S6kI6uFEPGj4ma263uYkEAgsvzBWg==", "dev": true, "requires": { "@iarna/toml": "^2.2.5", - "@miniflare/queues": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/watcher": "2.12.0", + "@miniflare/queues": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/watcher": "2.12.1", "busboy": "^1.6.0", "dotenv": "^10.0.0", "kleur": "^4.1.4", "set-cookie-parser": "^2.4.8", - "undici": "5.11.0", + "undici": "5.20.0", "urlpattern-polyfill": "^4.0.3" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } } }, "@miniflare/d1": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/d1/-/d1-2.12.0.tgz", - "integrity": "sha512-KmaJoXnijuwldplWYnORy3/A2H6XKtrk51HUUe3hg6/JL46L3c7iRrKmruYUC5VtVwWMpvWzGT5uQfpdGQdiHw==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/d1/-/d1-2.12.1.tgz", + "integrity": "sha512-2ldT7xEC7KxoaEJ7nCY9/AB/xwPjbm3mrmpiIspT0b5OgS640Pe9EU4c5bSmzGoUbLvwF+jb+LhLE1QaEbWkBw==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0" + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1" } }, "@miniflare/durable-objects": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/durable-objects/-/durable-objects-2.12.0.tgz", - "integrity": "sha512-tK0teVpYlT6R2rjvUlLoqf/7+3K3/XKzkJnG40Rtn6pNddtIyzGilmc8YHUpw3FFhOLaN+o5bDe01PRjOAQ9vA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/durable-objects/-/durable-objects-2.12.1.tgz", + "integrity": "sha512-/n9WIxvHavVUgT+Nf280wNOcmJQBG+eZuqOlORWW9RmXXbAzqzS2Mk2lmRDCzbq3xTXAcsndx6cdarQLNRUzBg==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/storage-memory": "2.12.0", - "undici": "5.11.0" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/storage-memory": "2.12.1", + "undici": "5.20.0" } }, "@miniflare/html-rewriter": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/html-rewriter/-/html-rewriter-2.12.0.tgz", - "integrity": "sha512-aNZUh9uTr6nFg2Pn4sB5swRCBA/Oj66N8kDWZhjy56jpFq9w3XuZKc80GuPXKak9n4yLZB4d+cpEK4aVmn7cFg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/html-rewriter/-/html-rewriter-2.12.1.tgz", + "integrity": "sha512-yezYzGRBxy7d/oomAUEftdnL4fq6YIek82LtQlXgzcdcbBDnkYADj8WqGV41tAI+V2+rjrFEc1RuCXx/I1yISw==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "html-rewriter-wasm": "^0.4.1", - "undici": "5.11.0" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } + "undici": "5.20.0" } }, "@miniflare/http-server": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/http-server/-/http-server-2.12.0.tgz", - "integrity": "sha512-OWOssYXgKUYpbzhMD0l5Lq4j0GLNQLXLaraQrhmTK/x1Y4RVPcrlEgShoQ/Adlmc9rU3LEV8uQBXLAfYCQrH3Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/http-server/-/http-server-2.12.1.tgz", + "integrity": "sha512-nC6POgDKFHxnyXbKCdR9FGZSsu5frXQUETvSVcoETd5RP+Iws0xZ+XkzVMqiiIZk3ifUC9LzdGUOD0J2PlhHJw==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/web-sockets": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/web-sockets": "2.12.1", "kleur": "^4.1.4", "selfsigned": "^2.0.0", - "undici": "5.11.0", + "undici": "5.20.0", "ws": "^8.2.2", "youch": "^2.2.2" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } } }, "@miniflare/kv": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/kv/-/kv-2.12.0.tgz", - "integrity": "sha512-7EvlgeOeIDEFcFyimzuErkqhS1sB7MqRur7z07VmzdpEx3Ud15/XNGANSM0jd4Iv8pLPPJAq4ESnoJPS7R6m+Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/kv/-/kv-2.12.1.tgz", + "integrity": "sha512-8h8wLDMEaWaKAqYTwrckOcNjAz52bzDyLmU4t/lh1/AQOE9eSg/T+H6xQCv0fPGrWPeHmG8iXaFI1JQ+CtkcHw==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" } }, "@miniflare/queues": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/queues/-/queues-2.12.0.tgz", - "integrity": "sha512-NSR2lSpK4xrrugj3vDaA9181sCydshff/1onAz7ypHOpWMrFebM8BWBeAT7Q1ktkn6633ropqHdOzwjByJj0EQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/queues/-/queues-2.12.1.tgz", + "integrity": "sha512-L/YJkWWvg1RS3sCB5DLZOsf/kAmkwhvshpl+LmGQT7z/PYXlplbBmuhPwVBXaHqZdYE7063XfTzgAIhVPoo72Q==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" } }, "@miniflare/r2": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/r2/-/r2-2.12.0.tgz", - "integrity": "sha512-FW9s61B3AOXbKfGNXnDKMVF7Tbx12f7+W/4HJdrqeuu1bgG9oBhCLELZ9UrIPNw3QF5a6Z39pKGu3HnxuH59Mg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/r2/-/r2-2.12.1.tgz", + "integrity": "sha512-xp8fSSap6o5xSAWp9BtOGgZ4tuf5iHTqrfbAH66LF151j8y69eQtQJ5pxpSvrDJok/F1VOLGc4ihSLmUqxyXhw==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0", - "undici": "5.11.0" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } + "@miniflare/shared": "2.12.1", + "undici": "5.20.0" } }, "@miniflare/runner-vm": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/runner-vm/-/runner-vm-2.12.0.tgz", - "integrity": "sha512-4o0VGR9ih3fp+np1L94W/nxGf2M0gTe/3drZjUmCHvgPsdBcUHqhquT3uEVX3x7HBhCKprU1X5VifMOVRo+Zwg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/runner-vm/-/runner-vm-2.12.1.tgz", + "integrity": "sha512-pGY/aoQzbvyXOGR6/d3hv5/QsyUXGGbOxAyXdvjlz8h7ZiKOX4dBRS5TUAPS0kb/ofUWCyoYJi8dCVwRGdTYRw==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" } }, "@miniflare/scheduler": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/scheduler/-/scheduler-2.12.0.tgz", - "integrity": "sha512-mFh+xxwbPHiUGP/8o2Qe63m/4ianMdb0MkPMksTP1gg/xRj0nybv7gj0V/iZ+RrjM0t1mYoA0keT3RjgpKlDEA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/scheduler/-/scheduler-2.12.1.tgz", + "integrity": "sha512-AbOP8YpWNqR/t7zMuTmn6q27USCDBQaYaULRVaNNfCsxMTXAUjYfM85iFvnV9mshw+K0HIEU4zR4Xjd2FeJubg==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", "cron-schedule": "^3.0.4" } }, "@miniflare/shared": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/shared/-/shared-2.12.0.tgz", - "integrity": "sha512-hxBZv0bhiSuUwEtIBmfnBvH3Zfv4OU0LVtKGc98icGQyI5pocBhMy9bXthZdEybQv7MikVp5HEFV2KRCudg2GA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/shared/-/shared-2.12.1.tgz", + "integrity": "sha512-N8sHNM5vcvjvO+znQ7Mbqf0FChRlWxy/svUpQf1GGpii9aTXzOTWB+WkFvJrJNx44SUReEGxUAzxpdeWnHahmA==", "dev": true, "requires": { "@types/better-sqlite3": "^7.6.0", @@ -12235,65 +12073,54 @@ } }, "@miniflare/sites": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/sites/-/sites-2.12.0.tgz", - "integrity": "sha512-ueUSfELJPzIWrv75HWpcMc989+LYZgwzglagW/pYC/oMc0fVYOXC6Ro/MUBrR3yUA9i8ySap4NOK3oO9dsSR9Q==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/sites/-/sites-2.12.1.tgz", + "integrity": "sha512-LW4r82cfGJvmJFwoBdXfsRcdDggVf8ppjMZGU3zk7xo+u5yD1uHzO2Arf3XbKNiOp7f9WyC/mXxs4zxF605iLA==", "dev": true, "requires": { - "@miniflare/kv": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/storage-file": "2.12.0" + "@miniflare/kv": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/storage-file": "2.12.1" } }, "@miniflare/storage-file": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/storage-file/-/storage-file-2.12.0.tgz", - "integrity": "sha512-KA1Uh02pE82McUr07b1oW4kv6dkE1xjBhjY0L0JzNT7tfm6yUvv1u3Xp0r84x5BC7p/0yqVq2zWE7PC+smbqyQ==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/storage-file/-/storage-file-2.12.1.tgz", + "integrity": "sha512-eq5wzBwxQC5GVxBfji9svb9FRdSOlA8D8DTgzL29DDjuOYtG9j8ydOlo0J7/2MB/Gq0HYFUHYWHhrklzzwdKQQ==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0", - "@miniflare/storage-memory": "2.12.0" + "@miniflare/shared": "2.12.1", + "@miniflare/storage-memory": "2.12.1" } }, "@miniflare/storage-memory": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/storage-memory/-/storage-memory-2.12.0.tgz", - "integrity": "sha512-riBoz0p8xKyPUbYy3HUc1mowAMinTxhkdBVorrdqAUucwK4HLGpVL9C1q8e10JZYpHkl/wde4puQId2ajWP+lg==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/storage-memory/-/storage-memory-2.12.1.tgz", + "integrity": "sha512-E9jbrX0L9N7YIHXj2G4td1EKboVLBdHkwh7RvKEZBwOhxDze5h+jMOou57NIbfC5kLOZPOC1fGXjzpp7xUUE6w==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" } }, "@miniflare/watcher": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/watcher/-/watcher-2.12.0.tgz", - "integrity": "sha512-IH4bENdS2xM+KhlJ/1wAt0FGtOClQ+ortaycIA/FTxaS7v+hu3qha6DlV3/LKM1y3r1IcPK5+fEDrf+RPcEgJA==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/watcher/-/watcher-2.12.1.tgz", + "integrity": "sha512-3IG/6g38id5ppbZHB/gMfEvoIEFYdmTTLRsHaPNyWIk/r3LMhHLluVsMcs+Lr/fphkPk6Diou4cBLD2GeeoP7A==", "dev": true, "requires": { - "@miniflare/shared": "2.12.0" + "@miniflare/shared": "2.12.1" } }, "@miniflare/web-sockets": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@miniflare/web-sockets/-/web-sockets-2.12.0.tgz", - "integrity": "sha512-g8evGvmku5t6BdDDPvhhnpmTJU/iMJhwpMFRdX1j3gzY5aLjpS8E2ISE5hrXZyasygyYqrD0oMoAulI3R9PHog==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/@miniflare/web-sockets/-/web-sockets-2.12.1.tgz", + "integrity": "sha512-Z+zqZqhVdrbmTQf+ETP5H1TPdXC2tUiYPiHRLWTHUks6VVkuwnUtIKxNPBEBXjCjKYYEm8VLclUAt+0yTucLWA==", "dev": true, "requires": { - "@miniflare/core": "2.12.0", - "@miniflare/shared": "2.12.0", - "undici": "5.11.0", + "@miniflare/core": "2.12.1", + "@miniflare/shared": "2.12.1", + "undici": "5.20.0", "ws": "^8.2.2" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } } }, "@nodelib/fs.scandir": { @@ -12665,9 +12492,9 @@ } }, "@types/node": { - "version": "18.14.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.0.tgz", - "integrity": "sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A==" + "version": "18.14.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.1.tgz", + "integrity": "sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==" }, "@types/pug": { "version": "2.0.6", @@ -15966,43 +15793,32 @@ "dev": true }, "miniflare": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-2.12.0.tgz", - "integrity": "sha512-Af90T8nzDkZFNSYnOZB/ne7TjsIIPZ23BAmIks1itDUwDvuFooEbDnuvBgjyksg3WBm6o5QB4y2+Dx8/j8mptg==", - "dev": true, - "requires": { - "@miniflare/cache": "2.12.0", - "@miniflare/cli-parser": "2.12.0", - "@miniflare/core": "2.12.0", - "@miniflare/d1": "2.12.0", - "@miniflare/durable-objects": "2.12.0", - "@miniflare/html-rewriter": "2.12.0", - "@miniflare/http-server": "2.12.0", - "@miniflare/kv": "2.12.0", - "@miniflare/queues": "2.12.0", - "@miniflare/r2": "2.12.0", - "@miniflare/runner-vm": "2.12.0", - "@miniflare/scheduler": "2.12.0", - "@miniflare/shared": "2.12.0", - "@miniflare/sites": "2.12.0", - "@miniflare/storage-file": "2.12.0", - "@miniflare/storage-memory": "2.12.0", - "@miniflare/web-sockets": "2.12.0", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-2.12.1.tgz", + "integrity": "sha512-pym6gzg8AQZ1NRChRV1hC4K55N49wndoaDEVRMvZPJrFsmGkNnXkWmlvmZ7SB3BN5UkP5MZwKhLqiJ49Ry8tFA==", + "dev": true, + "requires": { + "@miniflare/cache": "2.12.1", + "@miniflare/cli-parser": "2.12.1", + "@miniflare/core": "2.12.1", + "@miniflare/d1": "2.12.1", + "@miniflare/durable-objects": "2.12.1", + "@miniflare/html-rewriter": "2.12.1", + "@miniflare/http-server": "2.12.1", + "@miniflare/kv": "2.12.1", + "@miniflare/queues": "2.12.1", + "@miniflare/r2": "2.12.1", + "@miniflare/runner-vm": "2.12.1", + "@miniflare/scheduler": "2.12.1", + "@miniflare/shared": "2.12.1", + "@miniflare/sites": "2.12.1", + "@miniflare/storage-file": "2.12.1", + "@miniflare/storage-memory": "2.12.1", + "@miniflare/web-sockets": "2.12.1", "kleur": "^4.1.4", "semiver": "^1.1.0", "source-map-support": "^0.5.20", - "undici": "5.11.0" - }, - "dependencies": { - "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", - "dev": true, - "requires": { - "busboy": "^1.6.0" - } - } + "undici": "5.20.0" } }, "minimalistic-assert": { @@ -17633,9 +17449,9 @@ "integrity": "sha512-S+87/P0Ve67HxKkEV23iCdAh/SX1xiSfjF1HOglno/YTbSTW7RniICMCofWGdJJbdjw3S+0PfFb1JtGfTXE0oQ==" }, "svelte-check": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.0.3.tgz", - "integrity": "sha512-ByBFXo3bfHRGIsYEasHkdMhLkNleVfszX/Ns1oip58tPJlKdo5Ssr8kgVIuo5oq00hss8AIcdesuy0Xt0BcTvg==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.0.4.tgz", + "integrity": "sha512-feIyBAA5cSIxq4vq6mwGvGQTHy/wBVQbs5b+/VvE21WN8X7nonAuSqwvZv0UDBowzRka3Rh4gmLPH8rPePz3/w==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.17", @@ -18298,22 +18114,22 @@ } }, "wrangler": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-2.10.0.tgz", - "integrity": "sha512-h/N7IN5R7P2xWMdUgLbgoWbfrTRVp2wXzT5HTXVg0DPufDY7X3Vf3xX2RW7pt+JTvbUdpOSD0dVyRR4Fxluzog==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-2.11.0.tgz", + "integrity": "sha512-JvqWL8YyzLZsQhWgcCoDJkh47K7PdYH58LbE+7bDtMugkTzDEj0PS8aoJDEUw+5NDHhtoP2TMize44YVdnHgpw==", "dev": true, "requires": { "@cloudflare/kv-asset-handler": "^0.2.0", "@esbuild-plugins/node-globals-polyfill": "^0.1.1", "@esbuild-plugins/node-modules-polyfill": "^0.1.4", - "@miniflare/core": "2.12.0", - "@miniflare/d1": "2.12.0", - "@miniflare/durable-objects": "2.12.0", + "@miniflare/core": "2.12.1", + "@miniflare/d1": "2.12.1", + "@miniflare/durable-objects": "2.12.1", "blake3-wasm": "^2.1.5", "chokidar": "^3.5.3", "esbuild": "0.16.3", "fsevents": "~2.3.2", - "miniflare": "2.12.0", + "miniflare": "2.12.1", "nanoid": "^3.3.3", "path-to-regexp": "^6.2.0", "selfsigned": "^2.0.1", From 1882c37a94138c58cd45db8ac64ea01d0f91e983 Mon Sep 17 00:00:00 2001 From: harshbaz Date: Fri, 24 Feb 2023 18:12:55 +0700 Subject: [PATCH 9/9] Add recent transactions --- .../(feed)/wallet/send/[id]/+page.svelte | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte index f695af785..e778fc6da 100644 --- a/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte +++ b/packages/web-client/src/routes/(feed)/wallet/send/[id]/+page.svelte @@ -7,16 +7,23 @@ import NoTransactionsIcon from '$components/icons/NoTransactionsIcon.svelte' import Input from '$components/input/Input.svelte' import HomeLayout from '$components/layout/HomeLayout.svelte' import { individualUser, userIndex } from '$lib/helpers/backend' +import { fetchHistory } from '$lib/helpers/profile' import getDefaultImageUrl from '$lib/utils/getDefaultImageUrl' import { isPrincipal } from '$lib/utils/isPrincipal' import { generateRandomName } from '$lib/utils/randomUsername' import { Principal } from '@dfinity/principal' +import { onMount } from 'svelte' import { debounce } from 'throttle-debounce' let walletId = '' let foundUser: UserProfileDetailsForFrontend | null = null let loading = false let selectedUserId: Principal | null = null +let recents: UserProfileDetailsForFrontend[] = [] + +async function populateRecentTransactions() { + const transactions = await fetchHistory(history.length) +} const findWallet = debounce(500, async () => { // if (!!walletId.trim()) return @@ -42,6 +49,10 @@ const findWallet = debounce(500, async () => { loading = false }) + +onMount(() => { + populateRecentTransactions() +}) @@ -105,6 +116,22 @@ const findWallet = debounce(500, async () => {
{/if} +
+
Recents
+ {#each recents as recent} +
+ avatar +
+ {recent.display_name} + 10 Aug +
+
+ {/each} +