From 140bba6e74992d1a5cd91dec64983c75e335a168 Mon Sep 17 00:00:00 2001 From: Kingsley <10992364+kingsleydon@users.noreply.github.com> Date: Tue, 10 Oct 2023 00:01:11 +0800 Subject: [PATCH] feat(index): next version (#344) --- apps/index/hooks/useDeposit.ts | 39 ++--- apps/index/package.json | 28 ++-- apps/index/pages/next.tsx | 27 ++++ yarn.lock | 268 ++++----------------------------- 4 files changed, 92 insertions(+), 270 deletions(-) create mode 100644 apps/index/pages/next.tsx diff --git a/apps/index/hooks/useDeposit.ts b/apps/index/hooks/useDeposit.ts index db521445..7e6e183e 100644 --- a/apps/index/hooks/useDeposit.ts +++ b/apps/index/hooks/useDeposit.ts @@ -74,6 +74,7 @@ const useDeposit = (): (({ chainInstance instanceof SubstrateChain && polkadotAccount?.wallet != null ) { + await chainInstance.isReady const deposit = await chainInstance.getDeposit( fromAsset.location, amount, @@ -82,24 +83,26 @@ const useDeposit = (): (({ ) const waitFinalized = async (): Promise => { await new Promise((resolve, reject) => { - void deposit.tx.signAndSend( - polkadotAccount.address, - { - signer: polkadotAccount.wallet?.signer, - }, - ({txHash, status}) => { - if (status.isReady) { - onSubmitted?.() - setCurrentTask({ - id: deposit.id, - fromChainId: fromChain.name, - hash: txHash.toHex(), - }) - } else if (status.isInBlock) { - resolve(undefined) - } - }, - ) + void deposit.tx + .signAndSend( + polkadotAccount.address, + { + signer: polkadotAccount.wallet?.signer, + }, + ({txHash, status}) => { + if (status.isReady) { + onSubmitted?.() + setCurrentTask({ + id: deposit.id, + fromChainId: fromChain.name, + hash: txHash.toHex(), + }) + } else if (status.isInBlock) { + resolve(undefined) + } + }, + ) + .catch(reject) }) } diff --git a/apps/index/package.json b/apps/index/package.json index 1f8679a1..b250865b 100644 --- a/apps/index/package.json +++ b/apps/index/package.json @@ -14,10 +14,10 @@ "@emotion/server": "^11.11.0", "@emotion/styled": "^11.11.0", "@metamask/detect-provider": "^2.0.0", - "@mui/icons-material": "^5.14.9", - "@mui/lab": "5.0.0-alpha.145", - "@mui/material": "^5.14.10", - "@next/bundle-analyzer": "^13.5.3", + "@mui/icons-material": "^5.14.12", + "@mui/lab": "5.0.0-alpha.147", + "@mui/material": "^5.14.12", + "@next/bundle-analyzer": "^13.5.4", "@phala/index": "^1.0.34", "@phala/lib": "workspace:^", "@phala/store": "workspace:^", @@ -30,27 +30,27 @@ "@talismn/connect-wallets": "^1.2.3", "decimal.js": "^10.4.3", "ethers": "^6.7.1", - "jotai": "^2.4.2", - "jotai-devtools": "^0.6.2", + "jotai": "^2.4.3", + "jotai-devtools": "^0.6.3", "lodash-es": "^4.17.21", - "next": "13.5.3", + "next": "^13.5.4", "next-images": "^1.8.5", "notistack": "^3.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", - "swr": "^2.2.2" + "swr": "2.2.2" }, "devDependencies": { "@phala/eslint-config": "workspace:^", "@svgr/webpack": "^7.0.0", "@swc-jotai/debug-label": "^0.1.0", "@swc-jotai/react-refresh": "^0.1.0", - "@types/lodash-es": "^4.17.7", - "@types/node": "^18.16.0", - "@types/react": "^18.0.38", - "@types/react-dom": "^18.0.11", - "eslint": "^8.50.0", - "eslint-config-next": "^13.5.3", + "@types/lodash-es": "^4.17.9", + "@types/node": "^18.18.4", + "@types/react": "^18.2.25", + "@types/react-dom": "^18.2.11", + "eslint": "^8.51.0", + "eslint-config-next": "^13.5.4", "typescript": "^5.2.2" } } diff --git a/apps/index/pages/next.tsx b/apps/index/pages/next.tsx new file mode 100644 index 00000000..94ec7887 --- /dev/null +++ b/apps/index/pages/next.tsx @@ -0,0 +1,27 @@ +import {clientAtom} from '@/store/core' +import {CircularProgress, Container, Stack} from '@mui/material' +import {useAtom} from 'jotai' +import type {NextPage} from 'next' +import dynamic from 'next/dynamic' + +const PolkadotWalletDialog = dynamic( + async () => await import('@/components/PolkadotWalletDialog'), + {ssr: false}, +) + +const Home: NextPage = () => { + const [client] = useAtom(clientAtom) + return ( + + {client == null ? ( + + + + ) : null} + + + + ) +} + +export default Home diff --git a/yarn.lock b/yarn.lock index 5a5bd175..16db55ee 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.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": +"@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": version: 7.23.1 resolution: "@babel/runtime@npm:7.23.1" dependencies: @@ -3240,28 +3240,6 @@ __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" @@ -3291,7 +3269,7 @@ __metadata: languageName: node linkType: hard -"@mui/icons-material@npm:^5.14.12, @mui/icons-material@npm:^5.14.9": +"@mui/icons-material@npm:^5.14.12": version: 5.14.12 resolution: "@mui/icons-material@npm:5.14.12" dependencies: @@ -3307,36 +3285,6 @@ __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" @@ -3367,7 +3315,7 @@ __metadata: languageName: node linkType: hard -"@mui/material@npm:^5.14.10, @mui/material@npm:^5.14.12": +"@mui/material@npm:^5.14.12": version: 5.14.12 resolution: "@mui/material@npm:5.14.12" dependencies: @@ -3438,7 +3386,7 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^5.14.10, @mui/system@npm:^5.14.12": +"@mui/system@npm:^5.14.12": version: 5.14.12 resolution: "@mui/system@npm:5.14.12" dependencies: @@ -3466,7 +3414,7 @@ __metadata: languageName: node linkType: hard -"@mui/types@npm:^7.2.4, @mui/types@npm:^7.2.5": +"@mui/types@npm:^7.2.5": version: 7.2.5 resolution: "@mui/types@npm:7.2.5" peerDependencies: @@ -3478,7 +3426,7 @@ __metadata: languageName: node linkType: hard -"@mui/utils@npm:^5.14.10, @mui/utils@npm:^5.14.11, @mui/utils@npm:^5.14.12, @mui/utils@npm:^5.14.3": +"@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: @@ -3536,7 +3484,7 @@ __metadata: languageName: node linkType: hard -"@next/bundle-analyzer@npm:^13.5.3, @next/bundle-analyzer@npm:^13.5.4": +"@next/bundle-analyzer@npm:^13.5.4": version: 13.5.4 resolution: "@next/bundle-analyzer@npm:13.5.4" dependencies: @@ -3545,13 +3493,6 @@ __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" @@ -3568,13 +3509,6 @@ __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" @@ -3582,13 +3516,6 @@ __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" @@ -3596,13 +3523,6 @@ __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" @@ -3610,13 +3530,6 @@ __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" @@ -3624,13 +3537,6 @@ __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" @@ -3638,13 +3544,6 @@ __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" @@ -3652,13 +3551,6 @@ __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" @@ -3666,13 +3558,6 @@ __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" @@ -3680,13 +3565,6 @@ __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" @@ -3937,10 +3815,10 @@ __metadata: "@emotion/server": ^11.11.0 "@emotion/styled": ^11.11.0 "@metamask/detect-provider": ^2.0.0 - "@mui/icons-material": ^5.14.9 - "@mui/lab": 5.0.0-alpha.145 - "@mui/material": ^5.14.10 - "@next/bundle-analyzer": ^13.5.3 + "@mui/icons-material": ^5.14.12 + "@mui/lab": 5.0.0-alpha.147 + "@mui/material": ^5.14.12 + "@next/bundle-analyzer": ^13.5.4 "@phala/eslint-config": "workspace:^" "@phala/index": ^1.0.34 "@phala/lib": "workspace:^" @@ -3955,23 +3833,23 @@ __metadata: "@talismn/connect-components": ^1.1.7 "@talismn/connect-ui": ^1.1.2 "@talismn/connect-wallets": ^1.2.3 - "@types/lodash-es": ^4.17.7 - "@types/node": ^18.16.0 - "@types/react": ^18.0.38 - "@types/react-dom": ^18.0.11 + "@types/lodash-es": ^4.17.9 + "@types/node": ^18.18.4 + "@types/react": ^18.2.25 + "@types/react-dom": ^18.2.11 decimal.js: ^10.4.3 - eslint: ^8.50.0 - eslint-config-next: ^13.5.3 + eslint: ^8.51.0 + eslint-config-next: ^13.5.4 ethers: ^6.7.1 - jotai: ^2.4.2 - jotai-devtools: ^0.6.2 + jotai: ^2.4.3 + jotai-devtools: ^0.6.3 lodash-es: ^4.17.21 - next: 13.5.3 + next: ^13.5.4 next-images: ^1.8.5 notistack: ^3.0.1 react: ^18.2.0 react-dom: ^18.2.0 - swr: ^2.2.2 + swr: 2.2.2 typescript: ^5.2.2 languageName: unknown linkType: soft @@ -6246,7 +6124,7 @@ __metadata: languageName: node linkType: hard -"@types/lodash-es@npm:^4.17.7, @types/lodash-es@npm:^4.17.9": +"@types/lodash-es@npm:^4.17.9": version: 4.17.9 resolution: "@types/lodash-es@npm:4.17.9" dependencies: @@ -6299,7 +6177,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.16.0, @types/node@npm:^18.18.4": +"@types/node@npm:^18.18.4": version: 18.18.4 resolution: "@types/node@npm:18.18.4" checksum: 4901e91c4cc479bb58acbcd79236a97a0ad6db4a53cb1f4ba4cf32af15324c61b16faa6e31c1b09bf538a20feb5f5274239157ce5237f5741db0b9ab71e69c52 @@ -6336,7 +6214,7 @@ __metadata: languageName: node linkType: hard -"@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": +"@types/react-dom@npm:^18.0.0, @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: @@ -6354,7 +6232,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18.0.18, @types/react@npm:^18.0.38, @types/react@npm:^18.2.25": +"@types/react@npm:*, @types/react@npm:^18.0.18, @types/react@npm:^18.2.25": version: 18.2.25 resolution: "@types/react@npm:18.2.25" dependencies: @@ -9625,7 +9503,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:^13.5.3, eslint-config-next@npm:^13.5.4": +"eslint-config-next@npm:^13.5.4": version: 13.5.4 resolution: "eslint-config-next@npm:13.5.4" dependencies: @@ -9902,7 +9780,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.50.0, eslint@npm:^8.51.0": +"eslint@npm:^8.51.0": version: 8.51.0 resolution: "eslint@npm:8.51.0" dependencies: @@ -12402,7 +12280,7 @@ __metadata: languageName: node linkType: hard -"jotai-devtools@npm:^0.6.2, jotai-devtools@npm:^0.6.3": +"jotai-devtools@npm:^0.6.3": version: 0.6.3 resolution: "jotai-devtools@npm:0.6.3" dependencies: @@ -12422,7 +12300,7 @@ __metadata: languageName: node linkType: hard -"jotai@npm:^2.4.2, jotai@npm:^2.4.3": +"jotai@npm:^2.4.3": version: 2.4.3 resolution: "jotai@npm:2.4.3" peerDependencies: @@ -13871,7 +13749,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -13927,62 +13805,6 @@ __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" @@ -15234,17 +15056,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" - dependencies: - nanoid: ^3.3.4 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 - languageName: node - linkType: hard - "postcss@npm:8.4.31, postcss@npm:^8, postcss@npm:^8.4.23, postcss@npm:^8.4.27, postcss@npm:^8.4.31, postcss@npm:^8.4.5": version: 8.4.31 resolution: "postcss@npm:8.4.31" @@ -17544,18 +17355,6 @@ __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" @@ -19376,10 +19175,3 @@ __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