diff --git a/examples/with-html/index.html b/examples/with-html/index.html index 83147297..882b5ec2 100644 --- a/examples/with-html/index.html +++ b/examples/with-html/index.html @@ -41,7 +41,7 @@

idkit-js

IDKit.init({ signal: 'test_signal', - app_id: 'app_staging_45068dca85829d2fd90e2dd6f0bff997', + app_id: 'app_ce4cb73cb75fc3b73b71ffb4de178410', action: 'test-action', bridge_url: 'https://wallet-bridge.stage-crypto.worldcoin.org', action_description: 'Test action description', diff --git a/packages/react/src/components/IDKitWidget/BaseWidget.tsx b/packages/react/src/components/IDKitWidget/BaseWidget.tsx index 38dee203..61a664e7 100644 --- a/packages/react/src/components/IDKitWidget/BaseWidget.tsx +++ b/packages/react/src/components/IDKitWidget/BaseWidget.tsx @@ -10,7 +10,6 @@ import { shallow } from 'zustand/shallow' import XMarkIcon from '../Icons/XMarkIcon' import ErrorState from './States/ErrorState' import { ConfigSource } from '@/types/config' -import LoadingIcon from '../Icons/LoadingIcon' import * as Toast from '@radix-ui/react-toast' import type { IDKitStore } from '@/store/idkit' import PrivacyState from './States/PrivacyState' @@ -18,8 +17,8 @@ import SuccessState from './States/SuccessState' import WorldIDState from './States/WorldIDState' import * as Dialog from '@radix-ui/react-dialog' import type { WidgetProps } from '@/types/config' +import WorldcoinIcon from '../Icons/WorldcoinIcon' import { Fragment, useEffect, useMemo } from 'react' -import WorldIDWordmark from '../Icons/WorldIDWordmark' import { AnimatePresence, motion } from 'framer-motion' import ArrowLongLeftIcon from '../Icons/ArrowLongLeftIcon' import HostAppVerificationState from './States/HostAppVerificationState' @@ -106,7 +105,7 @@ const IDKitWidget: FC = ({ children, ...config }) => { }} transition={{ layout: { duration: 0.15 } }} className={ - 'relative z-50 w-full rounded-t-2xl bg-white pt-6 shadow focus:outline-none focus-visible:ring focus-visible:ring-purple-500/75 dark:bg-0d151d md:max-w-md md:rounded-b-2xl' + 'relative z-50 flex min-h-[35rem] w-full flex-col rounded-t-2xl bg-white pt-6 shadow focus:outline-none focus-visible:ring focus-visible:ring-purple-500/75 dark:bg-0d151d md:max-w-md md:rounded-b-2xl' } > @@ -123,62 +122,32 @@ const IDKitWidget: FC = ({ children, ...config }) => { - + -
- - - - - {processing && ( - - - - )} - +
+
-
-

- {__('Verified with')} - - - -

- {stage != IDKITStage.PRIVACY ? ( - - ) : ( - - {__('Learn More')} → - - )} + diff --git a/packages/react/src/components/IDKitWidget/States/ErrorState.tsx b/packages/react/src/components/IDKitWidget/States/ErrorState.tsx index 3d0c85bb..c2564977 100644 --- a/packages/react/src/components/IDKitWidget/States/ErrorState.tsx +++ b/packages/react/src/components/IDKitWidget/States/ErrorState.tsx @@ -1,23 +1,23 @@ import { __ } from '@/lang' import useIDKitStore from '@/store/idkit' import type { IDKitStore } from '@/store/idkit' -import XMarkIcon from '@/components/Icons/XMarkIcon' +import ErrorIcon from '@/components/Icons/ErrorIcon' import { AppErrorCodes } from '@worldcoin/idkit-core' const getParams = ({ retryFlow, errorState }: IDKitStore) => ({ retryFlow, errorState }) const ERROR_TITLES: Partial> = { + [AppErrorCodes.GenericError]: __('Something went wrong'), [AppErrorCodes.FailedByHostApp]: __('Verification Declined'), - [AppErrorCodes.GenericError]: __('Verification Failed'), } const ERROR_MESSAGES: Record = { - [AppErrorCodes.ConnectionFailed]: __('Connection to the World App or identity wallet failed. Please try again.'), - [AppErrorCodes.VerificationRejected]: __('Verification request rejected in the World App.'), + [AppErrorCodes.ConnectionFailed]: __('Connection to your wallet failed. Please try again.'), + [AppErrorCodes.VerificationRejected]: __('You rejected the verification request.'), [AppErrorCodes.MaxVerificationsReached]: __( 'You have already verified the maximum number of times for this action.' ), - [AppErrorCodes.CredentialUnavailable]: __('It seems you do not have the credential required by this app.'), + [AppErrorCodes.CredentialUnavailable]: __('It seems you do not have the verification level required by this app.'), [AppErrorCodes.MalformedRequest]: __( 'There was a problem with this request. Please try again or contact the app owner.' ), @@ -26,12 +26,10 @@ const ERROR_MESSAGES: Record = { ), [AppErrorCodes.InclusionProofFailed]: __('There was an issue fetching your credential. Please try again.'), [AppErrorCodes.InclusionProofPending]: __( - 'Your credential is still being registered. Please wait a few minutes and try again.' + 'Your identity is still being registered. Please wait a few minutes and try again.' ), [AppErrorCodes.FailedByHostApp]: __('Verification failed by the app. Please contact the app owner for details.'), - [AppErrorCodes.UnexpectedResponse]: __( - 'Unexpected response from the World App or identity wallet. Please try again.' - ), + [AppErrorCodes.UnexpectedResponse]: __('Unexpected response from your wallet. Please try again.'), [AppErrorCodes.GenericError]: __('Something unexpected went wrong. Please try again.'), } @@ -41,17 +39,13 @@ const ErrorState = () => { return (
-
-
- -
-
+

{(errorState?.code && ERROR_TITLES[errorState.code]) || ERROR_TITLES[AppErrorCodes.GenericError]}

-

+

{/* eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing */} {errorState?.message || ERROR_MESSAGES[errorState?.code ?? AppErrorCodes.GenericError]}

@@ -65,11 +59,6 @@ const ErrorState = () => { {__('Try Again')}
-
-

- {__('If you are the app owner, check the console for further details.')} -

-
) } diff --git a/packages/react/src/components/IDKitWidget/States/SuccessState.tsx b/packages/react/src/components/IDKitWidget/States/SuccessState.tsx index 561a18c0..2e0fc9b0 100644 --- a/packages/react/src/components/IDKitWidget/States/SuccessState.tsx +++ b/packages/react/src/components/IDKitWidget/States/SuccessState.tsx @@ -5,16 +5,15 @@ const SuccessState = () => { return (
-
-
- -
-
+
-

{__('Success! 🎉')}

- {/* eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing */} -

{__('World ID verification was successful')}

+

+ {__('Successfully verified')} +

+

+ {__('Your World ID verification was successful')} +

) diff --git a/packages/react/src/components/IDKitWidget/States/WorldID/QRState.tsx b/packages/react/src/components/IDKitWidget/States/WorldID/QRState.tsx index 309472b1..aa119f37 100644 --- a/packages/react/src/components/IDKitWidget/States/WorldID/QRState.tsx +++ b/packages/react/src/components/IDKitWidget/States/WorldID/QRState.tsx @@ -8,6 +8,7 @@ import { useCallback, useState } from 'react' import { AnimatePresence, motion } from 'framer-motion' import LoadingIcon from '@/components/Icons/LoadingIcon' import WorldcoinIcon from '@/components/Icons/WorldcoinIcon' +import QRPlaceholderIcon from '@/components/Icons/QRPlaceholderIcon' type Props = { qrData: string | null @@ -80,7 +81,7 @@ const QRState: FC = ({ qrData, showQR, setShowQR }) => {
) : (
- +
)}
diff --git a/packages/react/src/components/IDKitWidget/States/WorldIDState.tsx b/packages/react/src/components/IDKitWidget/States/WorldIDState.tsx index 01cf15f1..ae30a557 100644 --- a/packages/react/src/components/IDKitWidget/States/WorldIDState.tsx +++ b/packages/react/src/components/IDKitWidget/States/WorldIDState.tsx @@ -70,21 +70,17 @@ const WorldIDState = () => { }, [result, handleVerify, verificationState, setStage, errorCode, setErrorState, credential_types]) return ( -
+
-
- +
+

- {verificationState === VerificationState.WaitingForApp - ? __('Confirm in World App') - : __('Continue with Worldcoin')} + {__('Verify with World ID')} +

+

+ Please use your World App to scan the QR code

- {verificationState === VerificationState.WaitingForApp && ( -

- Please confirm the request in your app to continue. -

- )}
{verificationState === VerificationState.WaitingForApp ? (
@@ -93,7 +89,6 @@ const WorldIDState = () => { ) : ( )} - {(media == 'desktop' || !showQR) && }
) } diff --git a/packages/react/src/components/Icons/CheckIcon.tsx b/packages/react/src/components/Icons/CheckIcon.tsx index 09fc9555..423ab147 100644 --- a/packages/react/src/components/Icons/CheckIcon.tsx +++ b/packages/react/src/components/Icons/CheckIcon.tsx @@ -1,14 +1,54 @@ import type { FC, HTMLAttributes } from 'react' const CheckIcon: FC> = props => ( - + + + + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/packages/react/src/components/Icons/ErrorIcon.tsx b/packages/react/src/components/Icons/ErrorIcon.tsx new file mode 100644 index 00000000..eb3eaedd --- /dev/null +++ b/packages/react/src/components/Icons/ErrorIcon.tsx @@ -0,0 +1,47 @@ +import type { FC, HTMLAttributes } from 'react' + +const ErrorIcon: FC> = props => ( + + + + + + + + + + + + + + + + + + + + + + + + + + + +) + +export default ErrorIcon diff --git a/packages/react/src/components/Icons/QRPlaceholderIcon.tsx b/packages/react/src/components/Icons/QRPlaceholderIcon.tsx new file mode 100644 index 00000000..bdf9af18 --- /dev/null +++ b/packages/react/src/components/Icons/QRPlaceholderIcon.tsx @@ -0,0 +1,77 @@ +import type { SVGAttributes } from 'react' + +const QRPlaceholderIcon = (props: SVGAttributes) => ( + + + + + + + + + + + + + + + + + + + + + + +) + +export default QRPlaceholderIcon diff --git a/packages/react/tailwind.config.cjs b/packages/react/tailwind.config.cjs index a9502e06..4756ac62 100644 --- a/packages/react/tailwind.config.cjs +++ b/packages/react/tailwind.config.cjs @@ -35,12 +35,10 @@ module.exports = { ...mirrorHexColors([ '#0d151d', '#1e40af', - '#28303f', '#29343f', '#4940e0', '#596673', - '#5b52f3', - '#6445dd', + '#657080', '#70868f', '#9eafc0', '#d3dfea', @@ -48,7 +46,7 @@ module.exports = { '#ece8fb', '#f1f5f8', '#f2f5f9', - '#ff6848', + '#f5f5f7', ]), }, backgroundImage: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1cc842f..ca4866e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,7 +20,7 @@ importers: devDependencies: vite: specifier: ^4.4.12 - version: 4.4.12 + version: 4.5.1 examples/with-next: dependencies: @@ -63,17 +63,17 @@ importers: version: 6.0.3 viem: specifier: ^1.19.11 - version: 1.19.11(typescript@5.3.2) + version: 1.19.11(typescript@5.3.3) zustand: specifier: ^4.3.3 version: 4.4.1(@types/react@18.0.25)(react@18.2.0) devDependencies: '@typescript-eslint/eslint-plugin': specifier: ^6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': specifier: ^6.13.1 - version: 6.13.1(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(eslint@8.54.0)(typescript@5.3.3) prettier: specifier: ^2.7.1 version: 2.8.8 @@ -82,10 +82,10 @@ importers: version: 1.0.0 tsup: specifier: ^7.2.0 - version: 7.2.0(postcss@8.4.31)(typescript@5.3.2) + version: 7.2.0(postcss@8.4.31)(typescript@5.3.3) typescript: specifier: ^5.3.2 - version: 5.3.2 + version: 5.3.3 packages/react: dependencies: @@ -140,10 +140,10 @@ importers: version: 18.0.9 '@typescript-eslint/eslint-plugin': specifier: ^6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': specifier: ^6.13.1 - version: 6.13.1(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(eslint@8.54.0)(typescript@5.3.3) autoprefixer: specifier: ^10.4.13 version: 10.4.16(postcss@8.4.31) @@ -158,7 +158,7 @@ importers: version: 4.2.0(eslint@8.54.0) eslint-plugin-import: specifier: 2.26.0 - version: 2.26.0(@typescript-eslint/parser@6.13.1)(eslint@8.54.0) + version: 2.26.0(@typescript-eslint/parser@6.13.2)(eslint@8.54.0) eslint-plugin-jsx-a11y: specifier: ^6.6.1 version: 6.7.1(eslint@8.54.0) @@ -194,10 +194,10 @@ importers: version: 3.3.3 tsup: specifier: ^7.2.0 - version: 7.2.0(postcss@8.4.31)(typescript@5.3.2) + version: 7.2.0(postcss@8.4.31)(typescript@5.3.3) typescript: specifier: ^5.3.2 - version: 5.3.2 + version: 5.3.3 packages/standalone: dependencies: @@ -219,10 +219,10 @@ importers: version: 18.0.9 '@typescript-eslint/eslint-plugin': specifier: ^6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': specifier: ^6.13.1 - version: 6.13.1(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.2(eslint@8.54.0)(typescript@5.3.3) eslint: specifier: 8.54.0 version: 8.54.0 @@ -234,10 +234,10 @@ importers: version: 1.0.0 tsup: specifier: ^7.2.0 - version: 7.2.0(postcss@8.4.31)(typescript@5.3.2) + version: 7.2.0(postcss@8.4.31)(typescript@5.3.3) typescript: specifier: ^5.3.2 - version: 5.3.2 + version: 5.3.3 packages: @@ -504,8 +504,8 @@ packages: - supports-color dev: true - /@eslint/eslintrc@2.1.3: - resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} + /@eslint/eslintrc@2.1.4: + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -1216,8 +1216,8 @@ packages: resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} dev: true - /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-5bQDGkXaxD46bPvQt08BUz9YSaO4S0fB1LB5JHQuXTfkGPI3+UUeS387C/e9jRie5GqT8u5kFTrMvAjtX4O5kA==} + /@typescript-eslint/eslint-plugin@6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.54.0)(typescript@5.3.3): + resolution: {integrity: sha512-3+9OGAWHhk4O1LlcwLBONbdXsAhLjyCFogJY/cWy2lxdVJ2JrcTF2pTGMaLl2AE7U1l31n8Py4a8bx5DLf/0dQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -1228,25 +1228,25 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/type-utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/parser': 6.13.2(eslint@8.54.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/type-utils': 6.13.2(eslint@8.54.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.13.2(eslint@8.54.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 eslint: 8.54.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.2) - typescript: 5.3.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==} + /@typescript-eslint/parser@6.13.2(eslint@8.54.0)(typescript@5.3.3): + resolution: {integrity: sha512-MUkcC+7Wt/QOGeVlM8aGGJZy1XV5YKjTpq9jK6r6/iLsGXhBVaGP5N0UYvFsu9BFlSpwY9kMretzdBH01rkRXg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1255,13 +1255,13 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 eslint: 8.54.0 - typescript: 5.3.2 + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -1287,12 +1287,12 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.13.1: - resolution: {integrity: sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==} + /@typescript-eslint/scope-manager@6.13.2: + resolution: {integrity: sha512-CXQA0xo7z6x13FeDYCgBkjWzNqzBn8RXaE3QVQVIUm74fWJLkJkaHmHdKStrxQllGh6Q4eUGyNpMe0b1hMkXFA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/visitor-keys': 6.13.2 dev: true /@typescript-eslint/scope-manager@6.7.4: @@ -1303,8 +1303,8 @@ packages: '@typescript-eslint/visitor-keys': 6.7.4 dev: true - /@typescript-eslint/type-utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==} + /@typescript-eslint/type-utils@6.13.2(eslint@8.54.0)(typescript@5.3.3): + resolution: {integrity: sha512-Qr6ssS1GFongzH2qfnWKkAQmMUyZSyOr0W54nZNU1MDfo+U4Mv3XveeLZzadc/yq8iYhQZHYT+eoXJqnACM1tw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1313,18 +1313,18 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.3) + '@typescript-eslint/utils': 6.13.2(eslint@8.54.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.54.0 - ts-api-utils: 1.0.3(typescript@5.3.2) - typescript: 5.3.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types@6.13.1: - resolution: {integrity: sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==} + /@typescript-eslint/types@6.13.2: + resolution: {integrity: sha512-7sxbQ+EMRubQc3wTfTsycgYpSujyVbI1xw+3UMRUcrhSy+pN09y/lWzeKDbvhoqcRbHdc+APLs/PWYi/cisLPg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true @@ -1333,8 +1333,8 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.13.1(typescript@5.3.2): - resolution: {integrity: sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==} + /@typescript-eslint/typescript-estree@6.13.2(typescript@5.3.3): + resolution: {integrity: sha512-SuD8YLQv6WHnOEtKv8D6HZUzOub855cfPnPMKvdM/Bh1plv1f7Q/0iFUDLKKlxHcEstQnaUU4QZskgQq74t+3w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1342,14 +1342,14 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/visitor-keys': 6.13.1 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/visitor-keys': 6.13.2 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.2) - typescript: 5.3.2 + ts-api-utils: 1.0.3(typescript@5.3.3) + typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true @@ -1375,8 +1375,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): - resolution: {integrity: sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==} + /@typescript-eslint/utils@6.13.2(eslint@8.54.0)(typescript@5.3.3): + resolution: {integrity: sha512-b9Ptq4eAZUym4idijCRzl61oPCwwREcfDI8xGk751Vhzig5fFZR9CyzDz4Sp/nxSLBYxUPyh4QdIDqWykFhNmQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1384,9 +1384,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/types': 6.13.1 - '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) + '@typescript-eslint/scope-manager': 6.13.2 + '@typescript-eslint/types': 6.13.2 + '@typescript-eslint/typescript-estree': 6.13.2(typescript@5.3.3) eslint: 8.54.0 semver: 7.5.4 transitivePeerDependencies: @@ -1394,11 +1394,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.13.1: - resolution: {integrity: sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==} + /@typescript-eslint/visitor-keys@6.13.2: + resolution: {integrity: sha512-OGznFs0eAQXJsp+xSd6k/O1UbFi/K/L7WjqeRoFE7vadjAF9y0uppXhYNQNEqygjou782maGClOoZwPqF0Drlw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.13.1 + '@typescript-eslint/types': 6.13.2 eslint-visitor-keys: 3.4.3 dev: true @@ -1414,7 +1414,7 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /abitype@0.9.8(typescript@5.3.2): + /abitype@0.9.8(typescript@5.3.3): resolution: {integrity: sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ==} peerDependencies: typescript: '>=5.0.4' @@ -1425,7 +1425,7 @@ packages: zod: optional: true dependencies: - typescript: 5.3.2 + typescript: 5.3.3 dev: false /acorn-jsx@5.3.2(acorn@8.10.0): @@ -2100,7 +2100,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -2121,7 +2121,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.2(eslint@8.54.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.54.0 eslint-import-resolver-node: 0.3.9 @@ -2175,7 +2175,7 @@ packages: semver: 7.5.4 dev: true - /eslint-plugin-import@2.26.0(@typescript-eslint/parser@6.13.1)(eslint@8.54.0): + /eslint-plugin-import@2.26.0(@typescript-eslint/parser@6.13.2)(eslint@8.54.0): resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -2185,14 +2185,14 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.2(eslint@8.54.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.flat: 1.3.2 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.54.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.2)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0) has: 1.0.3 is-core-module: 2.13.0 is-glob: 4.0.3 @@ -2470,7 +2470,7 @@ packages: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@eslint-community/regexpp': 4.9.1 - '@eslint/eslintrc': 2.1.3 + '@eslint/eslintrc': 2.1.4 '@eslint/js': 8.54.0 '@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/module-importer': 1.0.1 @@ -4113,13 +4113,13 @@ packages: typescript: 5.2.2 dev: true - /ts-api-utils@1.0.3(typescript@5.3.2): + /ts-api-utils@1.0.3(typescript@5.3.3): resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.2 + typescript: 5.3.3 dev: true /ts-interface-checker@0.1.13: @@ -4142,7 +4142,7 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: false - /tsup@7.2.0(postcss@8.4.31)(typescript@5.3.2): + /tsup@7.2.0(postcss@8.4.31)(typescript@5.3.3): resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} hasBin: true @@ -4173,7 +4173,7 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.34.0 tree-kill: 1.2.2 - typescript: 5.3.2 + typescript: 5.3.3 transitivePeerDependencies: - supports-color - ts-node @@ -4301,8 +4301,8 @@ packages: hasBin: true dev: true - /typescript@5.3.2: - resolution: {integrity: sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==} + /typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} hasBin: true @@ -4378,7 +4378,7 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /viem@1.19.11(typescript@5.3.2): + /viem@1.19.11(typescript@5.3.3): resolution: {integrity: sha512-dbsXEWDBZkByuzJXAs/e01j7dpUJ5ICF5WcyntFwf8Y97n5vnC/91lAleSa6DA5V4WJvYZbhDpYeTctsMAQnhA==} peerDependencies: typescript: '>=5.0.4' @@ -4391,9 +4391,9 @@ packages: '@noble/hashes': 1.3.2 '@scure/bip32': 1.3.2 '@scure/bip39': 1.2.1 - abitype: 0.9.8(typescript@5.3.2) + abitype: 0.9.8(typescript@5.3.3) isows: 1.0.3(ws@8.13.0) - typescript: 5.3.2 + typescript: 5.3.3 ws: 8.13.0 transitivePeerDependencies: - bufferutil @@ -4401,8 +4401,8 @@ packages: - zod dev: false - /vite@4.4.12: - resolution: {integrity: sha512-KtPlUbWfxzGVul8Nut8Gw2Qe8sBzWY+8QVc5SL8iRFnpnrcoCaNlzO40c1R6hPmcdTwIPEDkq0Y9+27a5tVbdQ==} + /vite@4.5.1: + resolution: {integrity: sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: