From fcd62b209775d7124f9cfccb82d97caad41c019e Mon Sep 17 00:00:00 2001 From: kingsleydon <10992364+kingsleydon@users.noreply.github.com> Date: Wed, 27 Sep 2023 19:40:35 +0800 Subject: [PATCH] substrate claim tx --- apps/index/components/Body/Progress.tsx | 31 ++- apps/index/package.json | 2 +- yarn.lock | 341 +++++++++++++++++++----- 3 files changed, 306 insertions(+), 68 deletions(-) diff --git a/apps/index/components/Body/Progress.tsx b/apps/index/components/Body/Progress.tsx index 51986917..2bf8030e 100644 --- a/apps/index/components/Body/Progress.tsx +++ b/apps/index/components/Body/Progress.tsx @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import {assets} from '@/config/common' import useCurrentTask from '@/hooks/useTaskStatus' -import {currentTaskAtom, solutionAtom} from '@/store/core' +import {currentTaskAtom, fromChainAtom, solutionAtom} from '@/store/core' import OpenInNewIcon from '@mui/icons-material/OpenInNew' import { Chip, @@ -58,17 +58,20 @@ const Progress: FC = ({sx, ...props}) => { const [solution] = useAtom(solutionAtom) const [currentTask] = useAtom(currentTaskAtom) const {data: taskStatus} = useCurrentTask() + const [fromChain] = useAtom(fromChainAtom) + + const stepOffset = fromChain?.chainType === 'Sub' ? 2 : 1 const activeStep = useMemo(() => { let value = 0 if (taskStatus != null) { - value = taskStatus.executeIndex + 1 + value = taskStatus.executeIndex + stepOffset if ('completed' in taskStatus.status) { value += 2 } } return value - }, [taskStatus]) + }, [taskStatus, stepOffset]) const steps = useMemo(() => { if (solution == null) return null @@ -141,8 +144,28 @@ const Progress: FC = ({sx, ...props}) => { + {fromChain?.chainType === 'Sub' && ( + + + + + + + + + )} {steps.map((step, index) => { - const isActive = activeStep === index + 1 + const isActive = activeStep === index + stepOffset return ( diff --git a/apps/index/package.json b/apps/index/package.json index b29ebff1..1f8679a1 100644 --- a/apps/index/package.json +++ b/apps/index/package.json @@ -18,7 +18,7 @@ "@mui/lab": "5.0.0-alpha.145", "@mui/material": "^5.14.10", "@next/bundle-analyzer": "^13.5.3", - "@phala/index": "^1.0.33", + "@phala/index": "^1.0.34", "@phala/lib": "workspace:^", "@phala/store": "workspace:^", "@phala/util": "workspace:^", diff --git a/yarn.lock b/yarn.lock index fdbf27c2..5a5bd175 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1494,7 +1494,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.15, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": version: 7.23.1 resolution: "@babel/runtime@npm:7.23.1" dependencies: @@ -3240,6 +3240,28 @@ __metadata: languageName: node linkType: hard +"@mui/base@npm:5.0.0-beta.16": + version: 5.0.0-beta.16 + resolution: "@mui/base@npm:5.0.0-beta.16" + dependencies: + "@babel/runtime": ^7.22.15 + "@floating-ui/react-dom": ^2.0.2 + "@mui/types": ^7.2.4 + "@mui/utils": ^5.14.10 + "@popperjs/core": ^2.11.8 + clsx: ^2.0.0 + prop-types: ^15.8.1 + peerDependencies: + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + checksum: b21589888c62d406feaae4f8f903a70cc847d1c64c812cab0bbb37662bda6e6256e3a8a75957f9133e743f7ff8c4770c263579cfc80241c2c34b2bc6abb819da + languageName: node + linkType: hard + "@mui/base@npm:5.0.0-beta.18": version: 5.0.0-beta.18 resolution: "@mui/base@npm:5.0.0-beta.18" @@ -3269,7 +3291,7 @@ __metadata: languageName: node linkType: hard -"@mui/icons-material@npm:^5.14.12": +"@mui/icons-material@npm:^5.14.12, @mui/icons-material@npm:^5.14.9": version: 5.14.12 resolution: "@mui/icons-material@npm:5.14.12" dependencies: @@ -3285,6 +3307,36 @@ __metadata: languageName: node linkType: hard +"@mui/lab@npm:5.0.0-alpha.145": + version: 5.0.0-alpha.145 + resolution: "@mui/lab@npm:5.0.0-alpha.145" + dependencies: + "@babel/runtime": ^7.22.15 + "@mui/base": 5.0.0-beta.16 + "@mui/system": ^5.14.10 + "@mui/types": ^7.2.4 + "@mui/utils": ^5.14.10 + "@mui/x-tree-view": 6.0.0-alpha.1 + clsx: ^2.0.0 + prop-types: ^15.8.1 + peerDependencies: + "@emotion/react": ^11.5.0 + "@emotion/styled": ^11.3.0 + "@mui/material": ^5.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + "@emotion/react": + optional: true + "@emotion/styled": + optional: true + "@types/react": + optional: true + checksum: 3962250b807a07a74d8d2bff97cef7b2ed32168fe7d6a9f2472fe5f5b856c8871be8b9f4c95f4c0ad48e5dbc0416e7baa29babf91d0ad50899e4e198d0814aab + languageName: node + linkType: hard + "@mui/lab@npm:5.0.0-alpha.147": version: 5.0.0-alpha.147 resolution: "@mui/lab@npm:5.0.0-alpha.147" @@ -3315,7 +3367,7 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:^5.14.12": +"@mui/material@npm:^5.14.10, @mui/material@npm:^5.14.12": version: 5.14.12 resolution: "@mui/material@npm:5.14.12" dependencies: @@ -3386,7 +3438,7 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^5.14.12": +"@mui/system@npm:^5.14.10, @mui/system@npm:^5.14.12": version: 5.14.12 resolution: "@mui/system@npm:5.14.12" dependencies: @@ -3414,7 +3466,7 @@ __metadata: languageName: node linkType: hard -"@mui/types@npm:^7.2.5": +"@mui/types@npm:^7.2.4, @mui/types@npm:^7.2.5": version: 7.2.5 resolution: "@mui/types@npm:7.2.5" peerDependencies: @@ -3426,7 +3478,7 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.14.11, @mui/utils@npm:^5.14.12, @mui/utils@npm:^5.14.3": +"@mui/utils@npm:^5.14.10, @mui/utils@npm:^5.14.11, @mui/utils@npm:^5.14.12, @mui/utils@npm:^5.14.3": version: 5.14.12 resolution: "@mui/utils@npm:5.14.12" dependencies: @@ -3484,7 +3536,7 @@ __metadata: languageName: node linkType: hard -"@next/bundle-analyzer@npm:^13.5.4": +"@next/bundle-analyzer@npm:^13.5.3, @next/bundle-analyzer@npm:^13.5.4": version: 13.5.4 resolution: "@next/bundle-analyzer@npm:13.5.4" dependencies: @@ -3493,6 +3545,13 @@ __metadata: languageName: node linkType: hard +"@next/env@npm:13.5.3": + version: 13.5.3 + resolution: "@next/env@npm:13.5.3" + checksum: ebea3bfca114ca66616557a534fbb37d580f1ab91143eb46ba3bdb5803864dc0e72c08814110809f207d625846f0053871adb75b51b68686ec3a9ed76d9d26bf + languageName: node + linkType: hard + "@next/env@npm:13.5.4": version: 13.5.4 resolution: "@next/env@npm:13.5.4" @@ -3509,6 +3568,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-darwin-arm64@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-darwin-arm64@npm:13.5.3" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@next/swc-darwin-arm64@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-darwin-arm64@npm:13.5.4" @@ -3516,6 +3582,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-darwin-x64@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-darwin-x64@npm:13.5.3" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@next/swc-darwin-x64@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-darwin-x64@npm:13.5.4" @@ -3523,6 +3596,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-arm64-gnu@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-linux-arm64-gnu@npm:13.5.3" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@next/swc-linux-arm64-gnu@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-linux-arm64-gnu@npm:13.5.4" @@ -3530,6 +3610,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-arm64-musl@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-linux-arm64-musl@npm:13.5.3" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@next/swc-linux-arm64-musl@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-linux-arm64-musl@npm:13.5.4" @@ -3537,6 +3624,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-x64-gnu@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-linux-x64-gnu@npm:13.5.3" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@next/swc-linux-x64-gnu@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-linux-x64-gnu@npm:13.5.4" @@ -3544,6 +3638,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-linux-x64-musl@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-linux-x64-musl@npm:13.5.3" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@next/swc-linux-x64-musl@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-linux-x64-musl@npm:13.5.4" @@ -3551,6 +3652,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-arm64-msvc@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-win32-arm64-msvc@npm:13.5.3" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@next/swc-win32-arm64-msvc@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-win32-arm64-msvc@npm:13.5.4" @@ -3558,6 +3666,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-ia32-msvc@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-win32-ia32-msvc@npm:13.5.3" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@next/swc-win32-ia32-msvc@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-win32-ia32-msvc@npm:13.5.4" @@ -3565,6 +3680,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-win32-x64-msvc@npm:13.5.3": + version: 13.5.3 + resolution: "@next/swc-win32-x64-msvc@npm:13.5.3" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@next/swc-win32-x64-msvc@npm:13.5.4": version: 13.5.4 resolution: "@next/swc-win32-x64-msvc@npm:13.5.4" @@ -3820,7 +3942,7 @@ __metadata: "@mui/material": ^5.14.10 "@next/bundle-analyzer": ^13.5.3 "@phala/eslint-config": "workspace:^" - "@phala/index": ^1.0.33 + "@phala/index": ^1.0.34 "@phala/lib": "workspace:^" "@phala/store": "workspace:^" "@phala/util": "workspace:^" @@ -3854,9 +3976,9 @@ __metadata: languageName: unknown linkType: soft -"@phala/index@npm:^1.0.33": - version: 1.0.33 - resolution: "@phala/index@npm:1.0.33" +"@phala/index@npm:^1.0.34": + version: 1.0.34 + resolution: "@phala/index@npm:1.0.34" dependencies: "@phala/sdk": ^0.5.2 "@polkadot/api": ^10.9.1 @@ -3865,7 +3987,7 @@ __metadata: ajv: ^8.12.0 ethers: ^6.7.1 subshape: ^0.14.0 - checksum: 980ce0c837be154c44e031fe05d99fa904b2536039985e39aff6923d1bc3135d6b7ec5daa3d3a04fd4c0237b78daf5a5e9823a2e10698dd0df78b347c46460d3 + checksum: 7fc245937044da7e0c4d1b5a85d2062324885dd8cdb1e739ca4c3b137af3f85bfb1bce59c17fc4695f75ec32ebfc4ee319dba976fda4e6c48bfe6761d0be8461 languageName: node linkType: hard @@ -6156,10 +6278,17 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^18.18.4": - version: 18.18.4 - resolution: "@types/node@npm:18.18.4" - checksum: 4901e91c4cc479bb58acbcd79236a97a0ad6db4a53cb1f4ba4cf32af15324c61b16faa6e31c1b09bf538a20feb5f5274239157ce5237f5741db0b9ab71e69c52 +"@types/node@npm:*, @types/node@npm:>=13.7.0": + version: 20.8.3 + resolution: "@types/node@npm:20.8.3" + checksum: bfb88b341faeb19f8fd37306a3bf433721b876c6491d10fcb0b13fd26601fa36ee45113dd82b1e1c23e3c957dff5b99f81a16493cefa03abe797e41a2487a4f7 + languageName: node + linkType: hard + +"@types/node@npm:18.15.13": + version: 18.15.13 + resolution: "@types/node@npm:18.15.13" + checksum: 79cc5a2b5f98e8973061a4260a781425efd39161a0e117a69cd089603964816c1a14025e1387b4590c8e82d05133b7b4154fa53a7dffb3877890a66145e76515 languageName: node linkType: hard @@ -6170,10 +6299,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.16.0, @types/node@npm:^18.17.19": - version: 18.18.0 - resolution: "@types/node@npm:18.18.0" - checksum: 61bcffa28eb713e7a4c66fd369df603369c3f834a783faeced95fe3e78903faa25f1a704d49e054f41d71b7915eeb066d10a37cc699421fcf5dd267f96ad5808 +"@types/node@npm:^18.16.0, @types/node@npm:^18.18.4": + version: 18.18.4 + resolution: "@types/node@npm:18.18.4" + checksum: 4901e91c4cc479bb58acbcd79236a97a0ad6db4a53cb1f4ba4cf32af15324c61b16faa6e31c1b09bf538a20feb5f5274239157ce5237f5741db0b9ab71e69c52 languageName: node linkType: hard @@ -6207,7 +6336,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.0.6, @types/react-dom@npm:^18.2.11": +"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.0.11, @types/react-dom@npm:^18.0.6, @types/react-dom@npm:^18.2.11": version: 18.2.11 resolution: "@types/react-dom@npm:18.2.11" dependencies: @@ -6225,7 +6354,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.0.18, @types/react@npm:^18.2.25": +"@types/react@npm:*, @types/react@npm:^18.0.18, @types/react@npm:^18.0.38, @types/react@npm:^18.2.25": version: 18.2.25 resolution: "@types/react@npm:18.2.25" dependencies: @@ -6411,9 +6540,9 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.7.2": - version: 6.7.2 - resolution: "@typescript-eslint/typescript-estree@npm:6.7.2" +"@typescript-eslint/typescript-estree@npm:6.7.3": + version: 6.7.3 + resolution: "@typescript-eslint/typescript-estree@npm:6.7.3" dependencies: "@typescript-eslint/types": 6.7.3 "@typescript-eslint/visitor-keys": 6.7.3 @@ -8905,6 +9034,17 @@ __metadata: languageName: node linkType: hard +"diffie-hellman@npm:^5.0.0": + version: 5.0.3 + resolution: "diffie-hellman@npm:5.0.3" + dependencies: + bn.js: ^4.1.0 + miller-rabin: ^4.0.0 + randombytes: ^2.0.0 + checksum: 0e620f322170c41076e70181dd1c24e23b08b47dbb92a22a644f3b89b6d3834b0f8ee19e37916164e5eb1ee26d2aa836d6129f92723995267250a0b541811065 + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -9485,7 +9625,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:^13.5.4": +"eslint-config-next@npm:^13.5.3, eslint-config-next@npm:^13.5.4": version: 13.5.4 resolution: "eslint-config-next@npm:13.5.4" dependencies: @@ -9762,7 +9902,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.51.0": +"eslint@npm:^8.50.0, eslint@npm:^8.51.0": version: 8.51.0 resolution: "eslint@npm:8.51.0" dependencies: @@ -11505,7 +11645,7 @@ __metadata: languageName: node linkType: hard -"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.0": +"http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: 83ac0bc60b17a3a36f9953e7be55e5c8f41acc61b22583060e8dedc9dd5e3607c823a88d0926f9150e571f90946835c7fe150732801010845c72cd8bbff1a236 @@ -12193,12 +12333,12 @@ __metadata: languageName: node linkType: hard -"isomorphic-ws@npm:5.0.0": - version: 5.0.0 - resolution: "isomorphic-ws@npm:5.0.0" +"isows@npm:1.0.2": + version: 1.0.2 + resolution: "isows@npm:1.0.2" peerDependencies: ws: "*" - checksum: e20eb2aee09ba96247465fda40c6d22c1153394c0144fa34fe6609f341af4c8c564f60ea3ba762335a7a9c306809349f9b863c8beedf2beea09b299834ad5398 + checksum: 6c0114f76b62709d5b3caba0e62655c4a4a6abd05dafd501263f012f9db9def4e192e390aa6f34e18ac3b917489e1c874836719f3219d105bcfc3eabe49c01ad languageName: node linkType: hard @@ -12262,7 +12402,7 @@ __metadata: languageName: node linkType: hard -"jotai-devtools@npm:^0.6.3": +"jotai-devtools@npm:^0.6.2, jotai-devtools@npm:^0.6.3": version: 0.6.3 resolution: "jotai-devtools@npm:0.6.3" dependencies: @@ -12282,7 +12422,7 @@ __metadata: languageName: node linkType: hard -"jotai@npm:^2.4.3": +"jotai@npm:^2.4.2, jotai@npm:^2.4.3": version: 2.4.3 resolution: "jotai@npm:2.4.3" peerDependencies: @@ -13731,7 +13871,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -13787,6 +13927,62 @@ __metadata: languageName: node linkType: hard +"next@npm:13.5.3": + version: 13.5.3 + resolution: "next@npm:13.5.3" + dependencies: + "@next/env": 13.5.3 + "@next/swc-darwin-arm64": 13.5.3 + "@next/swc-darwin-x64": 13.5.3 + "@next/swc-linux-arm64-gnu": 13.5.3 + "@next/swc-linux-arm64-musl": 13.5.3 + "@next/swc-linux-x64-gnu": 13.5.3 + "@next/swc-linux-x64-musl": 13.5.3 + "@next/swc-win32-arm64-msvc": 13.5.3 + "@next/swc-win32-ia32-msvc": 13.5.3 + "@next/swc-win32-x64-msvc": 13.5.3 + "@swc/helpers": 0.5.2 + busboy: 1.6.0 + caniuse-lite: ^1.0.30001406 + postcss: 8.4.14 + styled-jsx: 5.1.1 + watchpack: 2.4.0 + zod: 3.21.4 + peerDependencies: + "@opentelemetry/api": ^1.1.0 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + dependenciesMeta: + "@next/swc-darwin-arm64": + optional: true + "@next/swc-darwin-x64": + optional: true + "@next/swc-linux-arm64-gnu": + optional: true + "@next/swc-linux-arm64-musl": + optional: true + "@next/swc-linux-x64-gnu": + optional: true + "@next/swc-linux-x64-musl": + optional: true + "@next/swc-win32-arm64-msvc": + optional: true + "@next/swc-win32-ia32-msvc": + optional: true + "@next/swc-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@opentelemetry/api": + optional: true + sass: + optional: true + bin: + next: dist/bin/next + checksum: bdf97002aee33e03859bc00c6b4115956c449e33ad5a8060ff6a6bcd1f32405fc3f0d0464c293ac94a45753f3d6da513af2cb7fe730e37163f7b0dda0567ac12 + languageName: node + linkType: hard + "next@npm:^13.5.4": version: 13.5.4 resolution: "next@npm:13.5.4" @@ -15038,14 +15234,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:6.0.1": - version: 6.0.1 - resolution: "postcss@npm:6.0.1" +"postcss@npm:8.4.14": + version: 8.4.14 + resolution: "postcss@npm:8.4.14" dependencies: - chalk: ^1.1.3 - source-map: ^0.5.6 - supports-color: ^3.2.3 - checksum: 2533d218b6c23dad42fffb98979f3fd2b98bbe11c923e3245ed8f83da9591c176a5de2403ad3ebaedea819f50d5f6c88c40d322265c59b6b10ed8a02c12fd4bc + nanoid: ^3.3.4 + picocolors: ^1.0.0 + source-map-js: ^1.0.2 + checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 languageName: node linkType: hard @@ -15060,27 +15256,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^6.0.1": - version: 6.0.23 - resolution: "postcss@npm:6.0.23" - dependencies: - chalk: ^2.4.1 - source-map: ^0.6.1 - supports-color: ^5.4.0 - checksum: cc6cb2c1dbcdefa6f57a71d67fe535c9e96543298bbe28f9a6a64c4f1e21b6127113890dd4cda8873d3f4e6613a0566b7b4bbb230204f3a9a309190bda065d81 - languageName: node - linkType: hard - -"postcss@npm:^7.0.0, postcss@npm:^7.0.1, postcss@npm:^7.0.14, postcss@npm:^7.0.27, postcss@npm:^7.0.32, postcss@npm:^7.0.5, postcss@npm:^7.0.6": - version: 7.0.39 - resolution: "postcss@npm:7.0.39" - dependencies: - picocolors: ^0.2.1 - source-map: ^0.6.1 - checksum: 4ac793f506c23259189064bdc921260d869a115a82b5e713973c5af8e94fbb5721a5cc3e1e26840500d7e1f1fa42a209747c5b1a151918a9bc11f0d7ed9048e3 - languageName: node - linkType: hard - "prebuild-install@npm:^7.1.1": version: 7.1.1 resolution: "prebuild-install@npm:7.1.1" @@ -17369,6 +17544,18 @@ __metadata: languageName: node linkType: hard +"swr@npm:^2.2.2": + version: 2.2.4 + resolution: "swr@npm:2.2.4" + dependencies: + client-only: ^0.0.1 + use-sync-external-store: ^1.2.0 + peerDependencies: + react: ^16.11.0 || ^17.0.0 || ^18.0.0 + checksum: d1398f89fd68af0e0cb6100a5769b1e17c0dbe8a778898643ad28456acda64add43344754c7d919e3f2ca82854adf86ff7d465aba25a2d555bcb669e457138f8 + languageName: node + linkType: hard + "synckit@npm:^0.8.5": version: 0.8.5 resolution: "synckit@npm:0.8.5" @@ -18396,6 +18583,27 @@ __metadata: languageName: node linkType: hard +"viem@npm:^1.5.0": + version: 1.16.0 + resolution: "viem@npm:1.16.0" + dependencies: + "@adraffy/ens-normalize": 1.9.4 + "@noble/curves": 1.2.0 + "@noble/hashes": 1.3.2 + "@scure/bip32": 1.3.2 + "@scure/bip39": 1.2.1 + abitype: 0.9.8 + isows: 1.0.2 + ws: 8.13.0 + peerDependencies: + typescript: ">=5.0.4" + peerDependenciesMeta: + typescript: + optional: true + checksum: 47960c72439933d63c1c246b94be2f78aa1199a325bd232471b5004512195a5fa103c02f5a023a0606f9154accb363deeb0fd654b67493ce7e6d746fe0ce87c4 + languageName: node + linkType: hard + "vite@npm:^4.4.11": version: 4.4.11 resolution: "vite@npm:4.4.11" @@ -19168,3 +19376,10 @@ __metadata: checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 languageName: node linkType: hard + +"zod@npm:3.21.4": + version: 3.21.4 + resolution: "zod@npm:3.21.4" + checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f + languageName: node + linkType: hard