From cf1768433101c7c308809328ea19657336d7f809 Mon Sep 17 00:00:00 2001 From: Harman-singh-waraich Date: Wed, 9 Oct 2024 14:17:37 +0530 Subject: [PATCH 1/7] chore(web): bump-ui-components-library-to-2.15.0 --- web/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/package.json b/web/package.json index 359d65c0f..19f09a888 100644 --- a/web/package.json +++ b/web/package.json @@ -78,7 +78,7 @@ "@cyntler/react-doc-viewer": "^1.16.3", "@filebase/client": "^0.0.5", "@kleros/kleros-sdk": "workspace:^", - "@kleros/ui-components-library": "^2.14.0", + "@kleros/ui-components-library": "^2.15.0", "@lifi/wallet-management": "^3.0.3", "@lifi/widget": "^3.2.0", "@middy/core": "^5.3.2", diff --git a/yarn.lock b/yarn.lock index 6897e8531..6c968530f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6566,7 +6566,7 @@ __metadata: "@kleros/kleros-v2-eslint-config": "workspace:^" "@kleros/kleros-v2-prettier-config": "workspace:^" "@kleros/kleros-v2-tsconfig": "workspace:^" - "@kleros/ui-components-library": "npm:^2.14.0" + "@kleros/ui-components-library": "npm:^2.15.0" "@lifi/wallet-management": "npm:^3.0.3" "@lifi/widget": "npm:^3.2.0" "@middy/core": "npm:^5.3.2" @@ -6633,9 +6633,9 @@ __metadata: languageName: unknown linkType: soft -"@kleros/ui-components-library@npm:^2.14.0": - version: 2.14.0 - resolution: "@kleros/ui-components-library@npm:2.14.0" +"@kleros/ui-components-library@npm:^2.15.0": + version: 2.15.0 + resolution: "@kleros/ui-components-library@npm:2.15.0" dependencies: "@datepicker-react/hooks": "npm:^2.8.4" "@swc/helpers": "npm:^0.3.2" @@ -6652,7 +6652,7 @@ __metadata: react-dom: ^18.0.0 react-is: ^18.0.0 styled-components: ^5.3.3 - checksum: ea5d9689562a6aa963eda44ad94336d4152c5d0f46c81e70a0c271a09fb93e9c9fd7b4ee609b1f6e1eb6e18f557f1cc0b132c3ac10d9f5af6ffc911ecb71d9da + checksum: 7c97e8fe45b1cd002a0aaf7fe4670b8c668a3abbbab82fac9261ef9a8382ccaf7d4a974ee54b8f299f1e8e7b68e58dab1f3f31d7c8b3b60c58a5af8abdf4a783 languageName: node linkType: hard From dbe49b3a603eb0bbde6f0a9bc6546f480ff44c07 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:28:26 +0200 Subject: [PATCH 2/7] feat: update versions across v2 apps --- web/package.json | 4 +- yarn.lock | 755 ++++++++++++++++++++++++++++++++++------------- 2 files changed, 555 insertions(+), 204 deletions(-) diff --git a/web/package.json b/web/package.json index 19f09a888..d828f80c4 100644 --- a/web/package.json +++ b/web/package.json @@ -70,6 +70,7 @@ "lru-cache": "^7.18.3", "supabase": "^1.133.3", "typescript": "^5.3.3", + "vite": "^5.4.2", "vite-plugin-node-polyfills": "^0.21.0", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2" @@ -119,7 +120,6 @@ "styled-components": "^5.3.11", "vanilla-jsoneditor": "^0.21.4", "viem": "^2.1.0", - "vite": "^5.2.10", - "wagmi": "^2.11.3" + "wagmi": "^2.12.8" } } diff --git a/yarn.lock b/yarn.lock index 6c968530f..077e06413 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4114,9 +4114,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/aix-ppc64@npm:0.20.2" +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard @@ -4135,9 +4135,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-arm64@npm:0.20.2" +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -4156,9 +4156,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-arm@npm:0.20.2" +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -4177,9 +4177,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/android-x64@npm:0.20.2" +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -4198,9 +4198,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/darwin-arm64@npm:0.20.2" +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -4219,9 +4219,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/darwin-x64@npm:0.20.2" +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -4240,9 +4240,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/freebsd-arm64@npm:0.20.2" +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -4261,9 +4261,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/freebsd-x64@npm:0.20.2" +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -4282,9 +4282,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-arm64@npm:0.20.2" +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -4303,9 +4303,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-arm@npm:0.20.2" +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -4324,9 +4324,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-ia32@npm:0.20.2" +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -4345,9 +4345,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-loong64@npm:0.20.2" +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -4366,9 +4366,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-mips64el@npm:0.20.2" +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -4387,9 +4387,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-ppc64@npm:0.20.2" +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -4408,9 +4408,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-riscv64@npm:0.20.2" +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -4429,9 +4429,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-s390x@npm:0.20.2" +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -4450,9 +4450,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/linux-x64@npm:0.20.2" +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -4471,9 +4471,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/netbsd-x64@npm:0.20.2" +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -4492,9 +4492,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/openbsd-x64@npm:0.20.2" +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -4513,9 +4513,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/sunos-x64@npm:0.20.2" +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -4534,9 +4534,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-arm64@npm:0.20.2" +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -4555,9 +4555,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-ia32@npm:0.20.2" +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -4576,9 +4576,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.20.2": - version: 0.20.2 - resolution: "@esbuild/win32-x64@npm:0.20.2" +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -6625,11 +6625,11 @@ __metadata: typescript: "npm:^5.3.3" vanilla-jsoneditor: "npm:^0.21.4" viem: "npm:^2.1.0" - vite: "npm:^5.2.10" + vite: "npm:^5.4.2" vite-plugin-node-polyfills: "npm:^0.21.0" vite-plugin-svgr: "npm:^4.2.0" vite-tsconfig-paths: "npm:^4.3.2" - wagmi: "npm:^2.11.3" + wagmi: "npm:^2.12.8" languageName: unknown linkType: soft @@ -7180,6 +7180,25 @@ __metadata: languageName: node linkType: hard +"@metamask/sdk-communication-layer@npm:0.28.2": + version: 0.28.2 + resolution: "@metamask/sdk-communication-layer@npm:0.28.2" + dependencies: + bufferutil: "npm:^4.0.8" + date-fns: "npm:^2.29.3" + debug: "npm:^4.3.4" + utf-8-validate: "npm:^5.0.2" + uuid: "npm:^8.3.2" + peerDependencies: + cross-fetch: ^4.0.0 + eciesjs: ^0.3.16 + eventemitter2: ^6.4.7 + readable-stream: ^3.6.2 + socket.io-client: ^4.5.1 + checksum: f417b37fc010e91eee424272d47941bbe6b07d443ecfe86fb04e93f2980b26d4ab7e1f56f1b2011c8d256bf128b8d777e7fbc80e23a8b83424d557a671a315ce + languageName: node + linkType: hard + "@metamask/sdk-install-modal-web@npm:0.26.5": version: 0.26.5 resolution: "@metamask/sdk-install-modal-web@npm:0.26.5" @@ -7201,6 +7220,27 @@ __metadata: languageName: node linkType: hard +"@metamask/sdk-install-modal-web@npm:0.28.1": + version: 0.28.1 + resolution: "@metamask/sdk-install-modal-web@npm:0.28.1" + dependencies: + qr-code-styling: "npm:^1.6.0-rc.1" + peerDependencies: + i18next: 23.11.5 + react: ^18.2.0 + react-dom: ^18.2.0 + react-native: "*" + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + react-native: + optional: true + checksum: 000ed12ea42235dbaecd262c51f9eefab160db6fe245b0baf4e2da88c3a5f6e69aeff3cfae5eb0488e7f80c404df4c9b01ec20eb210dacd73485331bf7cd9bc3 + languageName: node + linkType: hard + "@metamask/sdk@npm:0.26.5": version: 0.26.5 resolution: "@metamask/sdk@npm:0.26.5" @@ -7239,6 +7279,45 @@ __metadata: languageName: node linkType: hard +"@metamask/sdk@npm:0.28.4": + version: 0.28.4 + resolution: "@metamask/sdk@npm:0.28.4" + dependencies: + "@metamask/onboarding": "npm:^1.0.1" + "@metamask/providers": "npm:16.1.0" + "@metamask/sdk-communication-layer": "npm:0.28.2" + "@metamask/sdk-install-modal-web": "npm:0.28.1" + "@types/dom-screen-wake-lock": "npm:^1.0.0" + "@types/uuid": "npm:^10.0.0" + bowser: "npm:^2.9.0" + cross-fetch: "npm:^4.0.0" + debug: "npm:^4.3.4" + eciesjs: "npm:^0.3.15" + eth-rpc-errors: "npm:^4.0.3" + eventemitter2: "npm:^6.4.7" + i18next: "npm:23.11.5" + i18next-browser-languagedetector: "npm:7.1.0" + obj-multiplex: "npm:^1.0.0" + pump: "npm:^3.0.0" + qrcode-terminal-nooctal: "npm:^0.12.1" + react-native-webview: "npm:^11.26.0" + readable-stream: "npm:^3.6.2" + rollup-plugin-visualizer: "npm:^5.9.2" + socket.io-client: "npm:^4.5.1" + util: "npm:^0.12.4" + uuid: "npm:^8.3.2" + peerDependencies: + react: ^18.2.0 + react-dom: ^18.2.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + checksum: 8c8dc44e770acfefc7a227f5e0e7b43700ea3db72c0eec93eb704e826f9676d0fa0e6b8d1b5830fc5bf599b0acf7c9b4a8d21a925cf916c91dee6ed2bbaf4f62 + languageName: node + linkType: hard + "@metamask/superstruct@npm:^3.0.0, @metamask/superstruct@npm:^3.1.0": version: 3.1.0 resolution: "@metamask/superstruct@npm:3.1.0" @@ -8910,9 +8989,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.16.3" +"@rollup/rollup-android-arm-eabi@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.0" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -8924,9 +9003,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-android-arm64@npm:4.16.3" +"@rollup/rollup-android-arm64@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-android-arm64@npm:4.24.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -8938,9 +9017,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-darwin-arm64@npm:4.16.3" +"@rollup/rollup-darwin-arm64@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.24.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -8952,9 +9031,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-darwin-x64@npm:4.16.3" +"@rollup/rollup-darwin-x64@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.24.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -8966,9 +9045,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.16.3" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.0" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -8980,16 +9059,16 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.16.3" +"@rollup/rollup-linux-arm-musleabihf@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.0" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.16.3" +"@rollup/rollup-linux-arm64-gnu@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -9001,9 +9080,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.16.3" +"@rollup/rollup-linux-arm64-musl@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -9015,16 +9094,16 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.16.3" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.0" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.16.3" +"@rollup/rollup-linux-riscv64-gnu@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.0" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard @@ -9036,16 +9115,16 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.16.3" +"@rollup/rollup-linux-s390x-gnu@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.0" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.16.3" +"@rollup/rollup-linux-x64-gnu@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -9057,9 +9136,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.16.3" +"@rollup/rollup-linux-x64-musl@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -9071,9 +9150,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.16.3" +"@rollup/rollup-win32-arm64-msvc@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -9085,9 +9164,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.16.3" +"@rollup/rollup-win32-ia32-msvc@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -9099,9 +9178,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.16.3": - version: 4.16.3 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.16.3" +"@rollup/rollup-win32-x64-msvc@npm:4.24.0": + version: 4.24.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -10672,6 +10751,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d + languageName: node + linkType: hard + "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": version: 4.17.35 resolution: "@types/express-serve-static-core@npm:4.17.35" @@ -11267,6 +11353,13 @@ __metadata: languageName: node linkType: hard +"@types/uuid@npm:^10.0.0": + version: 10.0.0 + resolution: "@types/uuid@npm:10.0.0" + checksum: e3958f8b0fe551c86c14431f5940c3470127293280830684154b91dc7eb3514aeb79fe3216968833cf79d4d1c67f580f054b5be2cd562bebf4f728913e73e944 + languageName: node + linkType: hard + "@types/uuid@npm:^8.3.4": version: 8.3.4 resolution: "@types/uuid@npm:8.3.4" @@ -11753,6 +11846,28 @@ __metadata: languageName: node linkType: hard +"@wagmi/connectors@npm:5.1.15": + version: 5.1.15 + resolution: "@wagmi/connectors@npm:5.1.15" + dependencies: + "@coinbase/wallet-sdk": "npm:4.0.4" + "@metamask/sdk": "npm:0.28.4" + "@safe-global/safe-apps-provider": "npm:0.18.3" + "@safe-global/safe-apps-sdk": "npm:9.1.0" + "@walletconnect/ethereum-provider": "npm:2.17.0" + "@walletconnect/modal": "npm:2.7.0" + cbw-sdk: "npm:@coinbase/wallet-sdk@3.9.3" + peerDependencies: + "@wagmi/core": 2.13.8 + typescript: ">=5.0.4" + viem: 2.x + peerDependenciesMeta: + typescript: + optional: true + checksum: 2524f3c7b3f9065019b34f7290dbe9ff35f6d339d13e6ce39d172ae7822b07a336c1cf9cc601e491b9b00abf149855e588563cdaed19124d04aed2b6e3c66193 + languageName: node + linkType: hard + "@wagmi/core@npm:2.12.2": version: 2.12.2 resolution: "@wagmi/core@npm:2.12.2" @@ -11773,6 +11888,26 @@ __metadata: languageName: node linkType: hard +"@wagmi/core@npm:2.13.8": + version: 2.13.8 + resolution: "@wagmi/core@npm:2.13.8" + dependencies: + eventemitter3: "npm:5.0.1" + mipd: "npm:0.0.7" + zustand: "npm:4.4.1" + peerDependencies: + "@tanstack/query-core": ">=5.0.0" + typescript: ">=5.0.4" + viem: 2.x + peerDependenciesMeta: + "@tanstack/query-core": + optional: true + typescript: + optional: true + checksum: 1cb18ab7092c2d49a9e34443ca2d4249c64d7cb848cc7489f0c40af37689608e57b9b54e63e176f4d5785e285997dcbcdb70c1ab38eb8bb8639b3ed363fc3cc0 + languageName: node + linkType: hard + "@wallet-standard/app@npm:^1.0.1": version: 1.0.1 resolution: "@wallet-standard/app@npm:1.0.1" @@ -11844,6 +11979,30 @@ __metadata: languageName: node linkType: hard +"@walletconnect/core@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/core@npm:2.17.0" + dependencies: + "@walletconnect/heartbeat": "npm:1.2.2" + "@walletconnect/jsonrpc-provider": "npm:1.0.14" + "@walletconnect/jsonrpc-types": "npm:1.0.4" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/jsonrpc-ws-connection": "npm:1.0.14" + "@walletconnect/keyvaluestorage": "npm:1.1.1" + "@walletconnect/logger": "npm:2.1.2" + "@walletconnect/relay-api": "npm:1.0.11" + "@walletconnect/relay-auth": "npm:1.0.4" + "@walletconnect/safe-json": "npm:1.0.2" + "@walletconnect/time": "npm:1.0.2" + "@walletconnect/types": "npm:2.17.0" + "@walletconnect/utils": "npm:2.17.0" + events: "npm:3.3.0" + lodash.isequal: "npm:4.5.0" + uint8arrays: "npm:3.1.0" + checksum: a37eff1a9b479fe1d51b4173128adecc0b9afd4897d912b396d19e5c2df6a928caa0fdb487f47ca26fae7f3ca59f263754f21b1861a178cfc11b4b2a783e50c4 + languageName: node + linkType: hard + "@walletconnect/environment@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/environment@npm:1.0.1" @@ -11871,6 +12030,24 @@ __metadata: languageName: node linkType: hard +"@walletconnect/ethereum-provider@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/ethereum-provider@npm:2.17.0" + dependencies: + "@walletconnect/jsonrpc-http-connection": "npm:1.0.8" + "@walletconnect/jsonrpc-provider": "npm:1.0.14" + "@walletconnect/jsonrpc-types": "npm:1.0.4" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/modal": "npm:2.7.0" + "@walletconnect/sign-client": "npm:2.17.0" + "@walletconnect/types": "npm:2.17.0" + "@walletconnect/universal-provider": "npm:2.17.0" + "@walletconnect/utils": "npm:2.17.0" + events: "npm:3.3.0" + checksum: 7f86efca38e6a1a59623de090296f5beff3886af50757ea024c6c0d3237e7dd7e3719be979770d4257dfae3708b1c33a242fb061b9f981fe298d666522a2610f + languageName: node + linkType: hard + "@walletconnect/events@npm:1.0.1, @walletconnect/events@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/events@npm:1.0.1" @@ -11993,6 +12170,15 @@ __metadata: languageName: node linkType: hard +"@walletconnect/modal-core@npm:2.7.0": + version: 2.7.0 + resolution: "@walletconnect/modal-core@npm:2.7.0" + dependencies: + valtio: "npm:1.11.2" + checksum: 1549f9ba5c98dfed2f97fbfccfcd2e342550c7ba7a85970bff224258dd397bad0a29721b90fef408dcc6cdfa65c52253476a04c16fece9b4d48792f03c3a4b4f + languageName: node + linkType: hard + "@walletconnect/modal-ui@npm:2.6.2": version: 2.6.2 resolution: "@walletconnect/modal-ui@npm:2.6.2" @@ -12005,6 +12191,18 @@ __metadata: languageName: node linkType: hard +"@walletconnect/modal-ui@npm:2.7.0": + version: 2.7.0 + resolution: "@walletconnect/modal-ui@npm:2.7.0" + dependencies: + "@walletconnect/modal-core": "npm:2.7.0" + lit: "npm:2.8.0" + motion: "npm:10.16.2" + qrcode: "npm:1.5.3" + checksum: 00d17001bde7646def34eaffef81c4a580f09fdf10902a7a938cd2a3738f8f1cbb10520c229989b64e147df9f4df8ca31bd1d904f9019acc63327b495fb5b3ed + languageName: node + linkType: hard + "@walletconnect/modal@npm:2.6.2": version: 2.6.2 resolution: "@walletconnect/modal@npm:2.6.2" @@ -12015,6 +12213,16 @@ __metadata: languageName: node linkType: hard +"@walletconnect/modal@npm:2.7.0": + version: 2.7.0 + resolution: "@walletconnect/modal@npm:2.7.0" + dependencies: + "@walletconnect/modal-core": "npm:2.7.0" + "@walletconnect/modal-ui": "npm:2.7.0" + checksum: a6b78cc06479e0aa98516784ff1f81b24839777f0ec38d2f9cc85b4dc932ad6e823187bbb699f80f898e7d4b09d1232134f348eb9d12697e74e742eeaec189f2 + languageName: node + linkType: hard + "@walletconnect/relay-api@npm:1.0.10": version: 1.0.10 resolution: "@walletconnect/relay-api@npm:1.0.10" @@ -12024,6 +12232,15 @@ __metadata: languageName: node linkType: hard +"@walletconnect/relay-api@npm:1.0.11": + version: 1.0.11 + resolution: "@walletconnect/relay-api@npm:1.0.11" + dependencies: + "@walletconnect/jsonrpc-types": "npm:^1.0.2" + checksum: d85f88b9744917ee5b36d2df23bf4012819b14b73229f9bdca942bee11dd3b3428808c7528c2b1f6b3d91fa1d34a22b1e20b46533e402301318cbd4ab59b9c17 + languageName: node + linkType: hard + "@walletconnect/relay-auth@npm:1.0.4": version: 1.0.4 resolution: "@walletconnect/relay-auth@npm:1.0.4" @@ -12064,6 +12281,23 @@ __metadata: languageName: node linkType: hard +"@walletconnect/sign-client@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/sign-client@npm:2.17.0" + dependencies: + "@walletconnect/core": "npm:2.17.0" + "@walletconnect/events": "npm:1.0.1" + "@walletconnect/heartbeat": "npm:1.2.2" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/logger": "npm:2.1.2" + "@walletconnect/time": "npm:1.0.2" + "@walletconnect/types": "npm:2.17.0" + "@walletconnect/utils": "npm:2.17.0" + events: "npm:3.3.0" + checksum: e3eb391b4f01ae353e7c5f3580971ac7e5b9bd5a6bdb77783d8954e9c0243bb32945de230cfd09fddb2a589f28a9359de8ca313e83eae2b2e396753957d87b4c + languageName: node + linkType: hard + "@walletconnect/time@npm:1.0.2, @walletconnect/time@npm:^1.0.2": version: 1.0.2 resolution: "@walletconnect/time@npm:1.0.2" @@ -12087,6 +12321,20 @@ __metadata: languageName: node linkType: hard +"@walletconnect/types@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/types@npm:2.17.0" + dependencies: + "@walletconnect/events": "npm:1.0.1" + "@walletconnect/heartbeat": "npm:1.2.2" + "@walletconnect/jsonrpc-types": "npm:1.0.4" + "@walletconnect/keyvaluestorage": "npm:1.1.1" + "@walletconnect/logger": "npm:2.1.2" + events: "npm:3.3.0" + checksum: a0ac222a0ef92c88c159178e643752345978c69109522adea6bebb217c29a182337b2698cb16864151a0c79a457ea1b8659602af1f00dd45e1bd5308c89585cf + languageName: node + linkType: hard + "@walletconnect/universal-provider@npm:2.13.0": version: 2.13.0 resolution: "@walletconnect/universal-provider@npm:2.13.0" @@ -12104,6 +12352,23 @@ __metadata: languageName: node linkType: hard +"@walletconnect/universal-provider@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/universal-provider@npm:2.17.0" + dependencies: + "@walletconnect/jsonrpc-http-connection": "npm:1.0.8" + "@walletconnect/jsonrpc-provider": "npm:1.0.14" + "@walletconnect/jsonrpc-types": "npm:1.0.4" + "@walletconnect/jsonrpc-utils": "npm:1.0.8" + "@walletconnect/logger": "npm:2.1.2" + "@walletconnect/sign-client": "npm:2.17.0" + "@walletconnect/types": "npm:2.17.0" + "@walletconnect/utils": "npm:2.17.0" + events: "npm:3.3.0" + checksum: d03d5178677864c996460eb48072e7f9ca290fe2a1f660f4b9ec8c52e3d574af483fdbca8a95206cbe41cbc89a21b75b2ad13c55ababd3cad2e9a6e3567d2a0a + languageName: node + linkType: hard + "@walletconnect/utils@npm:2.13.0": version: 2.13.0 resolution: "@walletconnect/utils@npm:2.13.0" @@ -12126,6 +12391,30 @@ __metadata: languageName: node linkType: hard +"@walletconnect/utils@npm:2.17.0": + version: 2.17.0 + resolution: "@walletconnect/utils@npm:2.17.0" + dependencies: + "@stablelib/chacha20poly1305": "npm:1.0.1" + "@stablelib/hkdf": "npm:1.0.1" + "@stablelib/random": "npm:1.0.2" + "@stablelib/sha256": "npm:1.0.1" + "@stablelib/x25519": "npm:1.0.3" + "@walletconnect/relay-api": "npm:1.0.11" + "@walletconnect/relay-auth": "npm:1.0.4" + "@walletconnect/safe-json": "npm:1.0.2" + "@walletconnect/time": "npm:1.0.2" + "@walletconnect/types": "npm:2.17.0" + "@walletconnect/window-getters": "npm:1.0.1" + "@walletconnect/window-metadata": "npm:1.0.1" + detect-browser: "npm:5.3.0" + elliptic: "npm:^6.5.7" + query-string: "npm:7.1.3" + uint8arrays: "npm:3.1.0" + checksum: b460aeb0eb0c8e9d50677596f5fd04f940a922027b4d348e53b026e4290cb67a08941bfc6dc0fad8ae55d7434554fbe07907741658845f710a1befa39e47698c + languageName: node + linkType: hard + "@walletconnect/window-getters@npm:1.0.1, @walletconnect/window-getters@npm:^1.0.1": version: 1.0.1 resolution: "@walletconnect/window-getters@npm:1.0.1" @@ -17931,6 +18220,21 @@ __metadata: languageName: node linkType: hard +"elliptic@npm:^6.5.7": + version: 6.5.7 + resolution: "elliptic@npm:6.5.7" + dependencies: + bn.js: "npm:^4.11.9" + brorand: "npm:^1.1.0" + hash.js: "npm:^1.0.0" + hmac-drbg: "npm:^1.0.1" + inherits: "npm:^2.0.4" + minimalistic-assert: "npm:^1.0.1" + minimalistic-crypto-utils: "npm:^1.0.1" + checksum: fbad1fad0a5cc07df83f80cc1f7a784247ef59075194d3e340eaeb2f4dd594825ee24c7e9b0cf279c9f1982efe610503bb3139737926428c4821d4fca1bcf348 + languageName: node + linkType: hard + "emittery@npm:^0.10.2": version: 0.10.2 resolution: "emittery@npm:0.10.2" @@ -18452,33 +18756,33 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.20.1": - version: 0.20.2 - resolution: "esbuild@npm:0.20.2" - dependencies: - "@esbuild/aix-ppc64": "npm:0.20.2" - "@esbuild/android-arm": "npm:0.20.2" - "@esbuild/android-arm64": "npm:0.20.2" - "@esbuild/android-x64": "npm:0.20.2" - "@esbuild/darwin-arm64": "npm:0.20.2" - "@esbuild/darwin-x64": "npm:0.20.2" - "@esbuild/freebsd-arm64": "npm:0.20.2" - "@esbuild/freebsd-x64": "npm:0.20.2" - "@esbuild/linux-arm": "npm:0.20.2" - "@esbuild/linux-arm64": "npm:0.20.2" - "@esbuild/linux-ia32": "npm:0.20.2" - "@esbuild/linux-loong64": "npm:0.20.2" - "@esbuild/linux-mips64el": "npm:0.20.2" - "@esbuild/linux-ppc64": "npm:0.20.2" - "@esbuild/linux-riscv64": "npm:0.20.2" - "@esbuild/linux-s390x": "npm:0.20.2" - "@esbuild/linux-x64": "npm:0.20.2" - "@esbuild/netbsd-x64": "npm:0.20.2" - "@esbuild/openbsd-x64": "npm:0.20.2" - "@esbuild/sunos-x64": "npm:0.20.2" - "@esbuild/win32-arm64": "npm:0.20.2" - "@esbuild/win32-ia32": "npm:0.20.2" - "@esbuild/win32-x64": "npm:0.20.2" +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -18528,7 +18832,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 663215ab7e599651e00d61b528a63136e1f1d397db8b9c3712540af928c9476d61da95aefa81b7a8dfc7a9fdd7616fcf08395c27be68be8c99953fb461863ce4 + checksum: d2ff2ca84d30cce8e871517374d6c2290835380dc7cd413b2d49189ed170d45e407be14de2cb4794cf76f75cf89955c4714726ebd3de7444b3046f5cab23ab6b languageName: node linkType: hard @@ -28950,6 +29254,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.1.0": + version: 1.1.0 + resolution: "picocolors@npm:1.1.0" + checksum: a2ad60d94d185c30f2a140b19c512547713fb89b920d32cc6cf658fa786d63a37ba7b8451872c3d9fc34883971fb6e5878e07a20b60506e0bb2554dce9169ccb + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -29990,7 +30301,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.38, postcss@npm:^8.4.38": +"postcss@npm:8.4.38": version: 8.4.38 resolution: "postcss@npm:8.4.38" dependencies: @@ -30033,6 +30344,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.43": + version: 8.4.47 + resolution: "postcss@npm:8.4.47" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.1.0" + source-map-js: "npm:^1.2.1" + checksum: f2b50ba9b6fcb795232b6bb20de7cdc538c0025989a8ed9c4438d1960196ba3b7eaff41fdb1a5c701b3504651ea87aeb685577707f0ae4d6ce6f3eae5df79a81 + languageName: node + linkType: hard + "preact@npm:^10.16.0": version: 10.19.3 resolution: "preact@npm:10.19.3" @@ -32109,26 +32431,23 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.13.0": - version: 4.16.3 - resolution: "rollup@npm:4.16.3" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.16.3" - "@rollup/rollup-android-arm64": "npm:4.16.3" - "@rollup/rollup-darwin-arm64": "npm:4.16.3" - "@rollup/rollup-darwin-x64": "npm:4.16.3" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.16.3" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.16.3" - "@rollup/rollup-linux-arm64-gnu": "npm:4.16.3" - "@rollup/rollup-linux-arm64-musl": "npm:4.16.3" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.16.3" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.16.3" - "@rollup/rollup-linux-s390x-gnu": "npm:4.16.3" - "@rollup/rollup-linux-x64-gnu": "npm:4.16.3" - "@rollup/rollup-linux-x64-musl": "npm:4.16.3" - "@rollup/rollup-win32-arm64-msvc": "npm:4.16.3" - "@rollup/rollup-win32-ia32-msvc": "npm:4.16.3" - "@rollup/rollup-win32-x64-msvc": "npm:4.16.3" +"rollup@npm:^4.2.0": + version: 4.9.6 + resolution: "rollup@npm:4.9.6" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.9.6" + "@rollup/rollup-android-arm64": "npm:4.9.6" + "@rollup/rollup-darwin-arm64": "npm:4.9.6" + "@rollup/rollup-darwin-x64": "npm:4.9.6" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.6" + "@rollup/rollup-linux-arm64-gnu": "npm:4.9.6" + "@rollup/rollup-linux-arm64-musl": "npm:4.9.6" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.9.6" + "@rollup/rollup-linux-x64-gnu": "npm:4.9.6" + "@rollup/rollup-linux-x64-musl": "npm:4.9.6" + "@rollup/rollup-win32-arm64-msvc": "npm:4.9.6" + "@rollup/rollup-win32-ia32-msvc": "npm:4.9.6" + "@rollup/rollup-win32-x64-msvc": "npm:4.9.6" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -32142,18 +32461,12 @@ __metadata: optional: true "@rollup/rollup-linux-arm-gnueabihf": optional: true - "@rollup/rollup-linux-arm-musleabihf": - optional: true "@rollup/rollup-linux-arm64-gnu": optional: true "@rollup/rollup-linux-arm64-musl": optional: true - "@rollup/rollup-linux-powerpc64le-gnu": - optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true - "@rollup/rollup-linux-s390x-gnu": - optional: true "@rollup/rollup-linux-x64-gnu": optional: true "@rollup/rollup-linux-x64-musl": @@ -32168,28 +32481,31 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 2fa17e04645d334b7d17e8f0a5d5fc73494e4eb3e9bb071a07452334097792c683d29c25de6be33fbfdf0c0d7d1eb15963b7d4274f4872b25c9c2e77000b4398 + checksum: 7c343d9d8ece2ebfbde20b62545f7ee16cbba719da94584fef72ad2f0bdea5f2c49cc429839350e7a4181be04e01bfcd1bd45e1654b8b288a612c409eaebdae4 languageName: node linkType: hard -"rollup@npm:^4.2.0": - version: 4.9.6 - resolution: "rollup@npm:4.9.6" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.9.6" - "@rollup/rollup-android-arm64": "npm:4.9.6" - "@rollup/rollup-darwin-arm64": "npm:4.9.6" - "@rollup/rollup-darwin-x64": "npm:4.9.6" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.6" - "@rollup/rollup-linux-arm64-gnu": "npm:4.9.6" - "@rollup/rollup-linux-arm64-musl": "npm:4.9.6" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.9.6" - "@rollup/rollup-linux-x64-gnu": "npm:4.9.6" - "@rollup/rollup-linux-x64-musl": "npm:4.9.6" - "@rollup/rollup-win32-arm64-msvc": "npm:4.9.6" - "@rollup/rollup-win32-ia32-msvc": "npm:4.9.6" - "@rollup/rollup-win32-x64-msvc": "npm:4.9.6" - "@types/estree": "npm:1.0.5" +"rollup@npm:^4.20.0": + version: 4.24.0 + resolution: "rollup@npm:4.24.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.24.0" + "@rollup/rollup-android-arm64": "npm:4.24.0" + "@rollup/rollup-darwin-arm64": "npm:4.24.0" + "@rollup/rollup-darwin-x64": "npm:4.24.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.24.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.24.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.24.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.24.0" + "@rollup/rollup-linux-x64-musl": "npm:4.24.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.24.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.24.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.24.0" + "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: "@rollup/rollup-android-arm-eabi": @@ -32202,12 +32518,18 @@ __metadata: optional: true "@rollup/rollup-linux-arm-gnueabihf": optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true "@rollup/rollup-linux-arm64-gnu": optional: true "@rollup/rollup-linux-arm64-musl": optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true "@rollup/rollup-linux-x64-gnu": optional: true "@rollup/rollup-linux-x64-musl": @@ -32222,7 +32544,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 7c343d9d8ece2ebfbde20b62545f7ee16cbba719da94584fef72ad2f0bdea5f2c49cc429839350e7a4181be04e01bfcd1bd45e1654b8b288a612c409eaebdae4 + checksum: 291dce8f180628a73d6749119a3e50aa917c416075302bc6f6ac655affc7f0ce9d7f025bef7318d424d0c5623dcb83e360f9ea0125273b6a2285c232172800cc languageName: node linkType: hard @@ -33419,6 +33741,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 + languageName: node + linkType: hard + "source-map-loader@npm:^3.0.0": version: 3.0.2 resolution: "source-map-loader@npm:3.0.2" @@ -36558,19 +36887,20 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.2.10": - version: 5.2.10 - resolution: "vite@npm:5.2.10" +"vite@npm:^5.4.2": + version: 5.4.8 + resolution: "vite@npm:5.4.8" dependencies: - esbuild: "npm:^0.20.1" + esbuild: "npm:^0.21.3" fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.38" - rollup: "npm:^4.13.0" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" peerDependencies: "@types/node": ^18.0.0 || >=20.0.0 less: "*" lightningcss: ^1.21.0 sass: "*" + sass-embedded: "*" stylus: "*" sugarss: "*" terser: ^5.4.0 @@ -36586,6 +36916,8 @@ __metadata: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -36594,7 +36926,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: a0c4ac7b95e9a2a59f4e73e5b42a63f33569f5ec505af9dd019f19ff419fd20d66ad9aad6708987d4da173d485358f0024f410af78ac97cf5c92a38f8c96c451 + checksum: 17fdffa558abaf854f04ead7d3ddd76e4556a59871f9ac63cca3fc20a79979984837d8dddaae4b171e3d73061f781e4eec0f6d3babdbce2b4d111d29cf474c1c languageName: node linkType: hard @@ -36786,7 +37118,7 @@ __metadata: languageName: node linkType: hard -"wagmi@npm:^2.11.2, wagmi@npm:^2.11.3": +"wagmi@npm:^2.11.2": version: 2.11.3 resolution: "wagmi@npm:2.11.3" dependencies: @@ -36805,6 +37137,25 @@ __metadata: languageName: node linkType: hard +"wagmi@npm:^2.12.8": + version: 2.12.17 + resolution: "wagmi@npm:2.12.17" + dependencies: + "@wagmi/connectors": "npm:5.1.15" + "@wagmi/core": "npm:2.13.8" + use-sync-external-store: "npm:1.2.0" + peerDependencies: + "@tanstack/react-query": ">=5.0.0" + react: ">=18" + typescript: ">=5.0.4" + viem: 2.x + peerDependenciesMeta: + typescript: + optional: true + checksum: 31ef3942ba27f9b7a7a33da0dfb9924f6556a3e9fe37031c69c67bcb99316e693333187578cbff8ac3ec98fb77336c0db23e7c135c4bebbc3bef4e59fb42e24b + languageName: node + linkType: hard + "walker@npm:^1.0.7": version: 1.0.8 resolution: "walker@npm:1.0.8" From 395c8d8bd0714eb482994e18efd6bde3968c6a64 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:21:31 +0200 Subject: [PATCH 3/7] feat: add staked pnk per court chart, slightly modify skeleton size, abstract barchart --- web/src/pages/Home/CourtOverview/BarChart.tsx | 101 ++++++++++++++++++ .../Home/CourtOverview/CasesByCourtsChart.tsx | 95 ++-------------- web/src/pages/Home/CourtOverview/Chart.tsx | 25 ++++- .../CourtOverview/StakedPNKByCourtsChart.tsx | 20 ++++ 4 files changed, 150 insertions(+), 91 deletions(-) create mode 100644 web/src/pages/Home/CourtOverview/BarChart.tsx create mode 100644 web/src/pages/Home/CourtOverview/StakedPNKByCourtsChart.tsx diff --git a/web/src/pages/Home/CourtOverview/BarChart.tsx b/web/src/pages/Home/CourtOverview/BarChart.tsx new file mode 100644 index 000000000..a2d546d06 --- /dev/null +++ b/web/src/pages/Home/CourtOverview/BarChart.tsx @@ -0,0 +1,101 @@ +import React, { useCallback } from "react"; +import styled, { useTheme } from "styled-components"; +import { Chart as ChartJS, BarElement } from "chart.js"; +import ChartDataLabels from "chartjs-plugin-datalabels"; +import { Bar } from "react-chartjs-2"; +import "chartjs-adapter-moment"; + +const BarContainer = styled.div` + height: 220px; + margin-top: 16px; +`; + +ChartJS.register(BarElement); + +export interface IBarChartData { + labels: string[]; + data: number[]; + total: number; +} + +interface IBarChartProps { + chartData: IBarChartData; +} + +const BarChart: React.FC = ({ chartData }) => { + const theme = useTheme(); + const getPercentValue = useCallback( + (value: number) => `${Math.floor((value * 100) / chartData.total)} %`, + [chartData] + ); + const tickSize = 5; // suggested, if that many labels can't fit, chart will use even labels + + const options = { + responsive: true, + maintainAspectRatio: false, + tooltips: { + position: "nearest", + }, + scales: { + x: { + grid: { display: false }, + ticks: { + color: theme.secondaryText, + }, + }, + y: { + grid: { color: theme.stroke, borderDash: [4, 4] }, + ticks: { + color: theme.secondaryText, + stepSize: (chartData.total * tickSize) / 100, + callback: (value) => getPercentValue(value), + }, + max: chartData.total, + }, + }, + plugins: { + datalabels: { + anchor: "end", + align: "top", + offset: -4, + color: theme.primaryText, + font: { + weight: "bold", + }, + }, + tooltip: { + backgroundColor: theme.whiteBackground, + titleColor: theme.primaryText, + borderColor: theme.stroke, + borderWidth: 1, + displayColors: false, + callbacks: { + label: (context) => getPercentValue(context.parsed.y), + labelTextColor: () => theme.primaryText, + }, + }, + }, + }; + + return ( + + + + ); +}; + +export default BarChart; diff --git a/web/src/pages/Home/CourtOverview/CasesByCourtsChart.tsx b/web/src/pages/Home/CourtOverview/CasesByCourtsChart.tsx index df7e52b05..10e51784c 100644 --- a/web/src/pages/Home/CourtOverview/CasesByCourtsChart.tsx +++ b/web/src/pages/Home/CourtOverview/CasesByCourtsChart.tsx @@ -1,17 +1,5 @@ -import React, { useCallback } from "react"; -import styled, { useTheme } from "styled-components"; - -import { Chart as ChartJS, BarElement } from "chart.js"; -import ChartDataLabels from "chartjs-plugin-datalabels"; -import { Bar } from "react-chartjs-2"; -import "chartjs-adapter-moment"; - -const BarContainer = styled.div` - height: 220px; - margin-top: 16px; -`; - -ChartJS.register(BarElement); +import React from "react"; +import BarChart, { IBarChartData } from "./BarChart"; export type CasesByCourtsChartData = { labels: string[]; cases: number[]; totalCases: number }; @@ -20,82 +8,13 @@ interface ICasesByCourtsChart { } const CasesByCourtsChart: React.FC = ({ data }) => { - const theme = useTheme(); - const getPercentValue = useCallback((value: number) => `${Math.floor((value * 100) / data.totalCases)} %`, [data]); - const tickSize = 5; // this is suggested, if that many labels can't fit, chart will use even labels - - const options = { - responsive: true, - maintainAspectRatio: false, - tooltips: { - position: "nearest", - }, - scales: { - x: { - grid: { display: false }, - ticks: { - color: theme.secondaryText, - }, - }, - y: { - grid: { color: theme.stroke, borderDash: [4, 4] }, - ticks: { - color: theme.secondaryText, - stepSize: (data.totalCases * tickSize) / 100, - callback: (value) => getPercentValue(value), - }, - max: data.totalCases, - }, - }, - plugins: { - datalabels: { - anchor: "end", - align: "top", - offset: -4, - color: theme.primaryText, - font: { - weight: "bold", - }, - }, - tooltip: { - backgroundColor: theme.whiteBackground, - titleColor: theme.primaryText, - borderColor: theme.stroke, - borderWidth: 1, - displayColors: false, - callbacks: { - label: (context) => getPercentValue(context.parsed.y), - labelTextColor: () => theme.primaryText, - }, - }, - }, + const chartData: IBarChartData = { + labels: data.labels, + data: data.cases, + total: data.totalCases, }; - return ( - - { - // eslint-disable-next-line - // @ts-ignore - - } - - ); + return ; }; export default CasesByCourtsChart; diff --git a/web/src/pages/Home/CourtOverview/Chart.tsx b/web/src/pages/Home/CourtOverview/Chart.tsx index 3be709b37..bc1656acf 100644 --- a/web/src/pages/Home/CourtOverview/Chart.tsx +++ b/web/src/pages/Home/CourtOverview/Chart.tsx @@ -12,6 +12,7 @@ import { responsiveSize } from "styles/responsiveSize"; import { StyledSkeleton } from "components/StyledSkeleton"; +import StakedPNKByCourtsChart, { StakedPNKByCourtsChartData } from "./StakedPNKByCourtsChart"; import CasesByCourtsChart, { CasesByCourtsChartData } from "./CasesByCourtsChart"; import TimeSeriesChart from "./TimeSeriesChart"; @@ -28,6 +29,7 @@ const StyledDropdown = styled(DropdownSelect)` const CHART_OPTIONS = [ { text: "Staked PNK", value: "stakedPNK" }, + { text: "Staked PNK per court", value: "stakedPNKPerCourt" }, { text: "Cases", value: "cases" }, { text: "Cases per court", value: "casesPerCourt" }, ]; @@ -81,18 +83,35 @@ const Chart: React.FC = () => { { labels: [], cases: [], totalCases: 0 } ); + const processedStakedPNKData = courtsChartData?.reduce( + (accData: StakedPNKByCourtsChartData, current) => { + return { + labels: [...accData.labels, current.name ?? ""], + stakes: [...accData.stakes, parseFloat(formatUnits(current.stake, 18))], + totalStake: accData.totalStake + parseFloat(formatUnits(current.stake, 18)), + }; + }, + { labels: [], stakes: [], totalStake: 0 } + ); + const ChartComponent = useMemo(() => { switch (chartOption) { case "casesPerCourt": return processedCourtsData ? ( ) : ( - + + ); + case "stakedPNKPerCourt": + return processedStakedPNKData ? ( + + ) : ( + ); default: - return processedData ? : ; + return processedData ? : ; } - }, [processedCourtsData, processedData, chartOption]); + }, [processedCourtsData, processedStakedPNKData, processedData, chartOption]); return ( diff --git a/web/src/pages/Home/CourtOverview/StakedPNKByCourtsChart.tsx b/web/src/pages/Home/CourtOverview/StakedPNKByCourtsChart.tsx new file mode 100644 index 000000000..7873136fa --- /dev/null +++ b/web/src/pages/Home/CourtOverview/StakedPNKByCourtsChart.tsx @@ -0,0 +1,20 @@ +import React from "react"; +import BarChart, { IBarChartData } from "./BarChart"; + +export type StakedPNKByCourtsChartData = { labels: string[]; stakes: number[]; totalStake: number }; + +interface IStakedPNKByCourtsChart { + data: StakedPNKByCourtsChartData; +} + +const StakedPNKByCourtsChart: React.FC = ({ data }) => { + const chartData: IBarChartData = { + labels: data.labels, + data: data.stakes, + total: data.totalStake, + }; + + return ; +}; + +export default StakedPNKByCourtsChart; From 8ad5c9f66292b1ff90df8fecd4e45efeaaf10658 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:13:55 +0200 Subject: [PATCH 4/7] fix: format PNK value --- web/src/pages/Home/CourtOverview/BarChart.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/pages/Home/CourtOverview/BarChart.tsx b/web/src/pages/Home/CourtOverview/BarChart.tsx index a2d546d06..3b44d0237 100644 --- a/web/src/pages/Home/CourtOverview/BarChart.tsx +++ b/web/src/pages/Home/CourtOverview/BarChart.tsx @@ -5,6 +5,8 @@ import ChartDataLabels from "chartjs-plugin-datalabels"; import { Bar } from "react-chartjs-2"; import "chartjs-adapter-moment"; +const formatter = new Intl.NumberFormat("en", { notation: "compact" }); + const BarContainer = styled.div` height: 220px; margin-top: 16px; @@ -28,6 +30,9 @@ const BarChart: React.FC = ({ chartData }) => { (value: number) => `${Math.floor((value * 100) / chartData.total)} %`, [chartData] ); + + const formatPNKValue = useCallback((value: number) => formatter.format(value), []); + const tickSize = 5; // suggested, if that many labels can't fit, chart will use even labels const options = { @@ -62,6 +67,7 @@ const BarChart: React.FC = ({ chartData }) => { font: { weight: "bold", }, + formatter: formatPNKValue, }, tooltip: { backgroundColor: theme.whiteBackground, From a8314bb9abd715566893829aefad3bf25f98919b Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:19:34 +0200 Subject: [PATCH 5/7] fix: register bar chart --- web/src/pages/Home/CourtOverview/BarChart.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Home/CourtOverview/BarChart.tsx b/web/src/pages/Home/CourtOverview/BarChart.tsx index 3b44d0237..c551884d9 100644 --- a/web/src/pages/Home/CourtOverview/BarChart.tsx +++ b/web/src/pages/Home/CourtOverview/BarChart.tsx @@ -1,10 +1,20 @@ import React, { useCallback } from "react"; import styled, { useTheme } from "styled-components"; -import { Chart as ChartJS, BarElement } from "chart.js"; +import { + Chart as ChartJS, + BarElement, + Tooltip, + CategoryScale, + LinearScale, + PointElement, + LineElement, + TimeScale, +} from "chart.js"; import ChartDataLabels from "chartjs-plugin-datalabels"; import { Bar } from "react-chartjs-2"; import "chartjs-adapter-moment"; +ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, TimeScale, Tooltip); const formatter = new Intl.NumberFormat("en", { notation: "compact" }); const BarContainer = styled.div` From 07f9f1f52ab8204da11e785291c961ae920535c9 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 11 Oct 2024 12:36:44 +0200 Subject: [PATCH 6/7] fix: coderabbit ai comments --- web/src/pages/Home/CourtOverview/BarChart.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/pages/Home/CourtOverview/BarChart.tsx b/web/src/pages/Home/CourtOverview/BarChart.tsx index c551884d9..d75b707d2 100644 --- a/web/src/pages/Home/CourtOverview/BarChart.tsx +++ b/web/src/pages/Home/CourtOverview/BarChart.tsx @@ -9,6 +9,7 @@ import { PointElement, LineElement, TimeScale, + ChartOptions, } from "chart.js"; import ChartDataLabels from "chartjs-plugin-datalabels"; import { Bar } from "react-chartjs-2"; @@ -45,12 +46,9 @@ const BarChart: React.FC = ({ chartData }) => { const tickSize = 5; // suggested, if that many labels can't fit, chart will use even labels - const options = { + const options: ChartOptions<"bar"> = { responsive: true, maintainAspectRatio: false, - tooltips: { - position: "nearest", - }, scales: { x: { grid: { display: false }, From c0b259e7e29e0888af3cd1d86ab00d6931f3b697 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:05:15 +0200 Subject: [PATCH 7/7] chore: add a bit of margin bottom for mobile --- web/src/pages/Home/CourtOverview/Header.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/pages/Home/CourtOverview/Header.tsx b/web/src/pages/Home/CourtOverview/Header.tsx index c06c981ef..2f5e4d85f 100644 --- a/web/src/pages/Home/CourtOverview/Header.tsx +++ b/web/src/pages/Home/CourtOverview/Header.tsx @@ -1,19 +1,20 @@ import React from "react"; import styled from "styled-components"; +import { responsiveSize } from "styles/responsiveSize"; + import { useNavigate } from "react-router-dom"; import { Button } from "@kleros/ui-components-library"; import Bookmark from "svgs/icons/bookmark.svg"; -import { responsiveSize } from "styles/responsiveSize"; - const StyledHeader = styled.div` display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; + margin-bottom: ${responsiveSize(16, 0)}; `; const StyledH1 = styled.h1`