diff --git a/apps/gallery/package.json b/apps/gallery/package.json index 94508f814a..53469f8ac6 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "private": true, "main": "index.js", "scripts": { @@ -9,17 +9,18 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/ui": "3.5.0", + "@web3modal/ui": "3.5.0-6a05dc24", + "@web3modal/common": "3.5.0-6a05dc24", "lit": "3.1.0", - "storybook": "7.6.3" + "storybook": "7.6.4" }, "devDependencies": { - "@storybook/addon-essentials": "7.6.3", - "@storybook/addon-links": "7.6.3", - "@storybook/blocks": "7.6.3", - "@storybook/theming": "7.6.3", - "@storybook/web-components": "7.6.3", - "@storybook/web-components-vite": "7.6.3", + "@storybook/addon-essentials": "7.6.4", + "@storybook/addon-links": "7.6.4", + "@storybook/blocks": "7.6.4", + "@storybook/theming": "7.6.4", + "@storybook/web-components": "7.6.4", + "@storybook/web-components-vite": "7.6.4", "file-system-cache": "2.4.4" } } diff --git a/apps/gallery/utils/PresetUtils.ts b/apps/gallery/utils/PresetUtils.ts index d4494cfe94..96fc3ffd0c 100644 --- a/apps/gallery/utils/PresetUtils.ts +++ b/apps/gallery/utils/PresetUtils.ts @@ -26,7 +26,8 @@ import type { ThemeType, TransactionType, VisualType -} from '@web3modal/ui/src/utils/TypesUtil' +} from '@web3modal/ui/src/utils/TypeUtil' +import type { TransactionStatus, TransactionDirection } from '@web3modal/common' export const colorOptions: ColorType[] = [ 'accent-100', @@ -263,9 +264,9 @@ export const transactionTypeOptions: TransactionType[] = [ 'withdraw' ] -export const transactionDirectionOptions: TransactionType[] = ['', 'in', 'out'] +export const transactionDirectionOptions: TransactionDirection[] = ['in', 'out'] -export const transactionStatusOptions: TransactionType[] = ['confirmed', 'pending', 'failed'] +export const transactionStatusOptions: TransactionStatus[] = ['confirmed', 'pending', 'failed'] export const cardSelectOptions: CardSelectType[] = ['network', 'wallet'] diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index dfda71cb47..f82c21d899 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "private": true, "scripts": { "dev:laboratory": "next dev", @@ -11,17 +11,17 @@ "@chakra-ui/react": "2.8.2", "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", - "@sentry/browser": "7.84.0", - "@sentry/react": "7.84.0", - "@web3modal/ethers": "3.5.0", - "@web3modal/ethers5": "3.5.0", - "@web3modal/wagmi": "3.5.0", - "framer-motion": "10.16.12", - "next": "14.0.3", + "@sentry/browser": "7.86.0", + "@sentry/react": "7.86.0", + "@web3modal/ethers": "3.5.0-6a05dc24", + "@web3modal/ethers5": "3.5.0-6a05dc24", + "@web3modal/wagmi": "3.5.0-6a05dc24", + "framer-motion": "10.16.16", + "next": "14.0.4", "next-auth": "4.24.5", "react-icons": "4.12.0", "siwe": "2.1.4", - "valtio": "1.12.1" + "valtio": "1.11.2" }, "devDependencies": { "ethers": "6.9.0" diff --git a/dangerfile.ts b/dangerfile.ts index f4b6db9f97..4f25e3fd97 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -130,19 +130,17 @@ async function checkUiPackage() { fail('New layout components were added, but not exported in ui/index.ts') } - // TODO: Uncomment after first pr merged (when file will have diffs insted of being created) - - // if (created_ui_components_index_ts.length && !jsx_index_diff?.added.includes('../components')) { - // fail('New components were added, but not exported in ui/utils/JSXTypeUtil.ts') - // } + if (created_ui_components_index_ts.length && !jsx_index_diff?.added.includes('../components')) { + fail('New components were added, but not exported in ui/utils/JSXTypeUtil.ts') + } - // if (created_ui_composites_index_ts.length && !jsx_index_diff?.added.includes('../composites')) { - // fail('New composites were added, but not exported in ui/utils/JSXTypeUtil.ts') - // } + if (created_ui_composites_index_ts.length && !jsx_index_diff?.added.includes('../composites')) { + fail('New composites were added, but not exported in ui/utils/JSXTypeUtil.ts') + } - // if (created_ui_layout_index_ts.length && !jsx_index_diff?.added.includes('../layout')) { - // fail('New layout components were added, but not exported in ui/utils/JSXTypeUtil.ts') - // } + if (created_ui_layout_index_ts.length && !jsx_index_diff?.added.includes('../layout')) { + fail('New layout components were added, but not exported in ui/utils/JSXTypeUtil.ts') + } if (created_ui_components.length && !created_ui_components_stories.length) { fail('New components were added, but no stories were created') diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index e023369845..e6bdeb2ee1 100644 --- a/examples/html-ethers5/package.json +++ b/examples/html-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-ethers5", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" } } diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index bbafb0a75f..6197837815 100644 --- a/examples/html-wagmi/package.json +++ b/examples/html-wagmi/package.json @@ -1,12 +1,12 @@ { "name": "@examples/html-wagmi", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" } } diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 2410c724df..b3554e7479 100644 --- a/examples/react-ethers5/package.json +++ b/examples/react-ethers5/package.json @@ -1,16 +1,16 @@ { "name": "@examples/react-ethers5", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" }, "devDependencies": { - "@vitejs/plugin-react": "4.2.0" + "@vitejs/plugin-react": "4.2.1" } } diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index 2bfa229d4b..411fa9433d 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -1,15 +1,15 @@ { "name": "@examples/react-wagmi", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" }, "devDependencies": { - "@vitejs/plugin-react": "4.2.0" + "@vitejs/plugin-react": "4.2.1" } } diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index 725054ceb3..b45773234f 100644 --- a/examples/vue-ethers5/package.json +++ b/examples/vue-ethers5/package.json @@ -1,16 +1,16 @@ { "name": "@examples/vue-ethers5", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" }, "devDependencies": { - "@vitejs/plugin-vue": "4.5.1" + "@vitejs/plugin-vue": "4.5.2" } } diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index 31a8263cb2..cf9d594a2e 100644 --- a/examples/vue-wagmi/package.json +++ b/examples/vue-wagmi/package.json @@ -1,15 +1,15 @@ { "name": "@examples/vue-wagmi", "private": true, - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" }, "devDependencies": { - "@vitejs/plugin-vue": "4.5.1" + "@vitejs/plugin-vue": "4.5.2" } } diff --git a/lerna.json b/lerna.json index 187e52def1..e98f0872b4 100644 --- a/lerna.json +++ b/lerna.json @@ -17,6 +17,6 @@ "apps/*", "examples/*" ], - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } diff --git a/package-lock.json b/package-lock.json index 8394d210f0..395112d765 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,42 +25,43 @@ "examples/*" ], "devDependencies": { - "@types/react": "18.2.41", + "@types/react": "18.2.45", "@types/react-dom": "18.2.17", - "@typescript-eslint/eslint-plugin": "6.13.1", - "@typescript-eslint/parser": "6.13.1", - "danger": "11.3.0", + "@typescript-eslint/eslint-plugin": "6.14.0", + "@typescript-eslint/parser": "6.14.0", + "danger": "11.3.1", "eslint": "8.55.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-require-extensions": "0.1.3", "lerna": "8.0.0", - "prettier": "3.1.0", + "prettier": "3.1.1", "react": "18.2.0", "react-dom": "18.2.0", - "turbo": "1.10.16", - "typescript": "5.3.2", - "viem": "1.19.11", - "vite": "5.0.4", - "vitest": "0.34.6", - "vue": "3.3.9", - "wagmi": "1.4.7" + "turbo": "1.11.2", + "typescript": "5.3.3", + "viem": "1.19.13", + "vite": "5.0.8", + "vitest": "1.0.4", + "vue": "3.3.11", + "wagmi": "1.4.11" } }, "apps/gallery": { "name": "@apps/gallery", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/ui": "3.5.0", + "@web3modal/common": "3.5.0-6a05dc24", + "@web3modal/ui": "3.5.0-6a05dc24", "lit": "3.1.0", - "storybook": "7.6.3" + "storybook": "7.6.4" }, "devDependencies": { - "@storybook/addon-essentials": "7.6.3", - "@storybook/addon-links": "7.6.3", - "@storybook/blocks": "7.6.3", - "@storybook/theming": "7.6.3", - "@storybook/web-components": "7.6.3", - "@storybook/web-components-vite": "7.6.3", + "@storybook/addon-essentials": "7.6.4", + "@storybook/addon-links": "7.6.4", + "@storybook/blocks": "7.6.4", + "@storybook/theming": "7.6.4", + "@storybook/web-components": "7.6.4", + "@storybook/web-components-vite": "7.6.4", "file-system-cache": "2.4.4" } }, @@ -76,22 +77,22 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { "@chakra-ui/react": "2.8.2", "@emotion/react": "11.11.1", "@emotion/styled": "11.11.0", - "@sentry/browser": "7.84.0", - "@sentry/react": "7.84.0", - "@web3modal/ethers": "3.5.0", - "@web3modal/ethers5": "3.5.0", - "@web3modal/wagmi": "3.5.0", - "framer-motion": "10.16.12", - "next": "14.0.3", + "@sentry/browser": "7.86.0", + "@sentry/react": "7.86.0", + "@web3modal/ethers": "3.5.0-6a05dc24", + "@web3modal/ethers5": "3.5.0-6a05dc24", + "@web3modal/wagmi": "3.5.0-6a05dc24", + "framer-motion": "10.16.16", + "next": "14.0.4", "next-auth": "4.24.5", "react-icons": "4.12.0", "siwe": "2.1.4", - "valtio": "1.12.1" + "valtio": "1.11.2" }, "devDependencies": { "ethers": "6.9.0" @@ -99,9 +100,9 @@ }, "examples/html-ethers5": { "name": "@examples/html-ethers5", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" } }, @@ -154,20 +155,20 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" } }, "examples/react-ethers5": { "name": "@examples/react-ethers5", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" }, "devDependencies": { - "@vitejs/plugin-react": "4.2.0" + "@vitejs/plugin-react": "4.2.1" } }, "examples/react-ethers5/node_modules/ethers": { @@ -219,23 +220,23 @@ }, "examples/react-wagmi": { "name": "@examples/react-wagmi", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" }, "devDependencies": { - "@vitejs/plugin-react": "4.2.0" + "@vitejs/plugin-react": "4.2.1" } }, "examples/vue-ethers5": { "name": "@examples/vue-ethers5", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/ethers5": "3.5.0", + "@web3modal/ethers5": "3.5.0-6a05dc24", "ethers": "5.7.2" }, "devDependencies": { - "@vitejs/plugin-vue": "4.5.1" + "@vitejs/plugin-vue": "4.5.2" } }, "examples/vue-ethers5/node_modules/ethers": { @@ -287,12 +288,12 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "dependencies": { - "@web3modal/wagmi": "3.5.0" + "@web3modal/wagmi": "3.5.0-6a05dc24" }, "devDependencies": { - "@vitejs/plugin-vue": "4.5.1" + "@vitejs/plugin-vue": "4.5.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -4321,6 +4322,11 @@ "scrypt-js": "3.0.1" } }, + "node_modules/@ethersproject/json-wallets/node_modules/aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + }, "node_modules/@ethersproject/keccak256": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", @@ -5904,14 +5910,14 @@ } }, "node_modules/@next/env": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.3.tgz", - "integrity": "sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA==" + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.4.tgz", + "integrity": "sha512-irQnbMLbUNQpP1wcE5NstJtbuA/69kRfzBrpAD7Gsn8zm/CY6YQYc3HQBz8QPxwISG26tIm5afvvVbu508oBeQ==" }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.3.tgz", - "integrity": "sha512-64JbSvi3nbbcEtyitNn2LEDS/hcleAFpHdykpcnrstITFlzFgB/bW0ER5/SJJwUPj+ZPY+z3e+1jAfcczRLVGw==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.4.tgz", + "integrity": "sha512-mF05E/5uPthWzyYDyptcwHptucf/jj09i2SXBPwNzbgBNc+XnwzrL0U6BmPjQeOL+FiB+iG1gwBeq7mlDjSRPg==", "cpu": [ "arm64" ], @@ -5924,9 +5930,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.3.tgz", - "integrity": "sha512-RkTf+KbAD0SgYdVn1XzqE/+sIxYGB7NLMZRn9I4Z24afrhUpVJx6L8hsRnIwxz3ERE2NFURNliPjJ2QNfnWicQ==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.4.tgz", + "integrity": "sha512-IZQ3C7Bx0k2rYtrZZxKKiusMTM9WWcK5ajyhOZkYYTCc8xytmwSzR1skU7qLgVT/EY9xtXDG0WhY6fyujnI3rw==", "cpu": [ "x64" ], @@ -5939,9 +5945,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.3.tgz", - "integrity": "sha512-3tBWGgz7M9RKLO6sPWC6c4pAw4geujSwQ7q7Si4d6bo0l6cLs4tmO+lnSwFp1Tm3lxwfMk0SgkJT7EdwYSJvcg==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.4.tgz", + "integrity": "sha512-VwwZKrBQo/MGb1VOrxJ6LrKvbpo7UbROuyMRvQKTFKhNaXjUmKTu7wxVkIuCARAfiI8JpaWAnKR+D6tzpCcM4w==", "cpu": [ "arm64" ], @@ -5954,9 +5960,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.3.tgz", - "integrity": "sha512-v0v8Kb8j8T23jvVUWZeA2D8+izWspeyeDGNaT2/mTHWp7+37fiNfL8bmBWiOmeumXkacM/AB0XOUQvEbncSnHA==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.4.tgz", + "integrity": "sha512-8QftwPEW37XxXoAwsn+nXlodKWHfpMaSvt81W43Wh8dv0gkheD+30ezWMcFGHLI71KiWmHK5PSQbTQGUiidvLQ==", "cpu": [ "arm64" ], @@ -5969,9 +5975,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.3.tgz", - "integrity": "sha512-VM1aE1tJKLBwMGtyBR21yy+STfl0MapMQnNrXkxeyLs0GFv/kZqXS5Jw/TQ3TSUnbv0QPDf/X8sDXuMtSgG6eg==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.4.tgz", + "integrity": "sha512-/s/Pme3VKfZAfISlYVq2hzFS8AcAIOTnoKupc/j4WlvF6GQ0VouS2Q2KEgPuO1eMBwakWPB1aYFIA4VNVh667A==", "cpu": [ "x64" ], @@ -5984,9 +5990,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.3.tgz", - "integrity": "sha512-64EnmKy18MYFL5CzLaSuUn561hbO1Gk16jM/KHznYP3iCIfF9e3yULtHaMy0D8zbHfxset9LTOv6cuYKJgcOxg==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.4.tgz", + "integrity": "sha512-m8z/6Fyal4L9Bnlxde5g2Mfa1Z7dasMQyhEhskDATpqr+Y0mjOBZcXQ7G5U+vgL22cI4T7MfvgtrM2jdopqWaw==", "cpu": [ "x64" ], @@ -5999,9 +6005,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.3.tgz", - "integrity": "sha512-WRDp8QrmsL1bbGtsh5GqQ/KWulmrnMBgbnb+59qNTW1kVi1nG/2ndZLkcbs2GX7NpFLlToLRMWSQXmPzQm4tog==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.4.tgz", + "integrity": "sha512-7Wv4PRiWIAWbm5XrGz3D8HUkCVDMMz9igffZG4NB1p4u1KoItwx9qjATHz88kwCEal/HXmbShucaslXCQXUM5w==", "cpu": [ "arm64" ], @@ -6014,9 +6020,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.3.tgz", - "integrity": "sha512-EKffQeqCrj+t6qFFhIFTRoqb2QwX1mU7iTOvMyLbYw3QtqTw9sMwjykyiMlZlrfm2a4fA84+/aeW+PMg1MjuTg==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.4.tgz", + "integrity": "sha512-zLeNEAPULsl0phfGb4kdzF/cAVIfaC7hY+kt0/d+y9mzcZHsMS3hAS829WbJ31DkSlVKQeHEjZHIdhN+Pg7Gyg==", "cpu": [ "ia32" ], @@ -6029,9 +6035,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.3.tgz", - "integrity": "sha512-ERhKPSJ1vQrPiwrs15Pjz/rvDHZmkmvbf/BjPN/UCOI++ODftT0GtasDPi0j+y6PPJi5HsXw+dpRaXUaw4vjuQ==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.4.tgz", + "integrity": "sha512-yEh2+R8qDlDCjxVpzOTEpBLQTEFAcP2A8fUFLaWNap9GitYKkKv1//y2S6XY6zsR4rCOPRpU7plYDR+az2n30A==", "cpu": [ "x64" ], @@ -7780,23 +7786,14 @@ ] }, "node_modules/@safe-global/safe-apps-provider": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@safe-global/safe-apps-provider/-/safe-apps-provider-0.17.1.tgz", - "integrity": "sha512-lYfRqrbbK1aKU1/UGkYWc/X7PgySYcumXKc5FB2uuwAs2Ghj8uETuW5BrwPqyjBknRxutFbTv+gth/JzjxAhdQ==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@safe-global/safe-apps-provider/-/safe-apps-provider-0.18.1.tgz", + "integrity": "sha512-V4a05A3EgJcriqtDoJklDz1BOinWhC6P0hjUSxshA4KOZM7rGPCTto/usXs09zr1vvL28evl/NldSTv97j2bmg==", "dependencies": { - "@safe-global/safe-apps-sdk": "8.0.0", + "@safe-global/safe-apps-sdk": "^8.1.0", "events": "^3.3.0" } }, - "node_modules/@safe-global/safe-apps-provider/node_modules/@safe-global/safe-apps-sdk": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@safe-global/safe-apps-sdk/-/safe-apps-sdk-8.0.0.tgz", - "integrity": "sha512-gYw0ki/EAuV1oSyMxpqandHjnthZjYYy+YWpTAzf8BqfXM3ItcZLpjxfg+3+mXW8HIO+3jw6T9iiqEXsqHaMMw==", - "dependencies": { - "@safe-global/safe-gateway-typescript-sdk": "^3.5.3", - "viem": "^1.0.0" - } - }, "node_modules/@safe-global/safe-apps-sdk": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@safe-global/safe-apps-sdk/-/safe-apps-sdk-8.1.0.tgz", @@ -7847,54 +7844,68 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/@sentry-internal/feedback": { + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-7.86.0.tgz", + "integrity": "sha512-6rl0JYjmAKnhm4/fuFaROh4Ht8oi9f6ZeIcViCuGJcrGICZJJY0s+R77XJI78rNa82PYFrSCcnWXcGji4T8E7g==", + "dependencies": { + "@sentry/core": "7.86.0", + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@sentry-internal/tracing": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.84.0.tgz", - "integrity": "sha512-y9bGYA0OM6PEREfd+nk4UURZy29tpIw+7vQwpxWfEVs2fqq0/5TBFX/tKFb8AKUI9lVM8v0bcF0bNSCnuPQZHQ==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.86.0.tgz", + "integrity": "sha512-b4dUsNWlPWRwakGwR7bhOkqiFlqQszH1hhVFwrm/8s3kqEBZ+E4CeIfCvuHBHQ1cM/fx55xpXX/BU163cy+3iQ==", "dependencies": { - "@sentry/core": "7.84.0", - "@sentry/types": "7.84.0", - "@sentry/utils": "7.84.0" + "@sentry/core": "7.86.0", + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/browser": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.84.0.tgz", - "integrity": "sha512-X50TlTKY9WzAnHsYc4FYrCWgm+CdVo0h02ggmodVBUpRLUBjj+cs5Q1plov/v/XeorSwmorNEMUu/n+XZNSsrA==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.86.0.tgz", + "integrity": "sha512-nfYWpVOmug+W7KJO7/xhA1JScMZcYHcoOVHLsUFm4znx51U4qZEk+zZDM11Q2Nw6MuDyEYg6bsH1QCwaoC6nLw==", "dependencies": { - "@sentry-internal/tracing": "7.84.0", - "@sentry/core": "7.84.0", - "@sentry/replay": "7.84.0", - "@sentry/types": "7.84.0", - "@sentry/utils": "7.84.0" + "@sentry-internal/feedback": "7.86.0", + "@sentry-internal/tracing": "7.86.0", + "@sentry/core": "7.86.0", + "@sentry/replay": "7.86.0", + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/core": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.84.0.tgz", - "integrity": "sha512-tbuwunbBx2kSex15IHCqHDnrMfIlqPc6w/76fwkGqokz3oh9GSEGlLICwmBWL8AypWimUg13IDtFpD0TJTriWA==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.86.0.tgz", + "integrity": "sha512-SbLvqd1bRYzhDS42u7GMnmbDMfth/zRiLElQWbLK/shmuZzTcfQSwNNdF4Yj+VfjOkqPFgGmICHSHVUc9dh01g==", "dependencies": { - "@sentry/types": "7.84.0", - "@sentry/utils": "7.84.0" + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0" }, "engines": { "node": ">=8" } }, "node_modules/@sentry/react": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.84.0.tgz", - "integrity": "sha512-VQZrEHwPKCYTSbRYXD2ohXcQg99G1Hgs8eevRUuRpdChmA2e3z/RvT00NlaSNNZrS86wPyKpAK6kickB/eSYrw==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.86.0.tgz", + "integrity": "sha512-2bHi+YcG4cT+4xHXXzv+AZpU3pdPUlDBorSgHOpa9At4yxr17UWW2f8bP9wPYRgj+NEIM3YhDgR46FlBu9GSKg==", "dependencies": { - "@sentry/browser": "7.84.0", - "@sentry/types": "7.84.0", - "@sentry/utils": "7.84.0", + "@sentry/browser": "7.86.0", + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0", "hoist-non-react-statics": "^3.3.2" }, "engines": { @@ -7905,33 +7916,33 @@ } }, "node_modules/@sentry/replay": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.84.0.tgz", - "integrity": "sha512-c4PxT0ZpvkR9zXNfmAk3ojkm6eZ9+NlDze09RFBOCNo69QwIN90hnvbjXFC1+vRIJsfgo78Zr0ya/Wzb3Rog7Q==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.86.0.tgz", + "integrity": "sha512-YYZO8bfQSx1H87Te/zzyHPLHvExWiYwUfMWW68yGX+PPZIIzxaM81/iCQHkoucxlvuPCOtxCgf7RSMbsnqEa8g==", "dependencies": { - "@sentry-internal/tracing": "7.84.0", - "@sentry/core": "7.84.0", - "@sentry/types": "7.84.0", - "@sentry/utils": "7.84.0" + "@sentry-internal/tracing": "7.86.0", + "@sentry/core": "7.86.0", + "@sentry/types": "7.86.0", + "@sentry/utils": "7.86.0" }, "engines": { "node": ">=12" } }, "node_modules/@sentry/types": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.84.0.tgz", - "integrity": "sha512-VqGLIF3JOUrk7yIXjLXJvAORkZL1e3dDX0Q1okRehwyt/5CRE+mdUTeJZkBo9P9mBwgMyvtwklzOGGrzjb4eMA==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.86.0.tgz", + "integrity": "sha512-pGAt0+bMfWgo0KG2epthfNV4Wae03tURpoxNjGo5Fr4cXxvLTSijSAQ6rmmO4bXBJ7+rErEjX30g30o/eEdP9g==", "engines": { "node": ">=8" } }, "node_modules/@sentry/utils": { - "version": "7.84.0", - "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.84.0.tgz", - "integrity": "sha512-qdUVuxnRBvaf05AU+28R+xYtZmi/Ymf8os3Njq9g4XuA+QEkZLbzmIpRK5W9Ja7vUtjOeg29Xgg43A8znde9LQ==", + "version": "7.86.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.86.0.tgz", + "integrity": "sha512-6PejFtw9VTFFy5vu0ks+U7Ozkqz+eMt+HN8AZKBKErYzX5/xs0kpkOcSRpu3ETdTYcZf8VAmLVgFgE2BE+3WuQ==", "dependencies": { - "@sentry/types": "7.84.0" + "@sentry/types": "7.86.0" }, "engines": { "node": ">=8" @@ -8466,12 +8477,12 @@ } }, "node_modules/@storybook/addon-actions": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-7.6.3.tgz", - "integrity": "sha512-f4HXteYE8IJXztAK+ab5heSjXWNWvyIAU63T3Fqe3zmqONwCerUKY54Op+RkAZc/R6aALTxvGRKAH2ff8g2vjQ==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-7.6.4.tgz", + "integrity": "sha512-91UD5KPDik74VKVioPMcbwwvDXN/non8p1wArYAHCHCmd/Pts5MJRiFueSdfomSpNjUtjtn6eSXtwpIL3XVOfQ==", "dev": true, "dependencies": { - "@storybook/core-events": "7.6.3", + "@storybook/core-events": "7.6.4", "@storybook/global": "^5.0.0", "@types/uuid": "^9.0.1", "dequal": "^2.0.2", @@ -8484,9 +8495,9 @@ } }, "node_modules/@storybook/addon-backgrounds": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-7.6.3.tgz", - "integrity": "sha512-ZZFNf8FBYBsuXvXdVk3sBgxJTn6s0HznuEE9OmAA7tMsLEDlUiWS9LEvjX2jX5K0kWivHTkJDTXV0NcLL1vWAg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-7.6.4.tgz", + "integrity": "sha512-gNy3kIkHSr+Lg/jVDHwbZjIe1po5SDGZNVe39vrJwnqGz8T1clWes9WHCL6zk/uaCDA3yUna2Nt/KlOFAWDSoQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -8499,12 +8510,12 @@ } }, "node_modules/@storybook/addon-controls": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-7.6.3.tgz", - "integrity": "sha512-xsM3z+CY1YOPqrcCldQLoon947fbd/o3gSO7hM3NwKiw/2WikExPO3VM4R2oi4W4PvnhkSOIO+ZDRuSs1yFmOg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-7.6.4.tgz", + "integrity": "sha512-k4AtZfazmD/nL3JAtLGAB7raPhkhUo0jWnaZWrahd9h1Fm13mBU/RW+JzTRhCw3Mp2HPERD7NI5Qcd2fUP6WDA==", "dev": true, "dependencies": { - "@storybook/blocks": "7.6.3", + "@storybook/blocks": "7.6.4", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, @@ -8514,26 +8525,26 @@ } }, "node_modules/@storybook/addon-docs": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-7.6.3.tgz", - "integrity": "sha512-2Ts+3EFg9ehkQdbjBWnCH1SE0BdyCLN6hO2N030tGxi0Vko9t9O7NLj5qdBwxLcEzb/XzL4zWukzfU17pktQwA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-7.6.4.tgz", + "integrity": "sha512-PbFMbvC9sK3sGdMhwmagXs9TqopTp9FySji+L8O7W9SHRC6wSmdwoWWPWybkOYxr/z/wXi7EM0azSAX7yQxLbw==", "dev": true, "dependencies": { "@jest/transform": "^29.3.1", "@mdx-js/react": "^2.1.5", - "@storybook/blocks": "7.6.3", - "@storybook/client-logger": "7.6.3", - "@storybook/components": "7.6.3", - "@storybook/csf-plugin": "7.6.3", - "@storybook/csf-tools": "7.6.3", + "@storybook/blocks": "7.6.4", + "@storybook/client-logger": "7.6.4", + "@storybook/components": "7.6.4", + "@storybook/csf-plugin": "7.6.4", + "@storybook/csf-tools": "7.6.4", "@storybook/global": "^5.0.0", "@storybook/mdx2-csf": "^1.0.0", - "@storybook/node-logger": "7.6.3", - "@storybook/postinstall": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/react-dom-shim": "7.6.3", - "@storybook/theming": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/node-logger": "7.6.4", + "@storybook/postinstall": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/react-dom-shim": "7.6.4", + "@storybook/theming": "7.6.4", + "@storybook/types": "7.6.4", "fs-extra": "^11.1.0", "remark-external-links": "^8.0.0", "remark-slug": "^6.0.0", @@ -8549,24 +8560,24 @@ } }, "node_modules/@storybook/addon-essentials": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-7.6.3.tgz", - "integrity": "sha512-bpbt5O0wcB83VLZg8QMXut+8g+7EF4iuevpwiynN9mbpQFvG49c6SE6T2eFJKTvVb4zszyfcNA0Opne2G83wZw==", - "dev": true, - "dependencies": { - "@storybook/addon-actions": "7.6.3", - "@storybook/addon-backgrounds": "7.6.3", - "@storybook/addon-controls": "7.6.3", - "@storybook/addon-docs": "7.6.3", - "@storybook/addon-highlight": "7.6.3", - "@storybook/addon-measure": "7.6.3", - "@storybook/addon-outline": "7.6.3", - "@storybook/addon-toolbars": "7.6.3", - "@storybook/addon-viewport": "7.6.3", - "@storybook/core-common": "7.6.3", - "@storybook/manager-api": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/preview-api": "7.6.3", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-7.6.4.tgz", + "integrity": "sha512-J+zPmP4pbuuFxQ3pjLRYQRnxEtp7jF3xRXGFO8brVnEqtqoxwJ6j3euUrRLe0rpGAU3AD7dYfaaFjd3xkENgTw==", + "dev": true, + "dependencies": { + "@storybook/addon-actions": "7.6.4", + "@storybook/addon-backgrounds": "7.6.4", + "@storybook/addon-controls": "7.6.4", + "@storybook/addon-docs": "7.6.4", + "@storybook/addon-highlight": "7.6.4", + "@storybook/addon-measure": "7.6.4", + "@storybook/addon-outline": "7.6.4", + "@storybook/addon-toolbars": "7.6.4", + "@storybook/addon-viewport": "7.6.4", + "@storybook/core-common": "7.6.4", + "@storybook/manager-api": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/preview-api": "7.6.4", "ts-dedent": "^2.0.0" }, "funding": { @@ -8579,9 +8590,9 @@ } }, "node_modules/@storybook/addon-highlight": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-7.6.3.tgz", - "integrity": "sha512-Z9AJ05XCTzFZPAxQSkQf9/Hazf5/QQI0jYSsvKqt7Vk+03q5727oD9KcIY5IHPYqQqN9fHExQh1eyqY8AnS8mg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-7.6.4.tgz", + "integrity": "sha512-0kvjDzquoPwWWU61QYmEtcSGWXufnV7Z/bfBTYh132uxvV/X9YzDFcXXrxGL7sBJkK32gNUUBDuiTOxs5NxyOQ==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0" @@ -8592,9 +8603,9 @@ } }, "node_modules/@storybook/addon-links": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-7.6.3.tgz", - "integrity": "sha512-dUIf6Y0nckxZfVQvQSqcthaycRxy69dCJLo3aORrOPL8NvGz3v1bK0AUded5wv8vnOVxfSx/Zqu7MyFr9xyjOA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-7.6.4.tgz", + "integrity": "sha512-TEhxYdMhJO28gD84ej1FCwLv9oLuCPt77bRXip9ndaNPRTdHYdWv6IP94dhbuDi8eHux7Z4A/mllciFuDFrnCw==", "dev": true, "dependencies": { "@storybook/csf": "^0.1.2", @@ -8615,9 +8626,9 @@ } }, "node_modules/@storybook/addon-measure": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-7.6.3.tgz", - "integrity": "sha512-DqxADof04ktA5GSA8XnckYGdVYyC4oN8vfKSGcPzpcKrJ2uVr0BXbcyJAEcJAshEJimmpA6nH5TxabXDFBZgPQ==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-7.6.4.tgz", + "integrity": "sha512-73wsJ8PALsgWniR3MA/cmxcFuU6cRruWdIyYzOMgM8ife2Jm3xSkV7cTTXAqXt2H9Uuki4PGnuMHWWFLpPeyVA==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -8629,9 +8640,9 @@ } }, "node_modules/@storybook/addon-outline": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-7.6.3.tgz", - "integrity": "sha512-M7d2tcqBBl+mPBUS6Nrwis50QYSCcmT/uKamud7CnlIWsMH/5GZFfAzGSLY5ETfiGsSFYssOwrXLOV4y0enu2g==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-7.6.4.tgz", + "integrity": "sha512-CFxGASRse/qeFocetDKFNeWZ3Aa2wapVtRciDNa4Zx7k1wCnTjEsPIm54waOuCaNVcrvO+nJUAZG5WyiorQvcg==", "dev": true, "dependencies": { "@storybook/global": "^5.0.0", @@ -8643,9 +8654,9 @@ } }, "node_modules/@storybook/addon-toolbars": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-7.6.3.tgz", - "integrity": "sha512-8GpwOt0J5yLrJhTr9/h0a/LTDjt49FhdvdxiVWLlLMrjIXSIc7j193ZgoHfnlwVhJS5zojcjB+HmRw/E+AneoA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-7.6.4.tgz", + "integrity": "sha512-ENMQJgU4sRCLLDVXYfa+P3cQVV9PC0ZxwVAKeM3NPYPNH/ODoryGNtq+Q68LwHlM4ObCE2oc9MzaQqPxloFcCw==", "dev": true, "funding": { "type": "opencollective", @@ -8653,9 +8664,9 @@ } }, "node_modules/@storybook/addon-viewport": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-7.6.3.tgz", - "integrity": "sha512-I9FQxHi4W7RUyZut4NziYa+nkBCpD1k2YpEDE5IwSC3lqQpDzFZN89eNWQtZ38tIU4c90jL3L1k69IHvANGHsA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-7.6.4.tgz", + "integrity": "sha512-SoTcHIoqybhYD28v7QExF1EZnl7FfxuP74VDhtze5LyMd2CbqmVnUfwewLCz/3IvCNce0GqdNyg1m6QJ7Eq1uw==", "dev": true, "dependencies": { "memoizerific": "^1.11.3" @@ -8666,22 +8677,22 @@ } }, "node_modules/@storybook/blocks": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-7.6.3.tgz", - "integrity": "sha512-EyjyNNCZMcV9UnBSujwduiq+F1VLVX/f16fTTPqqZOHigyfrG5LoEYC6dwOC4yO/xfWY+h3qJ51yiugMxVl0Vg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-7.6.4.tgz", + "integrity": "sha512-iXinXXhTUBtReREP1Jifpu35DnGg7FidehjvCM8sM4E4aymfb8czdg9DdvG46T2UFUPUct36nnjIdMLWOya8Bw==", "dev": true, "dependencies": { - "@storybook/channels": "7.6.3", - "@storybook/client-logger": "7.6.3", - "@storybook/components": "7.6.3", - "@storybook/core-events": "7.6.3", + "@storybook/channels": "7.6.4", + "@storybook/client-logger": "7.6.4", + "@storybook/components": "7.6.4", + "@storybook/core-events": "7.6.4", "@storybook/csf": "^0.1.2", - "@storybook/docs-tools": "7.6.3", + "@storybook/docs-tools": "7.6.4", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/theming": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/manager-api": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/theming": "7.6.4", + "@storybook/types": "7.6.4", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -8723,14 +8734,14 @@ "dev": true }, "node_modules/@storybook/builder-manager": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-manager/-/builder-manager-7.6.3.tgz", - "integrity": "sha512-eLMjRudhiRsg7kgbmPcCkuVf2ut753fbiVR7REtqIYwq5vu8UeNOzt1vA6HgfsUj77/7+1zG8/zeyBv/5nY5mw==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/builder-manager/-/builder-manager-7.6.4.tgz", + "integrity": "sha512-k5+D3fXw7LdMOWd5tF7cIq8L3irrdW6/vmcEHLaJj1EXZ+DvsNCH9xSsLS+6zfrUcxug4oSfRqvF87w6Oz3DtA==", "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "7.6.3", - "@storybook/manager": "7.6.3", - "@storybook/node-logger": "7.6.3", + "@storybook/core-common": "7.6.4", + "@storybook/manager": "7.6.4", + "@storybook/node-logger": "7.6.4", "@types/ejs": "^3.1.1", "@types/find-cache-dir": "^3.2.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", @@ -9116,19 +9127,19 @@ } }, "node_modules/@storybook/builder-vite": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-7.6.3.tgz", - "integrity": "sha512-r/G/6wdwgbhMiMZ8Z+Js8VLjIo7a0DG5SxJorTHSWNi0+jyM+3Qlg3Xj96I8yL4gfTIKWVScHqHprhjRb2E64g==", - "dev": true, - "dependencies": { - "@storybook/channels": "7.6.3", - "@storybook/client-logger": "7.6.3", - "@storybook/core-common": "7.6.3", - "@storybook/csf-plugin": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/preview": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/types": "7.6.3", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-7.6.4.tgz", + "integrity": "sha512-eqb3mLUfuXd4a7+46cWevQ9qH81FvHy1lrAbZGwp4bQ/Tj0YF8Ej7lKBbg7zoIwiu2zDci+BbMiaDOY1kPtILw==", + "dev": true, + "dependencies": { + "@storybook/channels": "7.6.4", + "@storybook/client-logger": "7.6.4", + "@storybook/core-common": "7.6.4", + "@storybook/csf-plugin": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/preview": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/types": "7.6.4", "@types/find-cache-dir": "^3.2.1", "browser-assert": "^1.2.1", "es-module-lexer": "^0.9.3", @@ -9177,12 +9188,12 @@ } }, "node_modules/@storybook/channels": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-7.6.3.tgz", - "integrity": "sha512-o9J0TBbFon16tUlU5V6kJgzAlsloJcS1cTHWqh3VWczohbRm+X1PLNUihJ7Q8kBWXAuuJkgBu7RQH7Ib46WyYg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-7.6.4.tgz", + "integrity": "sha512-Z4PY09/Czl70ap4ObmZ4bgin+EQhPaA3HdrEDNwpnH7A9ttfEO5u5KThytIjMq6kApCCihmEPDaYltoVrfYJJA==", "dependencies": { - "@storybook/client-logger": "7.6.3", - "@storybook/core-events": "7.6.3", + "@storybook/client-logger": "7.6.4", + "@storybook/core-events": "7.6.4", "@storybook/global": "^5.0.0", "qs": "^6.10.0", "telejson": "^7.2.0", @@ -9194,22 +9205,22 @@ } }, "node_modules/@storybook/cli": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/cli/-/cli-7.6.3.tgz", - "integrity": "sha512-OuYnzZlAtpGm4rDgI4ZWkNbAkddutlJh6KmoU9oQAlZP0zmETyJN8REUWjj5T9Z1AS2iXjCMGlFVd4TC8nKocw==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/cli/-/cli-7.6.4.tgz", + "integrity": "sha512-GqvaFdkkBMJOdnrVe82XY0V3b+qFMhRNyVoTv2nqB87iMUXZHqh4Pu4LqwaJBsBpuNregvCvVOPe9LGgoOzy4A==", "dependencies": { "@babel/core": "^7.23.2", "@babel/preset-env": "^7.23.2", "@babel/types": "^7.23.0", "@ndelangen/get-tarball": "^3.0.7", - "@storybook/codemod": "7.6.3", - "@storybook/core-common": "7.6.3", - "@storybook/core-events": "7.6.3", - "@storybook/core-server": "7.6.3", - "@storybook/csf-tools": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/telemetry": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/codemod": "7.6.4", + "@storybook/core-common": "7.6.4", + "@storybook/core-events": "7.6.4", + "@storybook/core-server": "7.6.4", + "@storybook/csf-tools": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/telemetry": "7.6.4", + "@storybook/types": "7.6.4", "@types/semver": "^7.3.4", "@yarnpkg/fslib": "2.10.3", "@yarnpkg/libzip": "2.3.0", @@ -9440,9 +9451,9 @@ } }, "node_modules/@storybook/client-logger": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.3.tgz", - "integrity": "sha512-BpsCnefrBFdxD6ukMjAblm1D6zB4U5HR1I85VWw6LOqZrfzA6l/1uBxItz0XG96HTjngbvAabWf5k7ZFCx5UCg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.4.tgz", + "integrity": "sha512-vJwMShC98tcoFruRVQ4FphmFqvAZX1FqZqjFyk6IxtFumPKTVSnXJjlU1SnUIkSK2x97rgdUMqkdI+wAv/tugQ==", "dependencies": { "@storybook/global": "^5.0.0" }, @@ -9452,17 +9463,17 @@ } }, "node_modules/@storybook/codemod": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/codemod/-/codemod-7.6.3.tgz", - "integrity": "sha512-A1i8+WQfNg3frVcwSyu8E/cDkCu88Sw7JiGNnq9iW2e2oWMr2awpCDgXp8WfTK+HiDb2X1Pq5y/GmUlh3qr77Q==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/codemod/-/codemod-7.6.4.tgz", + "integrity": "sha512-q4rZVOfozxzbDRH/LzuFDoIGBdXs+orAm18fi6iAx8PeMHe8J/MOXKccNV1zdkm/h7mTQowuRo45KwJHw8vX+g==", "dependencies": { "@babel/core": "^7.23.2", "@babel/preset-env": "^7.23.2", "@babel/types": "^7.23.0", "@storybook/csf": "^0.1.2", - "@storybook/csf-tools": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/csf-tools": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/types": "7.6.4", "@types/cross-spawn": "^6.0.2", "cross-spawn": "^7.0.3", "globby": "^11.0.2", @@ -9491,18 +9502,18 @@ } }, "node_modules/@storybook/components": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/components/-/components-7.6.3.tgz", - "integrity": "sha512-UNV0WoUo+W0huOLvoEMuqRN/VB4p0CNswrXN1mi/oGWvAFJ8idu63lSuV4uQ/LKxAZ6v3Kpdd+oK/o+OeOoL6w==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/components/-/components-7.6.4.tgz", + "integrity": "sha512-K5RvEObJAnX+SbGJbkM1qrZEk+VR2cUhRCSrFnlfMwsn8/60T3qoH7U8bCXf8krDgbquhMwqev5WzDB+T1VV8g==", "dev": true, "dependencies": { "@radix-ui/react-select": "^1.2.2", "@radix-ui/react-toolbar": "^1.0.4", - "@storybook/client-logger": "7.6.3", + "@storybook/client-logger": "7.6.4", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/theming": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/theming": "7.6.4", + "@storybook/types": "7.6.4", "memoizerific": "^1.11.3", "use-resize-observer": "^9.1.0", "util-deprecate": "^1.0.2" @@ -9517,13 +9528,13 @@ } }, "node_modules/@storybook/core-client": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-7.6.3.tgz", - "integrity": "sha512-RM0Svlajddl8PP4Vq7LK8T22sFefNcTDgo82iRPZzGz0oH8LT0oXGFanj2Nkn0jruOBFClkiJ7EcwrbGJZHELg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-7.6.4.tgz", + "integrity": "sha512-0msqdGd+VYD1dRgAJ2StTu4d543Wveb7LVVujX3PwD/QCxmCaVUHuAoZrekM/H7jZLw546ZIbLZo0xWrADAUMw==", "dev": true, "dependencies": { - "@storybook/client-logger": "7.6.3", - "@storybook/preview-api": "7.6.3" + "@storybook/client-logger": "7.6.4", + "@storybook/preview-api": "7.6.4" }, "funding": { "type": "opencollective", @@ -9531,13 +9542,13 @@ } }, "node_modules/@storybook/core-common": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-7.6.3.tgz", - "integrity": "sha512-/ZE4BEyGwBHCQCOo681GyBKF4IqCiwVV/ZJCHTMTHFCPLJT2r+Qwv4tnI7xt1kwflOlbBlG6B6CvAqTjjVw/Ew==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-7.6.4.tgz", + "integrity": "sha512-qes4+mXqINu0kCgSMFjk++GZokmYjb71esId0zyJsk0pcIPkAiEjnhbSEQkMhbUfcvO1lztoaQTBW2P7Rd1tag==", "dependencies": { - "@storybook/core-events": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/core-events": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/types": "7.6.4", "@types/find-cache-dir": "^3.2.1", "@types/node": "^18.0.0", "@types/node-fetch": "^2.6.4", @@ -10095,9 +10106,9 @@ } }, "node_modules/@storybook/core-events": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.3.tgz", - "integrity": "sha512-Vu3JX1mjtR8AX84lyqWsi2s2lhD997jKRWVznI3wx+UpTk8t7TTMLFk2rGYJRjaornhrqwvLYpnmtxRSxW9BOQ==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.4.tgz", + "integrity": "sha512-i3xzcJ19ILSy4oJL5Dz9y0IlyApynn5RsGhAMIsW+mcfri+hGfeakq1stNCo0o7jW4Y3A7oluFTtIoK8DOxQdQ==", "dependencies": { "ts-dedent": "^2.0.0" }, @@ -10107,25 +10118,25 @@ } }, "node_modules/@storybook/core-server": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/core-server/-/core-server-7.6.3.tgz", - "integrity": "sha512-IsM24MmiFmtZeyqoijiExpIPkJNBaWQg9ttkkHS6iYwf3yFNBpYVbvuX2OpT7FDdiF3uTl0R8IvfnJR58tHD7w==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/core-server/-/core-server-7.6.4.tgz", + "integrity": "sha512-mXxZMpCwOhjEPPRjqrTHdiCpFdkc47f46vlgTj02SX+9xKHxslmZ2D3JG/8O4Ab9tG+bBl6lBm3RIrIzaiCu9Q==", "dependencies": { "@aw-web-design/x-default-browser": "1.4.126", "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-manager": "7.6.3", - "@storybook/channels": "7.6.3", - "@storybook/core-common": "7.6.3", - "@storybook/core-events": "7.6.3", + "@storybook/builder-manager": "7.6.4", + "@storybook/channels": "7.6.4", + "@storybook/core-common": "7.6.4", + "@storybook/core-events": "7.6.4", "@storybook/csf": "^0.1.2", - "@storybook/csf-tools": "7.6.3", + "@storybook/csf-tools": "7.6.4", "@storybook/docs-mdx": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/manager": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/telemetry": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/manager": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/telemetry": "7.6.4", + "@storybook/types": "7.6.4", "@types/detect-port": "^1.3.0", "@types/node": "^18.0.0", "@types/pretty-hrtime": "^1.0.0", @@ -10343,12 +10354,12 @@ } }, "node_modules/@storybook/csf-plugin": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-7.6.3.tgz", - "integrity": "sha512-8bMYPsWw2tv+fqZ5H436l4x1KLSB6gIcm6snsjyF916yCHG6WcWm+EI6+wNUoySEtrQY2AiwFJqE37wI5OUJFg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-7.6.4.tgz", + "integrity": "sha512-7g9p8s2ITX+Z9iThK5CehPhJOcusVN7JcUEEW+gVF5PlYT+uk/x+66gmQno+scQuNkV9+8UJD6RLFjP+zg2uCA==", "dev": true, "dependencies": { - "@storybook/csf-tools": "7.6.3", + "@storybook/csf-tools": "7.6.4", "unplugin": "^1.3.1" }, "funding": { @@ -10357,16 +10368,16 @@ } }, "node_modules/@storybook/csf-tools": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-7.6.3.tgz", - "integrity": "sha512-Zi3pg2pg88/mvBKewkfWhFUR1J4uYpHI5fSjOE+J/FeZObX/DIE7r+wJxZ0UBGyrk0Wy7Jajlb2uSP56Y0i19w==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-7.6.4.tgz", + "integrity": "sha512-6sLayuhgReIK3/QauNj5BW4o4ZfEMJmKf+EWANPEM/xEOXXqrog6Un8sjtBuJS9N1DwyhHY6xfkEiPAwdttwqw==", "dependencies": { "@babel/generator": "^7.23.0", "@babel/parser": "^7.23.0", "@babel/traverse": "^7.23.2", "@babel/types": "^7.23.0", "@storybook/csf": "^0.1.2", - "@storybook/types": "7.6.3", + "@storybook/types": "7.6.4", "fs-extra": "^11.1.0", "recast": "^0.23.1", "ts-dedent": "^2.0.0" @@ -10393,14 +10404,14 @@ "integrity": "sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg==" }, "node_modules/@storybook/docs-tools": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-7.6.3.tgz", - "integrity": "sha512-6MtirRCQIkBeQ3bksPignZgUuFmjWqcFleTEN6vrNEfbCzMlMvuBGfm9tl4sS3n8ATWmKGj87DcJepPOT3FB4A==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-7.6.4.tgz", + "integrity": "sha512-2eGam43aD7O3cocA72Z63kRi7t/ziMSpst0qB218QwBWAeZjT4EYDh8V6j/Xhv6zVQL3msW7AglrQP5kCKPvPA==", "dev": true, "dependencies": { - "@storybook/core-common": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/core-common": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/types": "7.6.4", "@types/doctrine": "^0.0.3", "assert": "^2.1.0", "doctrine": "^3.0.0", @@ -10417,28 +10428,28 @@ "integrity": "sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==" }, "node_modules/@storybook/manager": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/manager/-/manager-7.6.3.tgz", - "integrity": "sha512-6eMaogHANCSVV2zLPt4Q7fp8RT+AdlOe6IR0583AuqpepcFzj33iGNYABk2rmXAlkD0WzoLcC4H5mouU0fduLA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/manager/-/manager-7.6.4.tgz", + "integrity": "sha512-Ug2ejfKgKre8h/RJbkumukwAA44TbvTPEjDcJmyFdAI+kHYhOYdKPEC2UNmVYz8/4HjwMTJQ3M7t/esK8HHY4A==", "funding": { "type": "opencollective", "url": "https://opencollective.com/storybook" } }, "node_modules/@storybook/manager-api": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-7.6.3.tgz", - "integrity": "sha512-soDH7GZuukkhYRGzlw4jhCm5EzjfkuIAtb37/DFplqxuVbvlyJEVzkMUM2KQO7kq0/8GlWPiZ5mn56wagYyhKQ==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-7.6.4.tgz", + "integrity": "sha512-RFb/iaBJfXygSgXkINPRq8dXu7AxBicTGX7MxqKXbz5FU7ANwV7abH6ONBYURkSDOH9//TQhRlVkF5u8zWg3bw==", "dev": true, "dependencies": { - "@storybook/channels": "7.6.3", - "@storybook/client-logger": "7.6.3", - "@storybook/core-events": "7.6.3", + "@storybook/channels": "7.6.4", + "@storybook/client-logger": "7.6.4", + "@storybook/core-events": "7.6.4", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/router": "7.6.3", - "@storybook/theming": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/router": "7.6.4", + "@storybook/theming": "7.6.4", + "@storybook/types": "7.6.4", "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", @@ -10459,18 +10470,18 @@ "dev": true }, "node_modules/@storybook/node-logger": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-7.6.3.tgz", - "integrity": "sha512-7yL0CMHuh1DhpUAoKCU0a53DvxBpkUom9SX5RaC1G2A9BK/B3XcHtDPAC0uyUwNCKLJMZo9QtmJspvxWjR0LtA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-7.6.4.tgz", + "integrity": "sha512-GDkEnnDj4Op+PExs8ZY/P6ox3wg453CdEIaR8PR9TxF/H/T2fBL6puzma3hN2CMam6yzfAL8U+VeIIDLQ5BZdQ==", "funding": { "type": "opencollective", "url": "https://opencollective.com/storybook" } }, "node_modules/@storybook/postinstall": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/postinstall/-/postinstall-7.6.3.tgz", - "integrity": "sha512-WpgdpJpY6rionluxjFZLbKiSDjvQJ5cPgufjvBRuXTsnVOsH3JNRWnPdkQkJLT9uTUMoNcyBMxbjYkK3vU6wSg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/postinstall/-/postinstall-7.6.4.tgz", + "integrity": "sha512-7uoB82hSzlFSdDMS3hKQD+AaeSvPit/fAMvXCBxn0/D0UGJUZcq4M9JcKBwEHkZJcbuDROgOTJ6TUeXi/FWO0w==", "dev": true, "funding": { "type": "opencollective", @@ -10478,9 +10489,9 @@ } }, "node_modules/@storybook/preview": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/preview/-/preview-7.6.3.tgz", - "integrity": "sha512-obSmKN8arWSHuLbCDM1H0lTVRMvAP/l7vOi6TQtFi6TxBz9MRCJA3Ugc0PZrbDADVZP+cp0ZJA0JQtAm+SqNAA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/preview/-/preview-7.6.4.tgz", + "integrity": "sha512-p9xIvNkgXgTpSRphOMV9KpIiNdkymH61jBg3B0XyoF6IfM1S2/mQGvC89lCVz1dMGk2SrH4g87/WcOapkU5ArA==", "dev": true, "funding": { "type": "opencollective", @@ -10488,16 +10499,16 @@ } }, "node_modules/@storybook/preview-api": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-7.6.3.tgz", - "integrity": "sha512-uPaK7yLE1P++F+IOb/1j9pgdCwfMYZrUPHogF/Mf9r4cfEjDCcIeKgGMcsbU1KnkzNQQGPh8JRzRr/iYnLjswg==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-7.6.4.tgz", + "integrity": "sha512-KhisNdQX5NdfAln+spLU4B82d804GJQp/CnI5M1mm/taTnjvMgs/wTH9AmR89OPoq+tFZVW0vhy2zgPS3ar71A==", "dependencies": { - "@storybook/channels": "7.6.3", - "@storybook/client-logger": "7.6.3", - "@storybook/core-events": "7.6.3", + "@storybook/channels": "7.6.4", + "@storybook/client-logger": "7.6.4", + "@storybook/core-events": "7.6.4", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/types": "7.6.3", + "@storybook/types": "7.6.4", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -10513,9 +10524,9 @@ } }, "node_modules/@storybook/react-dom-shim": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-7.6.3.tgz", - "integrity": "sha512-UtaEaTQB27aBsAmn5IfAYkX2xl4wWWXkoAO/jUtx86FQ/r85FG0zxh/rac6IgzjYUqzjJtjIeLdeciG/48hMMA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-7.6.4.tgz", + "integrity": "sha512-wGJfomlDEBnowNmhmumWDu/AcUInxSoPqUUJPgk2f5oL0EW17fR9fDP/juG3XOEdieMDM0jDX48GML7lyvL2fg==", "dev": true, "funding": { "type": "opencollective", @@ -10527,12 +10538,12 @@ } }, "node_modules/@storybook/router": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/router/-/router-7.6.3.tgz", - "integrity": "sha512-NZfhJqsXYca9mZCL/LGx6FmZDbrxX2S4ImW7Tqdtcc/sSlZ0BpCDkNUTesCA287cmoKMhXZRh/+bU+C2h2a+bw==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/router/-/router-7.6.4.tgz", + "integrity": "sha512-5MQ7Z4D7XNPN2yhFgjey7hXOYd6s8CggUqeAwhzGTex90SMCkKHSz1hfkcXn1ZqBPaall2b53uK553OvPLp9KQ==", "dev": true, "dependencies": { - "@storybook/client-logger": "7.6.3", + "@storybook/client-logger": "7.6.4", "memoizerific": "^1.11.3", "qs": "^6.10.0" }, @@ -10542,13 +10553,13 @@ } }, "node_modules/@storybook/telemetry": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/telemetry/-/telemetry-7.6.3.tgz", - "integrity": "sha512-NDCZWhVIUI3M6Lq4M/HPOvZqDXqANDNbI3kyHr4pFGoVaCUXuDPokL9wR+CZcMvATkJ1gHrfLPBdcRq6Biw3Iw==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/telemetry/-/telemetry-7.6.4.tgz", + "integrity": "sha512-Q4QpvcgloHUEqC9PGo7tgqkUH91/PjX+74/0Hi9orLo8QmLMgdYS5fweFwgSKoTwDGNg2PaHp/jqvhhw7UmnJA==", "dependencies": { - "@storybook/client-logger": "7.6.3", - "@storybook/core-common": "7.6.3", - "@storybook/csf-tools": "7.6.3", + "@storybook/client-logger": "7.6.4", + "@storybook/core-common": "7.6.4", + "@storybook/csf-tools": "7.6.4", "chalk": "^4.1.0", "detect-package-manager": "^2.0.1", "fetch-retry": "^5.0.2", @@ -10729,13 +10740,13 @@ } }, "node_modules/@storybook/theming": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-7.6.3.tgz", - "integrity": "sha512-9ToNU2LM6a2kVBjOXitXEeEOuMurVLhn+uaZO1dJjv8NGnJVYiLwNPwrLsImiUD8/XXNuil972aanBR6+Aj9jw==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-7.6.4.tgz", + "integrity": "sha512-Z/dcC5EpkIXelYCkt9ojnX6D7qGOng8YHxV/OWlVE9TrEGYVGPOEfwQryR0RhmGpDha1TYESLYrsDb4A8nJ1EA==", "dev": true, "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", - "@storybook/client-logger": "7.6.3", + "@storybook/client-logger": "7.6.4", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -10749,11 +10760,11 @@ } }, "node_modules/@storybook/types": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/types/-/types-7.6.3.tgz", - "integrity": "sha512-vj9Jzg5eR52l8O9512QywbQpNdo67Z6BQWR8QoZRcG+/Bhzt08YI8IZMPQLFMKzcmWDPK0blQ4GfyKDYplMjPA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/types/-/types-7.6.4.tgz", + "integrity": "sha512-qyiiXPCvol5uVgfubcIMzJBA0awAyFPU+TyUP1mkPYyiTHnsHYel/mKlSdPjc8a97N3SlJXHOCx41Hde4IyJgg==", "dependencies": { - "@storybook/channels": "7.6.3", + "@storybook/channels": "7.6.4", "@types/babel__core": "^7.0.0", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" @@ -10786,18 +10797,18 @@ } }, "node_modules/@storybook/web-components": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/web-components/-/web-components-7.6.3.tgz", - "integrity": "sha512-dBZi4LOm8juxZU3DlQX+IwD2dDNnVKBXJQRwc4NV+bOk/8DakhvniESWYkkiiCP+MyKDqY4pbi6CkEfnakMgtA==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/web-components/-/web-components-7.6.4.tgz", + "integrity": "sha512-SUvNDzSUkvQdDhPhZU04UNIpuyrpMylodXwe8UX6V/q8dbv1n5RP7mpBh9tGNb9pJKIIznybJAC/oGnUy9jkzw==", "dev": true, "dependencies": { - "@storybook/client-logger": "7.6.3", - "@storybook/core-client": "7.6.3", - "@storybook/docs-tools": "7.6.3", + "@storybook/client-logger": "7.6.4", + "@storybook/core-client": "7.6.4", + "@storybook/docs-tools": "7.6.4", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.6.3", - "@storybook/preview-api": "7.6.3", - "@storybook/types": "7.6.3", + "@storybook/manager-api": "7.6.4", + "@storybook/preview-api": "7.6.4", + "@storybook/types": "7.6.4", "tiny-invariant": "^1.3.1", "ts-dedent": "^2.0.0" }, @@ -10813,15 +10824,15 @@ } }, "node_modules/@storybook/web-components-vite": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/@storybook/web-components-vite/-/web-components-vite-7.6.3.tgz", - "integrity": "sha512-Fe/lXB+8kzY5oMyU4XpqQWmaEYcM1wdseuL8fNr4c+ToK1aQyIb5snMvGdoU7kzrd2Uzj/xTxPBfVgrROSw99Q==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@storybook/web-components-vite/-/web-components-vite-7.6.4.tgz", + "integrity": "sha512-y4LJFUkzIy8Ggv9ZFeaTZKAZOCrJBlqAqNuSEKyxuBH8JVWZaDMgkDIE4U7vYt9vu5edtA5uYTh4KLHI80gVXw==", "dev": true, "dependencies": { - "@storybook/builder-vite": "7.6.3", - "@storybook/core-server": "7.6.3", - "@storybook/node-logger": "7.6.3", - "@storybook/web-components": "7.6.3", + "@storybook/builder-vite": "7.6.4", + "@storybook/core-server": "7.6.4", + "@storybook/node-logger": "7.6.4", + "@storybook/web-components": "7.6.4", "magic-string": "^0.30.0" }, "engines": { @@ -11044,21 +11055,6 @@ "@types/responselike": "^1.0.0" } }, - "node_modules/@types/chai": { - "version": "4.3.11", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.11.tgz", - "integrity": "sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==", - "dev": true - }, - "node_modules/@types/chai-subset": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/chai-subset/-/chai-subset-1.3.5.tgz", - "integrity": "sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==", - "dev": true, - "dependencies": { - "@types/chai": "*" - } - }, "node_modules/@types/connect": { "version": "3.4.38", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", @@ -11322,9 +11318,9 @@ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==" }, "node_modules/@types/react": { - "version": "18.2.41", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.41.tgz", - "integrity": "sha512-CwOGr/PiLiNBxEBqpJ7fO3kocP/2SSuC9fpH5K7tusrg4xPSRT/193rzolYwQnTN02We/ATXKnb6GqA5w4fRxw==", + "version": "18.2.45", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.45.tgz", + "integrity": "sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg==", "devOptional": true, "dependencies": { "@types/prop-types": "*", @@ -11421,16 +11417,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.13.1.tgz", - "integrity": "sha512-5bQDGkXaxD46bPvQt08BUz9YSaO4S0fB1LB5JHQuXTfkGPI3+UUeS387C/e9jRie5GqT8u5kFTrMvAjtX4O5kA==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.14.0.tgz", + "integrity": "sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.13.1", - "@typescript-eslint/type-utils": "6.13.1", - "@typescript-eslint/utils": "6.13.1", - "@typescript-eslint/visitor-keys": "6.13.1", + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/type-utils": "6.14.0", + "@typescript-eslint/utils": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -11456,15 +11452,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.13.1.tgz", - "integrity": "sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.14.0.tgz", + "integrity": "sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.13.1", - "@typescript-eslint/types": "6.13.1", - "@typescript-eslint/typescript-estree": "6.13.1", - "@typescript-eslint/visitor-keys": "6.13.1", + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/typescript-estree": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", "debug": "^4.3.4" }, "engines": { @@ -11484,13 +11480,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.13.1.tgz", - "integrity": "sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.14.0.tgz", + "integrity": "sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.13.1", - "@typescript-eslint/visitor-keys": "6.13.1" + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -11501,13 +11497,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.13.1.tgz", - "integrity": "sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.14.0.tgz", + "integrity": "sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.13.1", - "@typescript-eslint/utils": "6.13.1", + "@typescript-eslint/typescript-estree": "6.14.0", + "@typescript-eslint/utils": "6.14.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -11528,9 +11524,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.13.1.tgz", - "integrity": "sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.14.0.tgz", + "integrity": "sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -11541,13 +11537,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.13.1.tgz", - "integrity": "sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.14.0.tgz", + "integrity": "sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.13.1", - "@typescript-eslint/visitor-keys": "6.13.1", + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/visitor-keys": "6.14.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -11568,17 +11564,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.13.1.tgz", - "integrity": "sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.14.0.tgz", + "integrity": "sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.13.1", - "@typescript-eslint/types": "6.13.1", - "@typescript-eslint/typescript-estree": "6.13.1", + "@typescript-eslint/scope-manager": "6.14.0", + "@typescript-eslint/types": "6.14.0", + "@typescript-eslint/typescript-estree": "6.14.0", "semver": "^7.5.4" }, "engines": { @@ -11593,12 +11589,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.13.1.tgz", - "integrity": "sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.14.0.tgz", + "integrity": "sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.13.1", + "@typescript-eslint/types": "6.14.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -11616,15 +11612,15 @@ "dev": true }, "node_modules/@vitejs/plugin-react": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.0.tgz", - "integrity": "sha512-+MHTH/e6H12kRp5HUkzOGqPMksezRMmW+TNzlh/QXfI8rRf6l2Z2yH/v12no1UvTwhZgEDMuQ7g7rrfMseU6FQ==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.2.1.tgz", + "integrity": "sha512-oojO9IDc4nCUUi8qIR11KoQm0XFFLIwsRBwHRR4d/88IWghn1y6ckz/bJ8GHDCsYEJee8mDzqtJxh15/cisJNQ==", "dev": true, "dependencies": { - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.5", "@babel/plugin-transform-react-jsx-self": "^7.23.3", "@babel/plugin-transform-react-jsx-source": "^7.23.3", - "@types/babel__core": "^7.20.4", + "@types/babel__core": "^7.20.5", "react-refresh": "^0.14.0" }, "engines": { @@ -11635,9 +11631,9 @@ } }, "node_modules/@vitejs/plugin-vue": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.1.tgz", - "integrity": "sha512-DaUzYFr+2UGDG7VSSdShKa9sIWYBa1LL8KC0MNOf2H5LjcTPjob0x8LbkqXWmAtbANJCkpiQTj66UVcQkN2s3g==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.2.tgz", + "integrity": "sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==", "dev": true, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -11648,13 +11644,13 @@ } }, "node_modules/@vitest/expect": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.6.tgz", - "integrity": "sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.0.4.tgz", + "integrity": "sha512-/NRN9N88qjg3dkhmFcCBwhn/Ie4h064pY3iv7WLRsDJW7dXnEgeoa8W9zy7gIPluhz6CkgqiB3HmpIXgmEY5dQ==", "dev": true, "dependencies": { - "@vitest/spy": "0.34.6", - "@vitest/utils": "0.34.6", + "@vitest/spy": "1.0.4", + "@vitest/utils": "1.0.4", "chai": "^4.3.10" }, "funding": { @@ -11662,13 +11658,13 @@ } }, "node_modules/@vitest/runner": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.6.tgz", - "integrity": "sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-1.0.4.tgz", + "integrity": "sha512-rhOQ9FZTEkV41JWXozFM8YgOqaG9zA7QXbhg5gy6mFOVqh4PcupirIJ+wN7QjeJt8S8nJRYuZH1OjJjsbxAXTQ==", "dev": true, "dependencies": { - "@vitest/utils": "0.34.6", - "p-limit": "^4.0.0", + "@vitest/utils": "1.0.4", + "p-limit": "^5.0.0", "pathe": "^1.1.1" }, "funding": { @@ -11676,166 +11672,166 @@ } }, "node_modules/@vitest/runner/node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-5.0.0.tgz", + "integrity": "sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==", "dev": true, "dependencies": { "yocto-queue": "^1.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@vitest/snapshot": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.6.tgz", - "integrity": "sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-1.0.4.tgz", + "integrity": "sha512-vkfXUrNyNRA/Gzsp2lpyJxh94vU2OHT1amoD6WuvUAA12n32xeVZQ0KjjQIf8F6u7bcq2A2k969fMVxEsxeKYA==", "dev": true, "dependencies": { - "magic-string": "^0.30.1", + "magic-string": "^0.30.5", "pathe": "^1.1.1", - "pretty-format": "^29.5.0" + "pretty-format": "^29.7.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/spy": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.6.tgz", - "integrity": "sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-1.0.4.tgz", + "integrity": "sha512-9ojTFRL1AJVh0hvfzAQpm0QS6xIS+1HFIw94kl/1ucTfGCaj1LV/iuJU4Y6cdR03EzPDygxTHwE1JOm+5RCcvA==", "dev": true, "dependencies": { - "tinyspy": "^2.1.1" + "tinyspy": "^2.2.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/utils": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.6.tgz", - "integrity": "sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-1.0.4.tgz", + "integrity": "sha512-gsswWDXxtt0QvtK/y/LWukN7sGMYmnCcv1qv05CsY6cU/Y1zpGX1QuvLs+GO1inczpE6Owixeel3ShkjhYtGfA==", "dev": true, "dependencies": { - "diff-sequences": "^29.4.3", - "loupe": "^2.3.6", - "pretty-format": "^29.5.0" + "diff-sequences": "^29.6.3", + "loupe": "^2.3.7", + "pretty-format": "^29.7.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vue/compiler-core": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.9.tgz", - "integrity": "sha512-+/Lf68Vr/nFBA6ol4xOtJrW+BQWv3QWKfRwGSm70jtXwfhZNF4R/eRgyVJYoxFRhdCTk/F6g99BP0ffPgZihfQ==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", + "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", "dependencies": { - "@babel/parser": "^7.23.3", - "@vue/shared": "3.3.9", + "@babel/parser": "^7.23.5", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-dom": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.9.tgz", - "integrity": "sha512-nfWubTtLXuT4iBeDSZ5J3m218MjOy42Vp2pmKVuBKo2/BLcrFUX8nCSr/bKRFiJ32R8qbdnnnBgRn9AdU5v0Sg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", + "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", "dependencies": { - "@vue/compiler-core": "3.3.9", - "@vue/shared": "3.3.9" + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.9.tgz", - "integrity": "sha512-wy0CNc8z4ihoDzjASCOCsQuzW0A/HP27+0MDSSICMjVIFzk/rFViezkR3dzH+miS2NDEz8ywMdbjO5ylhOLI2A==", - "dependencies": { - "@babel/parser": "^7.23.3", - "@vue/compiler-core": "3.3.9", - "@vue/compiler-dom": "3.3.9", - "@vue/compiler-ssr": "3.3.9", - "@vue/reactivity-transform": "3.3.9", - "@vue/shared": "3.3.9", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", + "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", + "dependencies": { + "@babel/parser": "^7.23.5", + "@vue/compiler-core": "3.3.11", + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-ssr": "3.3.11", + "@vue/reactivity-transform": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.9.tgz", - "integrity": "sha512-NO5oobAw78R0G4SODY5A502MGnDNiDjf6qvhn7zD7TJGc8XDeIEw4fg6JU705jZ/YhuokBKz0A5a/FL/XZU73g==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", + "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", "dependencies": { - "@vue/compiler-dom": "3.3.9", - "@vue/shared": "3.3.9" + "@vue/compiler-dom": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/reactivity": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.9.tgz", - "integrity": "sha512-VmpIqlNp+aYDg2X0xQhJqHx9YguOmz2UxuUJDckBdQCNkipJvfk9yA75woLWElCa0Jtyec3lAAt49GO0izsphw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", + "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", "dependencies": { - "@vue/shared": "3.3.9" + "@vue/shared": "3.3.11" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.9.tgz", - "integrity": "sha512-HnUFm7Ry6dFa4Lp63DAxTixUp8opMtQr6RxQCpDI1vlh12rkGIeYqMvJtK+IKyEfEOa2I9oCkD1mmsPdaGpdVg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", + "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", "dependencies": { - "@babel/parser": "^7.23.3", - "@vue/compiler-core": "3.3.9", - "@vue/shared": "3.3.9", + "@babel/parser": "^7.23.5", + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5" } }, "node_modules/@vue/runtime-core": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.9.tgz", - "integrity": "sha512-xxaG9KvPm3GTRuM4ZyU8Tc+pMVzcu6eeoSRQJ9IE7NmCcClW6z4B3Ij6L4EDl80sxe/arTtQ6YmgiO4UZqRc+w==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", + "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", "dependencies": { - "@vue/reactivity": "3.3.9", - "@vue/shared": "3.3.9" + "@vue/reactivity": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/runtime-dom": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.9.tgz", - "integrity": "sha512-e7LIfcxYSWbV6BK1wQv9qJyxprC75EvSqF/kQKe6bdZEDNValzeRXEVgiX7AHI6hZ59HA4h7WT5CGvm69vzJTQ==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", + "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", "dependencies": { - "@vue/runtime-core": "3.3.9", - "@vue/shared": "3.3.9", + "@vue/runtime-core": "3.3.11", + "@vue/shared": "3.3.11", "csstype": "^3.1.2" } }, "node_modules/@vue/server-renderer": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.9.tgz", - "integrity": "sha512-w0zT/s5l3Oa3ZjtLW88eO4uV6AQFqU8X5GOgzq7SkQQu6vVr+8tfm+OI2kDBplS/W/XgCBuFXiPw6T5EdwXP0A==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", + "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", "dependencies": { - "@vue/compiler-ssr": "3.3.9", - "@vue/shared": "3.3.9" + "@vue/compiler-ssr": "3.3.11", + "@vue/shared": "3.3.11" }, "peerDependencies": { - "vue": "3.3.9" + "vue": "3.3.11" } }, "node_modules/@vue/shared": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.9.tgz", - "integrity": "sha512-ZE0VTIR0LmYgeyhurPTpy4KzKsuDyQbMSdM49eKkMnT5X4VfFBLysMzjIZhLEFQYjjOVVfbvUDHckwjDFiO2eA==" + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", + "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==" }, "node_modules/@wagmi/connectors": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-3.1.5.tgz", - "integrity": "sha512-aE4rWZbivqWa9HqjiLDPtwROH2b1Az+lBVMeZ3o/aFxGNGNEkdrSAMOUG15/UFy3VnN6HqGOtTobOBZ10JhfNQ==", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@wagmi/connectors/-/connectors-3.1.9.tgz", + "integrity": "sha512-q7Hz6WDnvOcZ/EPzuFgilirSwyoWYo1owowHmHqHTxEu0yu6HFNQGuaMNK9hsM/XCHeCisW/ZdUvudQSBUVpHQ==", "funding": [ { "type": "gitcoin", @@ -11849,9 +11845,9 @@ "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", "@ledgerhq/connect-kit-loader": "^1.1.0", - "@safe-global/safe-apps-provider": "^0.17.1", - "@safe-global/safe-apps-sdk": "^8.0.0", - "@walletconnect/ethereum-provider": "2.10.2", + "@safe-global/safe-apps-provider": "^0.18.1", + "@safe-global/safe-apps-sdk": "^8.1.0", + "@walletconnect/ethereum-provider": "2.10.6", "@walletconnect/legacy-provider": "^2.0.0", "@walletconnect/modal": "2.6.2", "@walletconnect/utils": "2.10.2", @@ -11883,9 +11879,9 @@ } }, "node_modules/@wagmi/core": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/@wagmi/core/-/core-1.4.7.tgz", - "integrity": "sha512-PiOIGni8ArQoPmuDylHX38zMt2nPnTYRIluIqiduKyGCM61X/tf10a0rafUMOOphDPudZu1TacNDhCSeoh/LEA==", + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@wagmi/core/-/core-1.4.11.tgz", + "integrity": "sha512-H6y5v+PpvYbT5Qsk7PTVu5MtcSqudDqGZC/LZFV6Y+UeJlBsnfJNy5+cPEzKmvaz+6tSyVPGCF9aWK+sNdC0sQ==", "funding": [ { "type": "gitcoin", @@ -11897,7 +11893,7 @@ } ], "dependencies": { - "@wagmi/connectors": "3.1.5", + "@wagmi/connectors": "3.1.9", "abitype": "0.8.7", "eventemitter3": "^4.0.7", "zustand": "^4.3.1" @@ -11927,28 +11923,49 @@ } }, "node_modules/@walletconnect/core": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.10.2.tgz", - "integrity": "sha512-JQz/xp3SLEpTeRQctdck2ugSBVEpMxoSE+lFi2voJkZop1hv6P+uqr6E4PzjFluAjeAnKlT1xvra0aFWjPWVcw==", + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.10.6.tgz", + "integrity": "sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ==", "dependencies": { "@walletconnect/heartbeat": "1.2.1", "@walletconnect/jsonrpc-provider": "1.0.13", "@walletconnect/jsonrpc-types": "1.0.3", "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/jsonrpc-ws-connection": "1.0.13", - "@walletconnect/keyvaluestorage": "^1.0.2", + "@walletconnect/jsonrpc-ws-connection": "1.0.14", + "@walletconnect/keyvaluestorage": "^1.1.1", "@walletconnect/logger": "^2.0.1", "@walletconnect/relay-api": "^1.0.9", "@walletconnect/relay-auth": "^1.0.4", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.2", - "@walletconnect/utils": "2.10.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/utils": "2.10.6", "events": "^3.3.0", "lodash.isequal": "4.5.0", "uint8arrays": "^3.1.0" } }, + "node_modules/@walletconnect/core/node_modules/@walletconnect/utils": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", + "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", + "dependencies": { + "@stablelib/chacha20poly1305": "1.0.1", + "@stablelib/hkdf": "1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/sha256": "1.0.1", + "@stablelib/x25519": "^1.0.3", + "@walletconnect/relay-api": "^1.0.9", + "@walletconnect/safe-json": "^1.0.2", + "@walletconnect/time": "^1.0.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/window-getters": "^1.0.1", + "@walletconnect/window-metadata": "^1.0.1", + "detect-browser": "5.3.0", + "query-string": "7.1.3", + "uint8arrays": "^3.1.0" + } + }, "node_modules/@walletconnect/crypto": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@walletconnect/crypto/-/crypto-1.0.3.tgz", @@ -11962,11 +11979,6 @@ "tslib": "1.14.1" } }, - "node_modules/@walletconnect/crypto/node_modules/aes-js": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", - "integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" - }, "node_modules/@walletconnect/crypto/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -12001,27 +12013,41 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/ethereum-provider": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.2.tgz", - "integrity": "sha512-QMYFZ6+rVq2CJLdIPdKK0j1Qm66UA27oQU5V2SrL8EVwl7wFfm0Bq7fnL+qAWeDpn612dNeNErpk/ROa1zWlWg==", + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz", + "integrity": "sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ==", "dependencies": { "@walletconnect/jsonrpc-http-connection": "^1.0.7", "@walletconnect/jsonrpc-provider": "^1.0.13", "@walletconnect/jsonrpc-types": "^1.0.3", "@walletconnect/jsonrpc-utils": "^1.0.8", - "@walletconnect/sign-client": "2.10.2", - "@walletconnect/types": "2.10.2", - "@walletconnect/universal-provider": "2.10.2", - "@walletconnect/utils": "2.10.2", + "@walletconnect/modal": "^2.4.3", + "@walletconnect/sign-client": "2.10.6", + "@walletconnect/types": "2.10.6", + "@walletconnect/universal-provider": "2.10.6", + "@walletconnect/utils": "2.10.6", "events": "^3.3.0" - }, - "peerDependencies": { - "@walletconnect/modal": ">=2" - }, - "peerDependenciesMeta": { - "@walletconnect/modal": { - "optional": true - } + } + }, + "node_modules/@walletconnect/ethereum-provider/node_modules/@walletconnect/utils": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", + "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", + "dependencies": { + "@stablelib/chacha20poly1305": "1.0.1", + "@stablelib/hkdf": "1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/sha256": "1.0.1", + "@stablelib/x25519": "^1.0.3", + "@walletconnect/relay-api": "^1.0.9", + "@walletconnect/safe-json": "^1.0.2", + "@walletconnect/time": "^1.0.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/window-getters": "^1.0.1", + "@walletconnect/window-metadata": "^1.0.1", + "detect-browser": "5.3.0", + "query-string": "7.1.3", + "uint8arrays": "^3.1.0" } }, "node_modules/@walletconnect/events": { @@ -12114,22 +12140,16 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/jsonrpc-ws-connection": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.13.tgz", - "integrity": "sha512-mfOM7uFH4lGtQxG+XklYuFBj6dwVvseTt5/ahOkkmpcAEgz2umuzu7fTR+h5EmjQBdrmYyEBOWADbeaFNxdySg==", + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz", + "integrity": "sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA==", "dependencies": { "@walletconnect/jsonrpc-utils": "^1.0.6", "@walletconnect/safe-json": "^1.0.2", "events": "^3.3.0", - "tslib": "1.14.1", "ws": "^7.5.1" } }, - "node_modules/@walletconnect/jsonrpc-ws-connection/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@walletconnect/jsonrpc-ws-connection/node_modules/ws": { "version": "7.5.9", "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", @@ -12298,30 +12318,6 @@ "valtio": "1.11.2" } }, - "node_modules/@walletconnect/modal-core/node_modules/valtio": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.11.2.tgz", - "integrity": "sha512-1XfIxnUXzyswPAPXo1P3Pdx2mq/pIqZICkWN60Hby0d9Iqb+MEIpqgYVlbflvHdrp2YR/q3jyKWRPJJ100yxaw==", - "dependencies": { - "proxy-compare": "2.5.1", - "use-sync-external-store": "1.2.0" - }, - "engines": { - "node": ">=12.20.0" - }, - "peerDependencies": { - "@types/react": ">=16.8", - "react": ">=16.8" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "react": { - "optional": true - } - } - }, "node_modules/@walletconnect/modal-ui": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/@walletconnect/modal-ui/-/modal-ui-2.6.2.tgz", @@ -12395,21 +12391,42 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/sign-client": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.10.2.tgz", - "integrity": "sha512-vviSLV3f92I0bReX+OLr1HmbH0uIzYEQQFd1MzIfDk9PkfFT/LLAHhUnDaIAMkIdippqDcJia+5QEtT4JihL3Q==", + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.10.6.tgz", + "integrity": "sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA==", "dependencies": { - "@walletconnect/core": "2.10.2", + "@walletconnect/core": "2.10.6", "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", "@walletconnect/jsonrpc-utils": "1.0.8", "@walletconnect/logger": "^2.0.1", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.2", - "@walletconnect/utils": "2.10.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/utils": "2.10.6", "events": "^3.3.0" } }, + "node_modules/@walletconnect/sign-client/node_modules/@walletconnect/utils": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", + "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", + "dependencies": { + "@stablelib/chacha20poly1305": "1.0.1", + "@stablelib/hkdf": "1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/sha256": "1.0.1", + "@stablelib/x25519": "^1.0.3", + "@walletconnect/relay-api": "^1.0.9", + "@walletconnect/safe-json": "^1.0.2", + "@walletconnect/time": "^1.0.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/window-getters": "^1.0.1", + "@walletconnect/window-metadata": "^1.0.1", + "detect-browser": "5.3.0", + "query-string": "7.1.3", + "uint8arrays": "^3.1.0" + } + }, "node_modules/@walletconnect/time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz", @@ -12424,34 +12441,55 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/types": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.2.tgz", - "integrity": "sha512-luNV+07Wdla4STi9AejseCQY31tzWKQ5a7C3zZZaRK/di+rFaAAb7YW04OP4klE7tw/mJRGPTlekZElmHxO8kQ==", + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.6.tgz", + "integrity": "sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/keyvaluestorage": "^1.0.2", + "@walletconnect/keyvaluestorage": "^1.1.1", "@walletconnect/logger": "^2.0.1", "events": "^3.3.0" } }, "node_modules/@walletconnect/universal-provider": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@walletconnect/universal-provider/-/universal-provider-2.10.2.tgz", - "integrity": "sha512-wFgI0LbQ3D56sgaUMsgOHCM5m8WLxiC71BGuCKQfApgsbNMVKugYVy2zWHyUyi8sqTQHI+uSaVpDev4UHq9LEw==", + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz", + "integrity": "sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==", "dependencies": { "@walletconnect/jsonrpc-http-connection": "^1.0.7", "@walletconnect/jsonrpc-provider": "1.0.13", "@walletconnect/jsonrpc-types": "^1.0.2", "@walletconnect/jsonrpc-utils": "^1.0.7", "@walletconnect/logger": "^2.0.1", - "@walletconnect/sign-client": "2.10.2", - "@walletconnect/types": "2.10.2", - "@walletconnect/utils": "2.10.2", + "@walletconnect/sign-client": "2.10.6", + "@walletconnect/types": "2.10.6", + "@walletconnect/utils": "2.10.6", "events": "^3.3.0" } }, + "node_modules/@walletconnect/universal-provider/node_modules/@walletconnect/utils": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", + "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", + "dependencies": { + "@stablelib/chacha20poly1305": "1.0.1", + "@stablelib/hkdf": "1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/sha256": "1.0.1", + "@stablelib/x25519": "^1.0.3", + "@walletconnect/relay-api": "^1.0.9", + "@walletconnect/safe-json": "^1.0.2", + "@walletconnect/time": "^1.0.2", + "@walletconnect/types": "2.10.6", + "@walletconnect/window-getters": "^1.0.1", + "@walletconnect/window-metadata": "^1.0.1", + "detect-browser": "5.3.0", + "query-string": "7.1.3", + "uint8arrays": "^3.1.0" + } + }, "node_modules/@walletconnect/utils": { "version": "2.10.2", "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.2.tgz", @@ -12473,6 +12511,19 @@ "uint8arrays": "^3.1.0" } }, + "node_modules/@walletconnect/utils/node_modules/@walletconnect/types": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.2.tgz", + "integrity": "sha512-luNV+07Wdla4STi9AejseCQY31tzWKQ5a7C3zZZaRK/di+rFaAAb7YW04OP4klE7tw/mJRGPTlekZElmHxO8kQ==", + "dependencies": { + "@walletconnect/events": "^1.0.1", + "@walletconnect/heartbeat": "1.2.1", + "@walletconnect/jsonrpc-types": "1.0.3", + "@walletconnect/keyvaluestorage": "^1.0.2", + "@walletconnect/logger": "^2.0.1", + "events": "^3.3.0" + } + }, "node_modules/@walletconnect/window-getters": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz", @@ -12756,9 +12807,9 @@ } }, "node_modules/aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==" + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", + "integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" }, "node_modules/agent-base": { "version": "6.0.2", @@ -14516,9 +14567,9 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, "node_modules/danger": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/danger/-/danger-11.3.0.tgz", - "integrity": "sha512-h4zkvmEfRVZp2EIKlQSky0IotxrDbJZtXgMTvyN1nwPCfg0JgvQVmVbvOZXrOgNVlgL+42ZDjNL2qAwVmJypNw==", + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/danger/-/danger-11.3.1.tgz", + "integrity": "sha512-+slkGnbf0czY7g4LSuYpYkKJgFrb9YIXFJvV5JAuLLF39CXLlUw0iebgeL3ASK1t6RDb8xe+Rk2F5ilh2Hdv2w==", "dev": true, "dependencies": { "@gitbeaker/core": "^35.8.1", @@ -14859,14 +14910,6 @@ "node": ">=6" } }, - "node_modules/derive-valtio": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/derive-valtio/-/derive-valtio-0.1.0.tgz", - "integrity": "sha512-OCg2UsLbXK7GmmpzMXhYkdO64vhJ1ROUUGaTFyHjVwEdMEcTTRj7W1TxLbSBxdY8QLBPCcp66MTyaSy0RpO17A==", - "peerDependencies": { - "valtio": "*" - } - }, "node_modules/destr": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.2.tgz", @@ -15086,9 +15129,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.611", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.611.tgz", - "integrity": "sha512-ZtRpDxrjHapOwxtv+nuth5ByB8clyn8crVynmRNGO3wG3LOp8RTcyZDqwaI6Ng6y8FCK2hVZmJoqwCskKbNMaw==" + "version": "1.4.612", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.612.tgz", + "integrity": "sha512-dM8BMtXtlH237ecSMnYdYuCkib2QHq0kpWfUnavjdYsyr/6OsAwg5ZGUfnQ9KD1Ga4QgB2sqXlB2NT8zy2GnVg==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -16295,9 +16338,9 @@ "dev": true }, "node_modules/flow-parser": { - "version": "0.223.3", - "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.223.3.tgz", - "integrity": "sha512-9KxxDKSB22ovMpSULbOL/QAQGPN6M0YMS3PubQvB0jVc4W7QP6VhasIVic7MzKcJSh0BAVs4J6SZjoH0lDDNlg==", + "version": "0.224.0", + "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.224.0.tgz", + "integrity": "sha512-S1P78o0VLB1FZvkoGSIpaRiiTUQ3xDhm9I4Z1qc3lglmkjehfR2sjM0vhwKS7UC1G12VT4Leb/GGV/KlactqjA==", "engines": { "node": ">=0.4.0" } @@ -16389,9 +16432,9 @@ } }, "node_modules/framer-motion": { - "version": "10.16.12", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.12.tgz", - "integrity": "sha512-w7Yzx0OzQ5Uh6uNkxaX+4TuAPuOKz3haSbjmHpdrqDpGuCJCpq6YP9Dy7JJWdZ6mJjndrg3Ao3vUwDajKNikCA==", + "version": "10.16.16", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.16.tgz", + "integrity": "sha512-je6j91rd7NmUX7L1XHouwJ4v3R+SO4umso2LUcgOct3rHZ0PajZ80ETYZTajzEXEl9DlKyzjyt4AvGQ+lrebOw==", "dependencies": { "tslib": "^2.4.0" }, @@ -19574,10 +19617,14 @@ } }, "node_modules/local-pkg": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz", - "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.0.tgz", + "integrity": "sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==", "dev": true, + "dependencies": { + "mlly": "^1.4.2", + "pkg-types": "^1.0.3" + }, "engines": { "node": ">=14" }, @@ -20513,14 +20560,15 @@ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, "node_modules/next": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/next/-/next-14.0.3.tgz", - "integrity": "sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==", + "version": "14.0.4", + "resolved": "https://registry.npmjs.org/next/-/next-14.0.4.tgz", + "integrity": "sha512-qbwypnM7327SadwFtxXnQdGiKpkuhaRLE2uq62/nRul9cj9KhQ5LhHmlziTNqUidZotw/Q1I9OjirBROdUJNgA==", "dependencies": { - "@next/env": "14.0.3", + "@next/env": "14.0.4", "@swc/helpers": "0.5.2", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001406", + "graceful-fs": "^4.2.11", "postcss": "8.4.31", "styled-jsx": "5.1.1", "watchpack": "2.4.0" @@ -20532,15 +20580,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.0.3", - "@next/swc-darwin-x64": "14.0.3", - "@next/swc-linux-arm64-gnu": "14.0.3", - "@next/swc-linux-arm64-musl": "14.0.3", - "@next/swc-linux-x64-gnu": "14.0.3", - "@next/swc-linux-x64-musl": "14.0.3", - "@next/swc-win32-arm64-msvc": "14.0.3", - "@next/swc-win32-ia32-msvc": "14.0.3", - "@next/swc-win32-x64-msvc": "14.0.3" + "@next/swc-darwin-arm64": "14.0.4", + "@next/swc-darwin-x64": "14.0.4", + "@next/swc-linux-arm64-gnu": "14.0.4", + "@next/swc-linux-arm64-musl": "14.0.4", + "@next/swc-linux-x64-gnu": "14.0.4", + "@next/swc-linux-x64-musl": "14.0.4", + "@next/swc-win32-arm64-msvc": "14.0.4", + "@next/swc-win32-ia32-msvc": "14.0.4", + "@next/swc-win32-x64-msvc": "14.0.4" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -22637,9 +22685,9 @@ } }, "node_modules/prettier": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", - "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -24823,11 +24871,11 @@ "dev": true }, "node_modules/storybook": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/storybook/-/storybook-7.6.3.tgz", - "integrity": "sha512-H3odxahMiR8vVW7ltlqcHhn3UVH5ta03weKlY7xvpv5DV+thZ+mEO2cDYfsufCSg0Ldb5LQ4qq3OyLVdpDBN8g==", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/storybook/-/storybook-7.6.4.tgz", + "integrity": "sha512-nQhs9XkrroxjqMoBnnToyc6M8ndbmpkOb1qmULO4chtfMy4k0p9Un3K4TJvDaP8c3wPUFGd4ZaJ1hZNVmIl56Q==", "dependencies": { - "@storybook/cli": "7.6.3" + "@storybook/cli": "7.6.4" }, "bin": { "sb": "index.js", @@ -25295,9 +25343,9 @@ "dev": true }, "node_modules/tinypool": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.7.0.tgz", - "integrity": "sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.1.tgz", + "integrity": "sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==", "dev": true, "engines": { "node": ">=14.0.0" @@ -25677,26 +25725,26 @@ } }, "node_modules/turbo": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.10.16.tgz", - "integrity": "sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.11.2.tgz", + "integrity": "sha512-jPC7LVQJzebs5gWf8FmEvsvXGNyKbN+O9qpvv98xpNaM59aS0/Irhd0H0KbcqnXfsz7ETlzOC3R+xFWthC4Z8A==", "dev": true, "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "1.10.16", - "turbo-darwin-arm64": "1.10.16", - "turbo-linux-64": "1.10.16", - "turbo-linux-arm64": "1.10.16", - "turbo-windows-64": "1.10.16", - "turbo-windows-arm64": "1.10.16" + "turbo-darwin-64": "1.11.2", + "turbo-darwin-arm64": "1.11.2", + "turbo-linux-64": "1.11.2", + "turbo-linux-arm64": "1.11.2", + "turbo-windows-64": "1.11.2", + "turbo-windows-arm64": "1.11.2" } }, "node_modules/turbo-darwin-64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.10.16.tgz", - "integrity": "sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.11.2.tgz", + "integrity": "sha512-toFmRG/adriZY3hOps7nYCfqHAS+Ci6xqgX3fbo82kkLpC6OBzcXnleSwuPqjHVAaRNhVoB83L5njcE9Qwi2og==", "cpu": [ "x64" ], @@ -25707,9 +25755,9 @@ ] }, "node_modules/turbo-darwin-arm64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.10.16.tgz", - "integrity": "sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.11.2.tgz", + "integrity": "sha512-FCsEDZ8BUSFYEOSC3rrARQrj7x2VOrmVcfrMUIhexTxproRh4QyMxLfr6LALk4ymx6jbDCxWa6Szal8ckldFbA==", "cpu": [ "arm64" ], @@ -25720,9 +25768,9 @@ ] }, "node_modules/turbo-linux-64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.10.16.tgz", - "integrity": "sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.11.2.tgz", + "integrity": "sha512-Vzda/o/QyEske5CxLf0wcu7UUS+7zB90GgHZV4tyN+WZtoouTvbwuvZ3V6b5Wgd3OJ/JwWR0CXDK7Sf4VEMr7A==", "cpu": [ "x64" ], @@ -25733,9 +25781,9 @@ ] }, "node_modules/turbo-linux-arm64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.10.16.tgz", - "integrity": "sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.11.2.tgz", + "integrity": "sha512-bRLwovQRz0yxDZrM4tQEAYV0fBHEaTzUF0JZ8RG1UmZt/CqtpnUrJpYb1VK8hj1z46z9YehARpYCwQ2K0qU4yw==", "cpu": [ "arm64" ], @@ -25746,9 +25794,9 @@ ] }, "node_modules/turbo-windows-64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.10.16.tgz", - "integrity": "sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.11.2.tgz", + "integrity": "sha512-LgTWqkHAKgyVuLYcEPxZVGPInTjjeCnN5KQMdJ4uQZ+xMDROvMFS2rM93iQl4ieDJgidwHCxxCxaU9u8c3d/Kg==", "cpu": [ "x64" ], @@ -25759,9 +25807,9 @@ ] }, "node_modules/turbo-windows-arm64": { - "version": "1.10.16", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.10.16.tgz", - "integrity": "sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.11.2.tgz", + "integrity": "sha512-829aVBU7IX0c/B4G7g1VI8KniAGutHhIupkYMgF6xPkYVev2G3MYe6DMS/vsLt9GGM9ulDtdWxWrH5P2ngK8IQ==", "cpu": [ "arm64" ], @@ -25839,9 +25887,9 @@ } }, "node_modules/typescript": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.2.tgz", - "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -26332,11 +26380,10 @@ } }, "node_modules/valtio": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.12.1.tgz", - "integrity": "sha512-R0V4H86Xi2Pp7pmxN/EtV4Q6jr6PMN3t1IwxEvKUp6160r8FimvPh941oWyeK1iec/DTsh9Jb3Q+GputMS8SYg==", + "version": "1.11.2", + "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.11.2.tgz", + "integrity": "sha512-1XfIxnUXzyswPAPXo1P3Pdx2mq/pIqZICkWN60Hby0d9Iqb+MEIpqgYVlbflvHdrp2YR/q3jyKWRPJJ100yxaw==", "dependencies": { - "derive-valtio": "0.1.0", "proxy-compare": "2.5.1", "use-sync-external-store": "1.2.0" }, @@ -26365,9 +26412,9 @@ } }, "node_modules/viem": { - "version": "1.19.11", - "resolved": "https://registry.npmjs.org/viem/-/viem-1.19.11.tgz", - "integrity": "sha512-dbsXEWDBZkByuzJXAs/e01j7dpUJ5ICF5WcyntFwf8Y97n5vnC/91lAleSa6DA5V4WJvYZbhDpYeTctsMAQnhA==", + "version": "1.19.13", + "resolved": "https://registry.npmjs.org/viem/-/viem-1.19.13.tgz", + "integrity": "sha512-DizIwJAecLedI+nq6c5LIqCLAnYXUhQX5BnH6o1H2ln6isPyJVf+v4H1IfMlRHgR5KRlC+wGI/mCjarr3tW6eg==", "funding": [ { "type": "github", @@ -26394,13 +26441,13 @@ } }, "node_modules/vite": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.4.tgz", - "integrity": "sha512-RzAr8LSvM8lmhB4tQ5OPcBhpjOZRZjuxv9zO5UcxeoY2bd3kP3Ticd40Qma9/BqZ8JS96Ll/jeBX9u+LJZrhVg==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.8.tgz", + "integrity": "sha512-jYMALd8aeqR3yS9xlHd0OzQJndS9fH5ylVgWdB+pxTwxLKdO1pgC5Dlb398BUxpfaBxa4M9oT7j1g503Gaj5IQ==", "dev": true, "dependencies": { "esbuild": "^0.19.3", - "postcss": "^8.4.31", + "postcss": "^8.4.32", "rollup": "^4.2.0" }, "bin": { @@ -26449,82 +26496,79 @@ } }, "node_modules/vite-node": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.6.tgz", - "integrity": "sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-1.0.4.tgz", + "integrity": "sha512-9xQQtHdsz5Qn8hqbV7UKqkm8YkJhzT/zr41Dmt5N7AlD8hJXw/Z7y0QiD5I8lnTthV9Rvcvi0QW7PI0Fq83ZPg==", "dev": true, "dependencies": { "cac": "^6.7.14", "debug": "^4.3.4", - "mlly": "^1.4.0", "pathe": "^1.1.1", "picocolors": "^1.0.0", - "vite": "^3.0.0 || ^4.0.0 || ^5.0.0-0" + "vite": "^5.0.0" }, "bin": { "vite-node": "vite-node.mjs" }, "engines": { - "node": ">=v14.18.0" + "node": "^18.0.0 || >=20.0.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/vitest": { - "version": "0.34.6", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.6.tgz", - "integrity": "sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-1.0.4.tgz", + "integrity": "sha512-s1GQHp/UOeWEo4+aXDOeFBJwFzL6mjycbQwwKWX2QcYfh/7tIerS59hWQ20mxzupTJluA2SdwiBuWwQHH67ckg==", "dev": true, "dependencies": { - "@types/chai": "^4.3.5", - "@types/chai-subset": "^1.3.3", - "@types/node": "*", - "@vitest/expect": "0.34.6", - "@vitest/runner": "0.34.6", - "@vitest/snapshot": "0.34.6", - "@vitest/spy": "0.34.6", - "@vitest/utils": "0.34.6", - "acorn": "^8.9.0", - "acorn-walk": "^8.2.0", + "@vitest/expect": "1.0.4", + "@vitest/runner": "1.0.4", + "@vitest/snapshot": "1.0.4", + "@vitest/spy": "1.0.4", + "@vitest/utils": "1.0.4", + "acorn-walk": "^8.3.0", "cac": "^6.7.14", "chai": "^4.3.10", "debug": "^4.3.4", - "local-pkg": "^0.4.3", - "magic-string": "^0.30.1", + "execa": "^8.0.1", + "local-pkg": "^0.5.0", + "magic-string": "^0.30.5", "pathe": "^1.1.1", "picocolors": "^1.0.0", - "std-env": "^3.3.3", - "strip-literal": "^1.0.1", - "tinybench": "^2.5.0", - "tinypool": "^0.7.0", - "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0", - "vite-node": "0.34.6", + "std-env": "^3.5.0", + "strip-literal": "^1.3.0", + "tinybench": "^2.5.1", + "tinypool": "^0.8.1", + "vite": "^5.0.0", + "vite-node": "1.0.4", "why-is-node-running": "^2.2.2" }, "bin": { "vitest": "vitest.mjs" }, "engines": { - "node": ">=v14.18.0" + "node": "^18.0.0 || >=20.0.0" }, "funding": { "url": "https://opencollective.com/vitest" }, "peerDependencies": { "@edge-runtime/vm": "*", - "@vitest/browser": "*", - "@vitest/ui": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "^1.0.0", + "@vitest/ui": "^1.0.0", "happy-dom": "*", - "jsdom": "*", - "playwright": "*", - "safaridriver": "*", - "webdriverio": "*" + "jsdom": "*" }, "peerDependenciesMeta": { "@edge-runtime/vm": { "optional": true }, + "@types/node": { + "optional": true + }, "@vitest/browser": { "optional": true }, @@ -26536,28 +26580,153 @@ }, "jsdom": { "optional": true - }, - "playwright": { - "optional": true - }, - "safaridriver": { - "optional": true - }, - "webdriverio": { - "optional": true } } }, + "node_modules/vitest/node_modules/execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/vitest/node_modules/get-stream": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "dev": true, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/human-signals": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "dev": true, + "engines": { + "node": ">=16.17.0" + } + }, + "node_modules/vitest/node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vitest/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/vitest/node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/vue": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.9.tgz", - "integrity": "sha512-sy5sLCTR8m6tvUk1/ijri3Yqzgpdsmxgj6n6yl7GXXCXqVbmW2RCXe9atE4cEI6Iv7L89v5f35fZRRr5dChP9w==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", + "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", "dependencies": { - "@vue/compiler-dom": "3.3.9", - "@vue/compiler-sfc": "3.3.9", - "@vue/runtime-dom": "3.3.9", - "@vue/server-renderer": "3.3.9", - "@vue/shared": "3.3.9" + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-sfc": "3.3.11", + "@vue/runtime-dom": "3.3.11", + "@vue/server-renderer": "3.3.11", + "@vue/shared": "3.3.11" }, "peerDependencies": { "typescript": "*" @@ -26569,9 +26738,9 @@ } }, "node_modules/wagmi": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/wagmi/-/wagmi-1.4.7.tgz", - "integrity": "sha512-/k8gA9S6RnwU6Qroxs630jAFvRIx+DSKpCP1owgAEGWc7D2bAJHljwRSCRTGENz48HyJ4V3R7KYV1yImxPvM3A==", + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/wagmi/-/wagmi-1.4.11.tgz", + "integrity": "sha512-Kslc5wwuPTSOqxpqElE9lGZahyPwlwAXrRpvmw+h89e8lPg7DWThQsPQMWiSvKcg+NloEHwQRGmy5rpfKFKLaA==", "dev": true, "funding": [ { @@ -26587,7 +26756,7 @@ "@tanstack/query-sync-storage-persister": "^4.27.1", "@tanstack/react-query": "^4.28.0", "@tanstack/react-query-persist-client": "^4.28.0", - "@wagmi/core": "1.4.7", + "@wagmi/core": "1.4.11", "abitype": "0.8.7", "use-sync-external-store": "^1.2.0" }, @@ -27094,7 +27263,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "dayjs": "1.11.10" @@ -27102,26 +27271,26 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "3.5.0", - "valtio": "1.12.1" + "@web3modal/common": "3.5.0-6a05dc24", + "valtio": "1.11.2" } }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.7.2", "@walletconnect/ethereum-provider": "2.10.6", - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "valtio": "1.12.1" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "devDependencies": { "@web3modal/siwe": "*", @@ -27155,163 +27324,26 @@ } } }, - "packages/ethers/node_modules/@walletconnect/core": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.10.6.tgz", - "integrity": "sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ==", - "dependencies": { - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-provider": "1.0.13", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/jsonrpc-ws-connection": "1.0.14", - "@walletconnect/keyvaluestorage": "^1.1.1", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/relay-api": "^1.0.9", - "@walletconnect/relay-auth": "^1.0.4", - "@walletconnect/safe-json": "^1.0.2", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0", - "lodash.isequal": "4.5.0", - "uint8arrays": "^3.1.0" - } - }, - "packages/ethers/node_modules/@walletconnect/ethereum-provider": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz", - "integrity": "sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ==", - "dependencies": { - "@walletconnect/jsonrpc-http-connection": "^1.0.7", - "@walletconnect/jsonrpc-provider": "^1.0.13", - "@walletconnect/jsonrpc-types": "^1.0.3", - "@walletconnect/jsonrpc-utils": "^1.0.8", - "@walletconnect/modal": "^2.4.3", - "@walletconnect/sign-client": "2.10.6", - "@walletconnect/types": "2.10.6", - "@walletconnect/universal-provider": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers/node_modules/@walletconnect/jsonrpc-ws-connection": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz", - "integrity": "sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA==", - "dependencies": { - "@walletconnect/jsonrpc-utils": "^1.0.6", - "@walletconnect/safe-json": "^1.0.2", - "events": "^3.3.0", - "ws": "^7.5.1" - } - }, - "packages/ethers/node_modules/@walletconnect/sign-client": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.10.6.tgz", - "integrity": "sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA==", - "dependencies": { - "@walletconnect/core": "2.10.6", - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers/node_modules/@walletconnect/types": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.6.tgz", - "integrity": "sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==", - "dependencies": { - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/keyvaluestorage": "^1.1.1", - "@walletconnect/logger": "^2.0.1", - "events": "^3.3.0" - } - }, - "packages/ethers/node_modules/@walletconnect/universal-provider": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz", - "integrity": "sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==", - "dependencies": { - "@walletconnect/jsonrpc-http-connection": "^1.0.7", - "@walletconnect/jsonrpc-provider": "1.0.13", - "@walletconnect/jsonrpc-types": "^1.0.2", - "@walletconnect/jsonrpc-utils": "^1.0.7", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/sign-client": "2.10.6", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers/node_modules/@walletconnect/utils": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", - "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", - "dependencies": { - "@stablelib/chacha20poly1305": "1.0.1", - "@stablelib/hkdf": "1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/sha256": "1.0.1", - "@stablelib/x25519": "^1.0.3", - "@walletconnect/relay-api": "^1.0.9", - "@walletconnect/safe-json": "^1.0.2", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/window-getters": "^1.0.1", - "@walletconnect/window-metadata": "^1.0.1", - "detect-browser": "5.3.0", - "query-string": "7.1.3", - "uint8arrays": "^3.1.0" - } - }, - "packages/ethers/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.7.2", "@walletconnect/ethereum-provider": "2.10.6", - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "valtio": "1.12.1" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "devDependencies": { "@web3modal/siwe": "*", "ethers": "5.7.2" }, "optionalDependencies": { - "@web3modal/siwe": "*", + "@web3modal/siwe": "3.5.0-6a05dc24", "react": ">=17", "react-dom": ">=17", "vue": ">=3" @@ -27338,123 +27370,6 @@ } } }, - "packages/ethers5/node_modules/@walletconnect/core": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.10.6.tgz", - "integrity": "sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ==", - "dependencies": { - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-provider": "1.0.13", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/jsonrpc-ws-connection": "1.0.14", - "@walletconnect/keyvaluestorage": "^1.1.1", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/relay-api": "^1.0.9", - "@walletconnect/relay-auth": "^1.0.4", - "@walletconnect/safe-json": "^1.0.2", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0", - "lodash.isequal": "4.5.0", - "uint8arrays": "^3.1.0" - } - }, - "packages/ethers5/node_modules/@walletconnect/ethereum-provider": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz", - "integrity": "sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ==", - "dependencies": { - "@walletconnect/jsonrpc-http-connection": "^1.0.7", - "@walletconnect/jsonrpc-provider": "^1.0.13", - "@walletconnect/jsonrpc-types": "^1.0.3", - "@walletconnect/jsonrpc-utils": "^1.0.8", - "@walletconnect/modal": "^2.4.3", - "@walletconnect/sign-client": "2.10.6", - "@walletconnect/types": "2.10.6", - "@walletconnect/universal-provider": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers5/node_modules/@walletconnect/jsonrpc-ws-connection": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz", - "integrity": "sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA==", - "dependencies": { - "@walletconnect/jsonrpc-utils": "^1.0.6", - "@walletconnect/safe-json": "^1.0.2", - "events": "^3.3.0", - "ws": "^7.5.1" - } - }, - "packages/ethers5/node_modules/@walletconnect/sign-client": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/sign-client/-/sign-client-2.10.6.tgz", - "integrity": "sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA==", - "dependencies": { - "@walletconnect/core": "2.10.6", - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-utils": "1.0.8", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers5/node_modules/@walletconnect/types": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.6.tgz", - "integrity": "sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==", - "dependencies": { - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/keyvaluestorage": "^1.1.1", - "@walletconnect/logger": "^2.0.1", - "events": "^3.3.0" - } - }, - "packages/ethers5/node_modules/@walletconnect/universal-provider": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz", - "integrity": "sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==", - "dependencies": { - "@walletconnect/jsonrpc-http-connection": "^1.0.7", - "@walletconnect/jsonrpc-provider": "1.0.13", - "@walletconnect/jsonrpc-types": "^1.0.2", - "@walletconnect/jsonrpc-utils": "^1.0.7", - "@walletconnect/logger": "^2.0.1", - "@walletconnect/sign-client": "2.10.6", - "@walletconnect/types": "2.10.6", - "@walletconnect/utils": "2.10.6", - "events": "^3.3.0" - } - }, - "packages/ethers5/node_modules/@walletconnect/utils": { - "version": "2.10.6", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.6.tgz", - "integrity": "sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==", - "dependencies": { - "@stablelib/chacha20poly1305": "1.0.1", - "@stablelib/hkdf": "1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/sha256": "1.0.1", - "@stablelib/x25519": "^1.0.3", - "@walletconnect/relay-api": "^1.0.9", - "@walletconnect/safe-json": "^1.0.2", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.6", - "@walletconnect/window-getters": "^1.0.1", - "@walletconnect/window-metadata": "^1.0.1", - "detect-browser": "5.3.0", - "query-string": "7.1.3", - "uint8arrays": "^3.1.0" - } - }, "packages/ethers5/node_modules/ethers": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", @@ -27503,29 +27418,9 @@ "@ethersproject/wordlists": "5.7.0" } }, - "packages/ethers5/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -27556,23 +27451,23 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "3.5.0", - "@web3modal/ui": "3.5.0", + "@web3modal/core": "3.5.0-6a05dc24", + "@web3modal/ui": "3.5.0-6a05dc24", "lit": "3.1.0" }, "devDependencies": { - "@web3modal/wallet": "3.5.0" + "@web3modal/wallet": "3.5.0-6a05dc24" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "3.5.0" + "@web3modal/scaffold": "3.5.0-6a05dc24" }, "peerDependencies": { "react": ">=17", @@ -27581,19 +27476,20 @@ }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "3.5.0" + "@web3modal/scaffold": "3.5.0-6a05dc24" }, "peerDependencies": { "vue": ">=3" @@ -27611,11 +27507,11 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0" + "@web3modal/core": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24" }, "optionalDependencies": { "react": ">=17", @@ -27641,7 +27537,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -27649,7 +27545,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "3.5.0", + "@web3modal/common": "3.5.0-6a05dc24", "eslint-plugin-lit": "1.10.1", "eslint-plugin-wc": "2.0.4" } @@ -27666,15 +27562,15 @@ }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "@web3modal/wallet": "3.5.0" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "@web3modal/wallet": "3.5.0-6a05dc24" }, "devDependencies": { "@web3modal/siwe": "*" @@ -27710,7 +27606,7 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "license": "Apache-2.0", "dependencies": { "zod": "3.22.4" diff --git a/package.json b/package.json index 4725417681..8990a7ffab 100644 --- a/package.json +++ b/package.json @@ -4,23 +4,24 @@ "private": true, "type": "module", "scripts": { + "build:clean": "turbo run build:clean", "build": "turbo run build", - "watch": "turbo run watch --parallel", - "gallery": "turbo run dev:gallery --parallel", - "laboratory": "turbo run dev:laboratory --parallel", - "examples": "turbo run dev:example --parallel", + "watch": "turbo run watch --concurrency=50 --continue", + "gallery": "turbo run dev:gallery", + "laboratory": "turbo run dev:laboratory", + "examples": "turbo run dev:example", "build:gallery": "turbo run build:gallery", "build:laboratory": "turbo run build:laboratory", "build:examples": "turbo run build:examples", - "test": "turbo run test --parallel", - "typecheck": "turbo run typecheck --parallel", - "lint": "turbo run lint --parallel", + "test": "turbo run test", + "typecheck": "turbo run typecheck", + "lint": "turbo run lint", "danger": "danger ci", "prettier": "prettier --check .", "prettier:format": "prettier --write .", "clean": "rm -rf `find . -type d -name node_modules -o -name dist -o -name .next -o -name out`; rm package-lock.json", "new-version": "lerna version --no-git-tag-version --exact", - "pre-publish": "turbo lint typecheck prettier test --parallel; npm run new-version; npm install; turbo run build;", + "pre-publish": "turbo lint typecheck prettier test; npm run new-version; npm install; turbo run build;", "publish:latest": "npm run build; lerna exec -- npm publish --no-private --access public --tag latest", "publish:alpha": "npm run build; lerna exec -- npm publish --no-private --access public --tag alpha", "publish:beta": "npm run build; lerna exec -- npm publish --no-private --access public --tag beta", @@ -44,24 +45,24 @@ "examples/*" ], "devDependencies": { - "@types/react": "18.2.41", + "@types/react": "18.2.45", "@types/react-dom": "18.2.17", - "@typescript-eslint/eslint-plugin": "6.13.1", - "@typescript-eslint/parser": "6.13.1", - "danger": "11.3.0", + "@typescript-eslint/eslint-plugin": "6.14.0", + "@typescript-eslint/parser": "6.14.0", + "danger": "11.3.1", "eslint": "8.55.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-require-extensions": "0.1.3", "lerna": "8.0.0", - "prettier": "3.1.0", + "prettier": "3.1.1", "react": "18.2.0", "react-dom": "18.2.0", - "turbo": "1.10.16", - "typescript": "5.3.2", - "viem": "1.19.11", - "vite": "5.0.4", - "vitest": "0.34.6", - "vue": "3.3.9", - "wagmi": "1.4.7" + "turbo": "1.11.2", + "typescript": "5.3.3", + "viem": "1.19.13", + "vite": "5.0.8", + "vitest": "1.0.4", + "vue": "3.3.11", + "wagmi": "1.4.11" } } diff --git a/packages/common/package.json b/packages/common/package.json index dc10414402..515f621e02 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,8 +10,8 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:common": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "test": "vitest run --dir tests", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" diff --git a/packages/core/index.ts b/packages/core/index.ts index 5f7114adc9..a1aa5a0278 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -63,5 +63,6 @@ export { AssetUtil } from './src/utils/AssetUtil.js' export { ConstantsUtil } from './src/utils/ConstantsUtil.js' export { CoreHelperUtil } from './src/utils/CoreHelperUtil.js' export { StorageUtil } from './src/utils/StorageUtil.js' +export { RouterUtil } from './src/utils/RouterUtil.js' export type * from './src/utils/TypeUtil.js' diff --git a/packages/core/package.json b/packages/core/package.json index bf3dc6673c..9a6e6d0be6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,15 +10,15 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:core": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "test": "vitest run --dir tests", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "3.5.0", - "valtio": "1.12.1" + "@web3modal/common": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "keywords": [ "web3", diff --git a/packages/core/src/controllers/AccountController.ts b/packages/core/src/controllers/AccountController.ts index 9de7a1c1f1..7dac7eb5be 100644 --- a/packages/core/src/controllers/AccountController.ts +++ b/packages/core/src/controllers/AccountController.ts @@ -10,8 +10,8 @@ export interface AccountControllerState { address?: string balance?: string balanceSymbol?: string - profileName?: string - profileImage?: string + profileName?: string | null + profileImage?: string | null addressExplorerUrl?: string } diff --git a/packages/core/src/controllers/BlockchainApiController.ts b/packages/core/src/controllers/BlockchainApiController.ts index 5ca274df29..8a9835316a 100644 --- a/packages/core/src/controllers/BlockchainApiController.ts +++ b/packages/core/src/controllers/BlockchainApiController.ts @@ -23,6 +23,7 @@ export const BlockchainApiController = { } }) }, + fetchTransactions({ account, projectId, cursor }: BlockchainApiTransactionsRequest) { const queryParams = cursor ? { cursor } : {} diff --git a/packages/core/src/utils/CoreHelperUtil.ts b/packages/core/src/utils/CoreHelperUtil.ts index 2fc82a7125..f75777794e 100644 --- a/packages/core/src/utils/CoreHelperUtil.ts +++ b/packages/core/src/utils/CoreHelperUtil.ts @@ -138,7 +138,7 @@ export const CoreHelperUtil = { } } - return formattedBalance ? `${formattedBalance} ${symbol}` : '0.000' + return formattedBalance ? `${formattedBalance} ${symbol}` : `0.000 ${symbol}` }, isRestrictedRegion() { diff --git a/packages/core/src/utils/RouterUtil.ts b/packages/core/src/utils/RouterUtil.ts new file mode 100644 index 0000000000..287772bfe2 --- /dev/null +++ b/packages/core/src/utils/RouterUtil.ts @@ -0,0 +1,22 @@ +import { RouterController } from '../controllers/RouterController.js' +import { ModalController } from '../controllers/ModalController.js' + +export const RouterUtil = { + goBackOrCloseModal() { + if (RouterController.state.history.length > 1) { + RouterController.goBack() + } else { + ModalController.close() + } + }, + navigateAfterNetworkSwitch() { + const { history } = RouterController.state + const networkSelectIndex = history.findIndex(name => name === 'Networks') + const pageBeforeNetworkSelect = history[networkSelectIndex - 1] + if (pageBeforeNetworkSelect) { + RouterController.replace(pageBeforeNetworkSelect) + } else { + ModalController.close() + } + } +} diff --git a/packages/core/src/utils/TypeUtil.ts b/packages/core/src/utils/TypeUtil.ts index 75e9791153..6b20457776 100644 --- a/packages/core/src/utils/TypeUtil.ts +++ b/packages/core/src/utils/TypeUtil.ts @@ -125,8 +125,8 @@ export interface BlockchainApiIdentityRequest { } export interface BlockchainApiIdentityResponse { - avatar: string - name: string + avatar: string | null + name: string | null } export interface BlockchainApiTransactionsRequest { diff --git a/packages/ethers/exports/react.tsx b/packages/ethers/exports/react.tsx index 5168b4eae9..77738a96fb 100644 --- a/packages/ethers/exports/react.tsx +++ b/packages/ethers/exports/react.tsx @@ -28,10 +28,10 @@ export function createWeb3Modal(options: Web3ModalOptions) { // -- Hooks ------------------------------------------------------------------- export function useWeb3ModalProvider() { - const state = useSnapshot(EthersStoreUtil.state) + const { provider, providerType } = useSnapshot(EthersStoreUtil.state) - const walletProvider = state.provider as Eip1193Provider | undefined - const walletProviderType = state.providerType + const walletProvider = provider as Eip1193Provider | undefined + const walletProviderType = providerType return { walletProvider, @@ -50,11 +50,7 @@ export function useDisconnect() { } export function useWeb3ModalAccount() { - const state = useSnapshot(EthersStoreUtil.state) - - const address = state.address - const isConnected = state.isConnected - const chainId = state.chainId + const { address, isConnected, chainId } = useSnapshot(EthersStoreUtil.state) return { address, @@ -63,6 +59,14 @@ export function useWeb3ModalAccount() { } } +export function useWeb3ModalError() { + const { error } = useSnapshot(EthersStoreUtil.state) + + return { + error + } +} + export { useWeb3ModalTheme, useWeb3Modal, diff --git a/packages/ethers/exports/vue.ts b/packages/ethers/exports/vue.ts index 3cebeda7e3..34fb06bc89 100644 --- a/packages/ethers/exports/vue.ts +++ b/packages/ethers/exports/vue.ts @@ -82,6 +82,26 @@ export function useWeb3ModalAccount() { } } +export function useWeb3ModalError() { + if (!modal) { + throw new Error('Please call "createWeb3Modal" before using "useWeb3ModalError" composition') + } + + const error = ref(modal.getError()) + + const unsubscribe = modal.subscribeProvider(state => { + error.value = state.error + }) + + onUnmounted(() => { + unsubscribe?.() + }) + + return { + error + } +} + export { useWeb3ModalTheme, useWeb3Modal, diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 8b75c0c17e..7ba283de38 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -37,20 +37,20 @@ }, "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { "@coinbase/wallet-sdk": "3.7.2", "@walletconnect/ethereum-provider": "2.10.6", - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "valtio": "1.12.1" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "peerDependencies": { "@web3modal/siwe": "*", diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index 1fd5e02d2f..c5b35597ef 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -41,8 +41,8 @@ import type { CombinedProvider } from '@web3modal/scaffold-utils/ethers' // -- Types --------------------------------------------------------------------- export interface Web3ModalClientOptions extends Omit { ethersConfig: ProviderType + chains: Chain[] siweConfig?: Web3ModalSIWEClient - chains?: Chain[] defaultChain?: Chain chainImages?: Record connectorImages?: Record @@ -95,7 +95,7 @@ export class Web3Modal extends Web3ModalScaffold { private projectId: string - private chains?: Chain[] + private chains: Chain[] private metadata?: Metadata @@ -127,7 +127,11 @@ export class Web3Modal extends Web3ModalScaffold { switchCaipNetwork: async caipNetwork => { const chainId = HelpersUtil.caipNetworkIdToNumber(caipNetwork?.id) if (chainId) { - await this.switchNetwork(chainId) + try { + await this.switchNetwork(chainId) + } catch (error) { + EthersStoreUtil.setError(error) + } } }, @@ -192,19 +196,31 @@ export class Web3Modal extends Web3ModalScaffold { if (!InjectedProvider) { throw new Error('connectionControllerClient:connectInjected - provider is undefined') } - await InjectedProvider.request({ method: 'eth_requestAccounts' }) - this.setInjectedProvider(ethersConfig) + try { + await InjectedProvider.request({ method: 'eth_requestAccounts' }) + this.setInjectedProvider(ethersConfig) + } catch (error) { + EthersStoreUtil.setError(error) + } } else if (id === ConstantsUtil.EIP6963_CONNECTOR_ID && info && provider) { - await provider.request({ method: 'eth_requestAccounts' }) - this.setEIP6963Provider(provider, info.name) + try { + await provider.request({ method: 'eth_requestAccounts' }) + this.setEIP6963Provider(provider, info.name) + } catch (error) { + EthersStoreUtil.setError(error) + } } else if (id === ConstantsUtil.COINBASE_CONNECTOR_ID) { const CoinbaseProvider = ethersConfig.coinbase if (!CoinbaseProvider) { throw new Error('connectionControllerClient:connectCoinbase - connector is undefined') } - await CoinbaseProvider.request({ method: 'eth_requestAccounts' }) - this.setCoinbaseProvider(ethersConfig) + try { + await CoinbaseProvider.request({ method: 'eth_requestAccounts' }) + this.setCoinbaseProvider(ethersConfig) + } catch (error) { + EthersStoreUtil.setError(error) + } } else if (id === ConstantsUtil.EMAIL_CONNECTOR_ID) { this.setEmailProvider() } @@ -343,6 +359,10 @@ export class Web3Modal extends Web3ModalScaffold { return address ? getOriginalAddress(address) : undefined } + public getError() { + return EthersStoreUtil.state.error + } + public getChainId() { return EthersStoreUtil.state.chainId } @@ -374,7 +394,11 @@ export class Web3Modal extends Web3ModalScaffold { } else { const walletConnectProvider = provider as unknown as EthereumProvider if (walletConnectProvider) { - await walletConnectProvider.disconnect() + try { + await walletConnectProvider.disconnect() + } catch (error) { + EthersStoreUtil.setError(error) + } } } } @@ -399,7 +423,7 @@ export class Web3Modal extends Web3ModalScaffold { return map }, {}) : ({} as Record), - optionalChains: this.chains ? [0, ...this.chains.map(chain => chain.chainId)] : [0], + optionalChains: [...this.chains.map(chain => chain.chainId)] as [number], metadata: { name: this.metadata ? this.metadata.name : '', description: this.metadata ? this.metadata.description : '', @@ -407,6 +431,7 @@ export class Web3Modal extends Web3ModalScaffold { icons: this.metadata ? this.metadata.icons : [''] } } + this.walletConnectProvider = await EthereumProvider.init(walletConnectProviderOptions) await this.checkActiveWalletConnectProvider() @@ -414,7 +439,11 @@ export class Web3Modal extends Web3ModalScaffold { private async getWalletConnectProvider() { if (!this.walletConnectProvider) { - await this.createProvider() + try { + await this.createProvider() + } catch (error) { + EthersStoreUtil.setError(error) + } } return this.walletConnectProvider @@ -739,11 +768,13 @@ export class Web3Modal extends Web3ModalScaffold { this.setIsConnected(isConnected) this.setCaipAddress(caipAddress) + await Promise.all([ this.syncProfile(address), this.syncBalance(address), this.getApprovedCaipNetworksData() ]) + this.hasSyncedConnectedAccount = true } else if (!isConnected && this.hasSyncedConnectedAccount) { this.resetWcConnection() @@ -777,6 +808,7 @@ export class Web3Modal extends Web3ModalScaffold { this.setAddressExplorerUrl(undefined) } if (this.hasSyncedConnectedAccount) { + await this.syncProfile(address) await this.syncBalance(address) } } @@ -785,14 +817,22 @@ export class Web3Modal extends Web3ModalScaffold { } private async syncProfile(address: Address) { - const ensProvider = new InfuraProvider('mainnet') - const name = await ensProvider.lookupAddress(address) - const avatar = await ensProvider.getAvatar(address) - if (name) { - this.setProfileName(name) - } - if (avatar) { - this.setProfileImage(avatar) + const chainId = EthersStoreUtil.state.chainId + + if (chainId === 1) { + const ensProvider = new InfuraProvider('mainnet') + const name = await ensProvider.lookupAddress(address) + const avatar = await ensProvider.getAvatar(address) + + if (name) { + this.setProfileName(name) + } + if (avatar) { + this.setProfileImage(avatar) + } + } else { + this.setProfileName(null) + this.setProfileImage(null) } } diff --git a/packages/ethers/src/utils/defaultConfig.ts b/packages/ethers/src/utils/defaultConfig.ts index 9ed6099b7f..1a9898d166 100644 --- a/packages/ethers/src/utils/defaultConfig.ts +++ b/packages/ethers/src/utils/defaultConfig.ts @@ -23,7 +23,9 @@ export function defaultConfig(options: ConfigOptions) { defaultChainId } = options + // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents let injectedProvider: Provider | undefined = undefined + // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents let coinbaseProvider: Provider | undefined = undefined const providers: ProviderType = { metadata } diff --git a/packages/ethers/tsconfig.json b/packages/ethers/tsconfig.json index 4278cda748..26d75e03fb 100644 --- a/packages/ethers/tsconfig.json +++ b/packages/ethers/tsconfig.json @@ -6,5 +6,5 @@ "baseUrl": "../../" }, "extends": "../../tsconfig.json", - "include": ["exports", "src", "connectors"] + "include": ["exports", "src"] } diff --git a/packages/ethers5/exports/react.tsx b/packages/ethers5/exports/react.tsx index 605cc38359..b50a8b00d6 100644 --- a/packages/ethers5/exports/react.tsx +++ b/packages/ethers5/exports/react.tsx @@ -28,10 +28,10 @@ export function createWeb3Modal(options: Web3ModalOptions) { // -- Hooks ------------------------------------------------------------------- export function useWeb3ModalProvider() { - const state = useSnapshot(EthersStoreUtil.state) + const { provider, providerType } = useSnapshot(EthersStoreUtil.state) - const walletProvider = state.provider as ethers.providers.ExternalProvider | undefined - const walletProviderType = state.providerType + const walletProvider = provider as ethers.providers.ExternalProvider | undefined + const walletProviderType = providerType return { walletProvider, @@ -50,11 +50,7 @@ export function useDisconnect() { } export function useWeb3ModalAccount() { - const state = useSnapshot(EthersStoreUtil.state) - - const address = state.address - const isConnected = state.isConnected - const chainId = state.chainId + const { address, isConnected, chainId } = useSnapshot(EthersStoreUtil.state) return { address, @@ -63,6 +59,14 @@ export function useWeb3ModalAccount() { } } +export function useWeb3ModalError() { + const { error } = useSnapshot(EthersStoreUtil.state) + + return { + error + } +} + export { useWeb3ModalTheme, useWeb3Modal, diff --git a/packages/ethers5/exports/vue.ts b/packages/ethers5/exports/vue.ts index 72a17ac4bf..6cdf0ebe72 100644 --- a/packages/ethers5/exports/vue.ts +++ b/packages/ethers5/exports/vue.ts @@ -84,6 +84,26 @@ export function useWeb3ModalAccount() { } } +export function useWeb3ModalError() { + if (!modal) { + throw new Error('Please call "createWeb3Modal" before using "useWeb3ModalError" composition') + } + + const error = ref(modal.getError()) + + const unsubscribe = modal.subscribeProvider(state => { + error.value = state.error + }) + + onUnmounted(() => { + unsubscribe?.() + }) + + return { + error + } +} + export { useWeb3ModalTheme, useWeb3Modal, diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 3efe3fdf59..0d897d71ca 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -37,20 +37,20 @@ }, "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { "@coinbase/wallet-sdk": "3.7.2", "@walletconnect/ethereum-provider": "2.10.6", - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "valtio": "1.12.1" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "devDependencies": { "@web3modal/siwe": "*", @@ -78,7 +78,7 @@ } }, "optionalDependencies": { - "@web3modal/siwe": "*", + "@web3modal/siwe": "3.5.0-6a05dc24", "react": ">=17", "react-dom": ">=17", "vue": ">=3" diff --git a/packages/ethers5/src/client.ts b/packages/ethers5/src/client.ts index b34960c550..959b8e88a5 100644 --- a/packages/ethers5/src/client.ts +++ b/packages/ethers5/src/client.ts @@ -13,9 +13,7 @@ import type { import { Web3ModalScaffold } from '@web3modal/scaffold' import type { Web3ModalSIWEClient } from '@web3modal/siwe' import { ConstantsUtil, PresetsUtil, HelpersUtil } from '@web3modal/scaffold-utils' - import EthereumProvider from '@walletconnect/ethereum-provider' - import type { Address, Metadata, @@ -36,7 +34,7 @@ import type { EthereumProviderOptions } from '@walletconnect/ethereum-provider' export interface Web3ModalClientOptions extends Omit { ethersConfig: ProviderType siweConfig?: Web3ModalSIWEClient - chains?: Chain[] + chains: Chain[] defaultChain?: Chain chainImages?: Record connectorImages?: Record @@ -89,7 +87,7 @@ export class Web3Modal extends Web3ModalScaffold { private projectId: string - private chains?: Chain[] + private chains: Chain[] private metadata?: Metadata @@ -119,7 +117,11 @@ export class Web3Modal extends Web3ModalScaffold { switchCaipNetwork: async caipNetwork => { const chainId = HelpersUtil.caipNetworkIdToNumber(caipNetwork?.id) if (chainId) { - await this.switchNetwork(chainId) + try { + await this.switchNetwork(chainId) + } catch (error) { + EthersStoreUtil.setError(error) + } } }, @@ -184,19 +186,31 @@ export class Web3Modal extends Web3ModalScaffold { if (!InjectedProvider) { throw new Error('connectionControllerClient:connectInjected - provider is undefined') } - await InjectedProvider.request({ method: 'eth_requestAccounts' }) - this.setInjectedProvider(ethersConfig) + try { + await InjectedProvider.request({ method: 'eth_requestAccounts' }) + this.setInjectedProvider(ethersConfig) + } catch (error) { + EthersStoreUtil.setError(error) + } } else if (id === ConstantsUtil.EIP6963_CONNECTOR_ID && info && provider) { - await provider.request({ method: 'eth_requestAccounts' }) + try { + await provider.request({ method: 'eth_requestAccounts' }) + } catch (error) { + EthersStoreUtil.setError(error) + } this.setEIP6963Provider(provider, info.name) } else if (id === ConstantsUtil.COINBASE_CONNECTOR_ID) { const CoinbaseProvider = ethersConfig.coinbase if (!CoinbaseProvider) { throw new Error('connectionControllerClient:connectCoinbase - connector is undefined') } - await CoinbaseProvider.request({ method: 'eth_requestAccounts' }) - this.setCoinbaseProvider(ethersConfig) + try { + this.setCoinbaseProvider(ethersConfig) + await CoinbaseProvider.request({ method: 'eth_requestAccounts' }) + } catch (error) { + EthersStoreUtil.setError(error) + } } }, @@ -323,6 +337,10 @@ export class Web3Modal extends Web3ModalScaffold { return address ? utils.getAddress(address) : address } + public getError() { + return EthersStoreUtil.state.error + } + public getChainId() { return EthersStoreUtil.state.chainId } @@ -375,7 +393,7 @@ export class Web3Modal extends Web3ModalScaffold { return map }, {}) : ({} as Record), - optionalChains: this.chains ? [0, ...this.chains.map(chain => chain.chainId)] : [0], + optionalChains: [...this.chains.map(chain => chain.chainId)] as [number], metadata: { name: this.metadata ? this.metadata.name : '', description: this.metadata ? this.metadata.description : '', @@ -383,13 +401,19 @@ export class Web3Modal extends Web3ModalScaffold { icons: this.metadata ? this.metadata.icons : [''] } } + this.walletConnectProvider = await EthereumProvider.init(walletConnectProviderOptions) + await this.checkActiveWalletConnectProvider() } private async getWalletConnectProvider() { if (!this.walletConnectProvider) { - await this.createProvider() + try { + await this.createProvider() + } catch (error) { + EthersStoreUtil.setError(error) + } } return this.walletConnectProvider @@ -684,11 +708,13 @@ export class Web3Modal extends Web3ModalScaffold { this.setIsConnected(isConnected) this.setCaipAddress(caipAddress) + await Promise.all([ this.syncProfile(address), this.syncBalance(address), this.getApprovedCaipNetworksData() ]) + this.hasSyncedConnectedAccount = true } else if (!isConnected && this.hasSyncedConnectedAccount) { this.resetWcConnection() @@ -730,14 +756,22 @@ export class Web3Modal extends Web3ModalScaffold { } private async syncProfile(address: Address) { - const ensProvider = new ethers.providers.InfuraProvider('mainnet') - const name = await ensProvider.lookupAddress(address) - const avatar = await ensProvider.getAvatar(address) - if (name) { - this.setProfileName(name) - } - if (avatar) { - this.setProfileImage(avatar) + const chainId = EthersStoreUtil.state.chainId + + if (chainId === 1) { + const ensProvider = new ethers.providers.InfuraProvider('mainnet') + const name = await ensProvider.lookupAddress(address) + const avatar = await ensProvider.getAvatar(address) + + if (name) { + this.setProfileName(name) + } + if (avatar) { + this.setProfileImage(avatar) + } + } else { + this.setProfileName(null) + this.setProfileImage(null) } } diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index a3a931e7ff..7fc1da48ea 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,8 +10,8 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:polyfills": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index fc8ab48f0e..585fc93eb4 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,13 +10,13 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:scaffold-react": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "3.5.0" + "@web3modal/scaffold": "3.5.0-6a05dc24" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-utils/exports/ethers.ts b/packages/scaffold-utils/exports/ethers.ts new file mode 100644 index 0000000000..9ea019809d --- /dev/null +++ b/packages/scaffold-utils/exports/ethers.ts @@ -0,0 +1,5 @@ +export { EthersConstantsUtil } from '../src/EthersConstantsUtil.js' +export { EthersHelpersUtil } from '../src/EthersHelpersUtil.js' +export { EthersStoreUtil } from '../src/EthersStoreUtil.js' +export type { EthersStoreUtilState } from '../src/EthersStoreUtil.js' +export type * from '../src/EthersTypesUtil.js' diff --git a/packages/scaffold-utils/exports/index.ts b/packages/scaffold-utils/exports/index.ts new file mode 100644 index 0000000000..6d93c98848 --- /dev/null +++ b/packages/scaffold-utils/exports/index.ts @@ -0,0 +1,3 @@ +export { ConstantsUtil } from '../src/ConstantsUtil.js' +export { PresetsUtil } from '../src/PresetsUtil.js' +export { HelpersUtil } from '../src/HelpersUtil.js' diff --git a/packages/scaffold-utils/index.ts b/packages/scaffold-utils/index.ts deleted file mode 100644 index 4d561115a4..0000000000 --- a/packages/scaffold-utils/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { ConstantsUtil } from './src/ConstantsUtil.js' -export { PresetsUtil } from './src/PresetsUtil.js' -export { HelpersUtil } from './src/HelpersUtil.js' diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index f2a4f4a6fa..118de5c66d 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,42 +1,43 @@ { "name": "@web3modal/scaffold-utils", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", - "main": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", + "main": "./dist/esm/exports/index.js", + "types": "./dist/types/exports/index.d.ts", "files": [ "dist", "!tsconfig.tsbuildinfo" ], "exports": { ".": { - "types": "./dist/types/index.d.ts", - "import": "./dist/esm/index.js", - "default": "./dist/esm/index.js" + "types": "./dist/types/exports/index.d.ts", + "import": "./dist/esm/exports/index.js", + "default": "./dist/esm/exports/index.js" }, "./ethers": { - "types": "./dist/types/src/ethers/index.d.ts", - "import": "./dist/esm/src/ethers/index.js", - "default": "./dist/esm/src/ethers/index.js" + "types": "./dist/types/exports/ethers.d.ts", + "import": "./dist/esm/exports/ethers.js", + "default": "./dist/esm/exports/ethers.js" } }, "typesVersions": { "*": { "ethers": [ - "./dist/types/src/ethers/index.d.ts" + "./dist/types/exports/ethers.d.ts" ] } }, "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:scaffold-utils": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "valtio": "1.11.2" }, "keywords": [ "web3", diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index 514a8df162..33422ee68b 100644 --- a/packages/scaffold-utils/src/ConstantsUtil.ts +++ b/packages/scaffold-utils/src/ConstantsUtil.ts @@ -10,5 +10,5 @@ export const ConstantsUtil = { ADD_CHAIN_METHOD: 'wallet_addEthereumChain', EIP6963_ANNOUNCE_EVENT: 'eip6963:announceProvider', EIP6963_REQUEST_EVENT: 'eip6963:requestProvider', - VERSION: '3.5.0' + VERSION: '3.5.0-6a05dc24' } diff --git a/packages/scaffold-utils/src/ethers/EthersConstantsUtil.ts b/packages/scaffold-utils/src/EthersConstantsUtil.ts similarity index 100% rename from packages/scaffold-utils/src/ethers/EthersConstantsUtil.ts rename to packages/scaffold-utils/src/EthersConstantsUtil.ts diff --git a/packages/scaffold-utils/src/ethers/EthersHelpersUtil.ts b/packages/scaffold-utils/src/EthersHelpersUtil.ts similarity index 94% rename from packages/scaffold-utils/src/ethers/EthersHelpersUtil.ts rename to packages/scaffold-utils/src/EthersHelpersUtil.ts index e393b2c80e..5b7548688d 100644 --- a/packages/scaffold-utils/src/ethers/EthersHelpersUtil.ts +++ b/packages/scaffold-utils/src/EthersHelpersUtil.ts @@ -1,5 +1,6 @@ import type { CaipNetwork } from '@web3modal/scaffold' -import { ConstantsUtil, PresetsUtil } from '@web3modal/scaffold-utils' +import { ConstantsUtil } from './ConstantsUtil.js' +import { PresetsUtil } from './PresetsUtil.js' import type { Chain, Provider } from './EthersTypesUtil.js' export const EthersHelpersUtil = { diff --git a/packages/scaffold-utils/src/ethers/EthersStoreUtil.ts b/packages/scaffold-utils/src/EthersStoreUtil.ts similarity index 93% rename from packages/scaffold-utils/src/ethers/EthersStoreUtil.ts rename to packages/scaffold-utils/src/EthersStoreUtil.ts index 2d3f5a78cb..e46b602ffd 100644 --- a/packages/scaffold-utils/src/ethers/EthersStoreUtil.ts +++ b/packages/scaffold-utils/src/EthersStoreUtil.ts @@ -9,6 +9,7 @@ export interface EthersStoreUtilState { providerType?: 'walletConnect' | 'injected' | 'coinbaseWallet' | 'eip6963' | 'w3mEmail' address?: Address chainId?: number + error?: unknown isConnected: boolean } @@ -26,6 +27,7 @@ const state = proxy({ // -- StoreUtil ---------------------------------------- // export const EthersStoreUtil = { state, + subscribeKey(key: K, callback: (value: EthersStoreUtilState[K]) => void) { return subKey(state, key, callback) }, @@ -56,11 +58,16 @@ export const EthersStoreUtil = { state.isConnected = isConnected }, + setError(error: EthersStoreUtilState['error']) { + state.error = error + }, + reset() { state.provider = undefined state.address = undefined state.chainId = undefined state.providerType = undefined state.isConnected = false + state.error = undefined } } diff --git a/packages/scaffold-utils/src/ethers/EthersTypesUtil.ts b/packages/scaffold-utils/src/EthersTypesUtil.ts similarity index 100% rename from packages/scaffold-utils/src/ethers/EthersTypesUtil.ts rename to packages/scaffold-utils/src/EthersTypesUtil.ts diff --git a/packages/scaffold-utils/src/ethers/index.ts b/packages/scaffold-utils/src/ethers/index.ts deleted file mode 100644 index 818916a0fe..0000000000 --- a/packages/scaffold-utils/src/ethers/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export { EthersConstantsUtil } from './EthersConstantsUtil.js' -export { EthersHelpersUtil } from './EthersHelpersUtil.js' -export { EthersStoreUtil, type EthersStoreUtilState } from './EthersStoreUtil.js' -export type * from './EthersTypesUtil.js' diff --git a/packages/scaffold-utils/tsconfig.json b/packages/scaffold-utils/tsconfig.json index 62ac5c269e..3d47bfed70 100644 --- a/packages/scaffold-utils/tsconfig.json +++ b/packages/scaffold-utils/tsconfig.json @@ -5,5 +5,5 @@ "declarationDir": "./dist/types" }, "extends": "../../tsconfig.json", - "include": ["index.ts", "src"] + "include": ["exports", "src"] } diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index 3ef2a5f387..eefe158338 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,13 +10,13 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:scaffold-vue": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "3.5.0" + "@web3modal/scaffold": "3.5.0-6a05dc24" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index 84fb20b05f..b08f564b3a 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,18 +10,18 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:scaffold": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "3.5.0", - "@web3modal/ui": "3.5.0", + "@web3modal/core": "3.5.0-6a05dc24", + "@web3modal/ui": "3.5.0-6a05dc24", "lit": "3.1.0" }, "devDependencies": { - "@web3modal/wallet": "3.5.0" + "@web3modal/wallet": "3.5.0-6a05dc24" }, "keywords": [ "web3", diff --git a/packages/scaffold/src/modal/w3m-account-button/index.ts b/packages/scaffold/src/modal/w3m-account-button/index.ts index 38f9d3c9b6..658297a289 100644 --- a/packages/scaffold/src/modal/w3m-account-button/index.ts +++ b/packages/scaffold/src/modal/w3m-account-button/index.ts @@ -1,6 +1,6 @@ import { AccountController, - AssetController, + AssetUtil, CoreHelperUtil, ModalController, NetworkController @@ -16,8 +16,6 @@ export class W3mAccountButton extends LitElement { // -- Members ------------------------------------------- // private unsubscribe: (() => void)[] = [] - private readonly networkImages = AssetController.state.networkImages - // -- State & Properties -------------------------------- // @property({ type: Boolean }) public disabled?: WuiAccountButton['disabled'] = false @@ -66,7 +64,7 @@ export class W3mAccountButton extends LitElement { // -- Render -------------------------------------------- // public override render() { - const networkImage = this.networkImages[this.network?.imageId ?? ''] + const networkImage = AssetUtil.getNetworkImage(this.network) const showBalance = this.balance === 'show' return html` diff --git a/packages/scaffold/src/partials/w3m-all-wallets-list/index.ts b/packages/scaffold/src/partials/w3m-all-wallets-list/index.ts index 3263465394..75f1e4a7e9 100644 --- a/packages/scaffold/src/partials/w3m-all-wallets-list/index.ts +++ b/packages/scaffold/src/partials/w3m-all-wallets-list/index.ts @@ -5,6 +5,7 @@ import { LitElement, html } from 'lit' import { state } from 'lit/decorators.js' import { ifDefined } from 'lit/directives/if-defined.js' import styles from './styles.js' +import { markWalletsAsInstalled } from '../../utils/markWalletsAsInstalled.js' // -- Helpers --------------------------------------------- // const PAGINATOR_ID = 'local-paginator' @@ -93,14 +94,16 @@ export class W3mAllWalletsList extends LitElement { private walletsTemplate() { const wallets = [...this.featured, ...this.recommended, ...this.wallets] + const walletsWithInstalled = markWalletsAsInstalled(wallets) - return wallets.map( + return walletsWithInstalled.map( wallet => html` this.onConnectWallet(wallet)} + .installed=${wallet.installed} > ` ) @@ -114,6 +117,10 @@ export class W3mAllWalletsList extends LitElement { let shimmerCount = minimumRows * columns - currentWallets + columns shimmerCount -= wallets.length ? featured.length % columns : 0 + if (count === 0 && featured.length > 0) { + return null + } + if (count === 0 || [...featured, ...wallets, ...recommended].length < count) { return this.shimmerTemplate(shimmerCount, PAGINATOR_ID) } diff --git a/packages/scaffold/src/partials/w3m-all-wallets-search/index.ts b/packages/scaffold/src/partials/w3m-all-wallets-search/index.ts index 393dc86ab9..a4e5ed4153 100644 --- a/packages/scaffold/src/partials/w3m-all-wallets-search/index.ts +++ b/packages/scaffold/src/partials/w3m-all-wallets-search/index.ts @@ -5,6 +5,7 @@ import { LitElement, html } from 'lit' import { property, state } from 'lit/decorators.js' import { ifDefined } from 'lit/directives/if-defined.js' import styles from './styles.js' +import { markWalletsAsInstalled } from '../../utils/markWalletsAsInstalled.js' @customElement('w3m-all-wallets-search') export class W3mAllWalletsSearch extends LitElement { @@ -39,6 +40,7 @@ export class W3mAllWalletsSearch extends LitElement { private walletsTemplate() { const { search } = ApiController.state + const wallets = markWalletsAsInstalled(search) if (!search.length) { return html` @@ -62,13 +64,14 @@ export class W3mAllWalletsSearch extends LitElement { rowGap="l" columnGap="xs" > - ${search.map( + ${wallets.map( wallet => html` this.onConnectWallet(wallet)} + .installed=${wallet.installed} > ` )} diff --git a/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts b/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts index e825ce01f8..b0c21cd343 100644 --- a/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts +++ b/packages/scaffold/src/partials/w3m-connecting-wc-qrcode/index.ts @@ -35,11 +35,7 @@ export class W3mConnectingWcQrcode extends W3mConnectingWidget { Scan this QR Code with your phone - - - - Copy link - + ${this.copyTemplate()} @@ -65,7 +61,7 @@ export class W3mConnectingWcQrcode extends W3mConnectingWidget { ConnectionController.setWcLinking(undefined) ConnectionController.setRecentWallet(this.wallet) - return html`` } + private copyTemplate() { + if (!this.uri || !this.ready) { + return null + } + + return html` + + Copy link + ` + } + private forceUpdate = () => { this.requestUpdate() } diff --git a/packages/scaffold/src/utils/markWalletsAsInstalled.ts b/packages/scaffold/src/utils/markWalletsAsInstalled.ts new file mode 100644 index 0000000000..8420f035f1 --- /dev/null +++ b/packages/scaffold/src/utils/markWalletsAsInstalled.ts @@ -0,0 +1,27 @@ +import type { WcWallet } from '@web3modal/core' +import { ConnectorController } from '@web3modal/core' + +export function markWalletsAsInstalled(wallets: WcWallet[]) { + const { connectors } = ConnectorController.state + const installedConnectors = connectors + .filter(c => c.type === 'ANNOUNCED') + .reduce>((acum, val) => { + if (!val.info?.rdns) { + return acum + } + acum[val.info.rdns] = true + + return acum + }, {}) + + const walletsWithInstalled: (WcWallet & { installed: boolean })[] = wallets.map(wallet => ({ + ...wallet, + installed: Boolean(wallet.rdns) && Boolean(installedConnectors[wallet.rdns ?? '']) + })) + + const sortedWallets = walletsWithInstalled.sort( + (a, b) => Number(b.installed) - Number(a.installed) + ) + + return sortedWallets +} diff --git a/packages/scaffold/src/views/w3m-account-view/index.ts b/packages/scaffold/src/views/w3m-account-view/index.ts index 223a2608b2..02d5b8806d 100644 --- a/packages/scaffold/src/views/w3m-account-view/index.ts +++ b/packages/scaffold/src/views/w3m-account-view/index.ts @@ -1,6 +1,5 @@ import { AccountController, - AssetController, ConnectionController, CoreHelperUtil, EventsController, @@ -10,7 +9,8 @@ import { SnackController, ConnectorController, ConstantsUtil, - StorageUtil + StorageUtil, + AssetUtil } from '@web3modal/core' import { UiHelperUtil, customElement } from '@web3modal/ui' import { LitElement, html } from 'lit' @@ -25,8 +25,6 @@ export class W3mAccountView extends LitElement { // -- Members -------------------------------------------- // private usubscribe: (() => void)[] = [] - private readonly networkImages = AssetController.state.networkImages - private readonly connectors = ConnectorController.state.connectors // -- State & Properties --------------------------------- // @@ -78,7 +76,7 @@ export class W3mAccountView extends LitElement { throw new Error('w3m-account-view: No account provided') } - const networkImage = this.networkImages[this.network?.imageId ?? ''] + const networkImage = AssetUtil.getNetworkImage(this.network) return html` () - // -- State & Properties -------------------------------- // @state() ready = false @@ -38,19 +35,15 @@ export class W3mApproveTransactionView extends LitElement { } public override firstUpdated() { - const safetySpacing = 2 this.iframe.style.display = 'block' - if (this.divRef.value) { - this.divRef.value.style.height = `${this.iframe.offsetHeight + safetySpacing}px` - } const blueprint = this.renderRoot.querySelector('div') this.bodyObserver = new ResizeObserver(() => { const data = blueprint?.getBoundingClientRect() const dimensions = data ?? { left: 0, top: 0, width: 0, height: 0 } this.iframe.style.width = `${dimensions.width}px` - this.iframe.style.height = `${dimensions.height - safetySpacing}px` + this.iframe.style.height = `${dimensions.height}px` this.iframe.style.left = `${dimensions.left}px` - this.iframe.style.top = `${dimensions.top + safetySpacing / 2}px` + this.iframe.style.top = `${dimensions.top}px` this.ready = true }) this.bodyObserver.observe(window.document.body) @@ -62,7 +55,7 @@ export class W3mApproveTransactionView extends LitElement { this.onShowIframe() } - return html`
` + return html`
` } // -- Private ------------------------------------------- // diff --git a/packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts b/packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts index 3af774ef83..1a728c1ae4 100644 --- a/packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts +++ b/packages/scaffold/src/views/w3m-approve-transaction-view/styles.ts @@ -3,6 +3,7 @@ import { css } from 'lit' export default css` div { width: 100%; + height: 300px; } [data-ready='false'] { diff --git a/packages/scaffold/src/views/w3m-connect-view/index.ts b/packages/scaffold/src/views/w3m-connect-view/index.ts index 692f41c0ca..93fa361800 100644 --- a/packages/scaffold/src/views/w3m-connect-view/index.ts +++ b/packages/scaffold/src/views/w3m-connect-view/index.ts @@ -145,8 +145,8 @@ export class W3mConnectView extends LitElement { imageSrc=${ifDefined(AssetUtil.getConnectorImage(connector))} name=${connector.name ?? 'Unknown'} @click=${() => this.onConnector(connector)} - tagLabel="installed" tagVariant="success" + installed=${true} > ` @@ -160,6 +160,7 @@ export class W3mConnectView extends LitElement { if (connector.type !== 'INJECTED') { return null } + if (!ConnectionController.checkInstalled()) { return null } @@ -167,10 +168,9 @@ export class W3mConnectView extends LitElement { return html` this.onConnector(connector)} - tagLabel=${ifDefined(announced ? undefined : 'installed')} - tagVariant=${ifDefined(announced ? undefined : 'success')} > ` @@ -200,7 +200,11 @@ export class W3mConnectView extends LitElement { return null } - const roundedCount = Math.floor(ApiController.state.count / 10) * 10 + const count = ApiController.state.count + const featuredCount = ApiController.state.featured.length + const rawCount = count + featuredCount + const roundedCount = rawCount < 10 ? rawCount : Math.floor(rawCount / 10) * 10 + const tagLabel = roundedCount < rawCount ? `${roundedCount}+` : `${roundedCount}` return html` ` diff --git a/packages/scaffold/src/views/w3m-network-switch-view/index.ts b/packages/scaffold/src/views/w3m-network-switch-view/index.ts index fd3fa5a27b..f3fcbb8433 100644 --- a/packages/scaffold/src/views/w3m-network-switch-view/index.ts +++ b/packages/scaffold/src/views/w3m-network-switch-view/index.ts @@ -1,4 +1,10 @@ -import { AssetUtil, NetworkController, RouterController, SIWEController } from '@web3modal/core' +import { + AssetUtil, + NetworkController, + RouterController, + SIWEController, + RouterUtil +} from '@web3modal/core' import { customElement } from '@web3modal/ui' import { LitElement, html } from 'lit' import { state } from 'lit/decorators.js' @@ -19,19 +25,8 @@ export class W3mNetworkSwitchView extends LitElement { @state() public error = false - @state() private currentNetwork = NetworkController.state.caipNetwork - public constructor() { super() - this.unsubscribe.push( - NetworkController.subscribeKey('caipNetwork', val => { - if (val?.id !== this.currentNetwork?.id) { - if (!SIWEController.state.isSiweEnabled) { - RouterController.goBack() - } - } - }) - ) } public override disconnectedCallback() { @@ -117,7 +112,7 @@ export class W3mNetworkSwitchView extends LitElement { if (this.network) { await NetworkController.switchActiveNetwork(this.network) if (!SIWEController.state.isSiweEnabled) { - RouterController.goBack() + RouterUtil.navigateAfterNetworkSwitch() } } } catch { diff --git a/packages/scaffold/src/views/w3m-networks-view/index.ts b/packages/scaffold/src/views/w3m-networks-view/index.ts index 3b28dd4483..b74c65d254 100644 --- a/packages/scaffold/src/views/w3m-networks-view/index.ts +++ b/packages/scaffold/src/views/w3m-networks-view/index.ts @@ -4,7 +4,8 @@ import { AssetUtil, EventsController, NetworkController, - RouterController + RouterController, + RouterUtil } from '@web3modal/core' import { customElement } from '@web3modal/ui' import { LitElement, html } from 'lit' @@ -84,12 +85,13 @@ export class W3mNetworksView extends LitElement { private async onSwitchNetwork(network: CaipNetwork) { const { isConnected } = AccountController.state const { approvedCaipNetworkIds, supportsAllNetworks, caipNetwork } = NetworkController.state - + const { data } = RouterController.state if (isConnected && caipNetwork?.id !== network.id) { if (approvedCaipNetworkIds?.includes(network.id)) { await NetworkController.switchActiveNetwork(network) + RouterUtil.navigateAfterNetworkSwitch() } else if (supportsAllNetworks) { - RouterController.push('SwitchNetwork', { network }) + RouterController.push('SwitchNetwork', { ...data, network }) } } else if (!isConnected) { NetworkController.setCaipNetwork(network) diff --git a/packages/siwe/exports/index.ts b/packages/siwe/exports/index.ts index 135a1854ba..8bdebf8242 100644 --- a/packages/siwe/exports/index.ts +++ b/packages/siwe/exports/index.ts @@ -1,7 +1,7 @@ -import type { SIWEConfig } from '@web3modal/core' +import type { SIWEConfig, SIWESession } from '@web3modal/core' import { Web3ModalSIWEClient } from '../src/client.js' -export type { Web3ModalSIWEClient, SIWEConfig } +export type { Web3ModalSIWEClient, SIWEConfig, SIWESession } export function createSIWEConfig(siweConfig: SIWEConfig) { return new Web3ModalSIWEClient(siweConfig) diff --git a/packages/siwe/package.json b/packages/siwe/package.json index d264d8e999..83ffe7013e 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -8,23 +8,16 @@ "dist", "!tsconfig.tsbuildinfo" ], - "exports": { - ".": { - "types": "./dist/types/exports/index.d.ts", - "import": "./dist/esm/exports/index.js", - "default": "./dist/esm/exports/index.js" - } - }, "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:siwe": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0" + "@web3modal/core": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24" }, "peerDependencies": { "react": ">=17", diff --git a/packages/siwe/src/client.ts b/packages/siwe/src/client.ts index b6b4ee5ef0..4481a4a168 100644 --- a/packages/siwe/src/client.ts +++ b/packages/siwe/src/client.ts @@ -8,8 +8,8 @@ import type { import { AccountController, NetworkController, - ModalController, - ConnectionController + ConnectionController, + RouterUtil } from '@web3modal/core' import { ConstantsUtil } from './utils/ConstantsUtil.js' @@ -104,7 +104,7 @@ export class Web3ModalSIWEClient { this.methods.onSignIn(session) } - ModalController.close() + RouterUtil.navigateAfterNetworkSwitch() return session } diff --git a/packages/siwe/tsconfig.json b/packages/siwe/tsconfig.json index 26d75e03fb..3d47bfed70 100644 --- a/packages/siwe/tsconfig.json +++ b/packages/siwe/tsconfig.json @@ -2,8 +2,7 @@ "compilerOptions": { "composite": true, "outDir": "./dist/esm", - "declarationDir": "./dist/types", - "baseUrl": "../../" + "declarationDir": "./dist/types" }, "extends": "../../tsconfig.json", "include": ["exports", "src"] diff --git a/packages/ui/package.json b/packages/ui/package.json index f73fa0a208..c5935553d2 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,8 +10,8 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:ui": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "3.5.0", + "@web3modal/common": "3.5.0-6a05dc24", "eslint-plugin-lit": "1.10.1", "eslint-plugin-wc": "2.0.4" }, diff --git a/packages/ui/src/composites/wui-all-wallets-image/index.ts b/packages/ui/src/composites/wui-all-wallets-image/index.ts index 705d9e911f..68411eda5d 100644 --- a/packages/ui/src/composites/wui-all-wallets-image/index.ts +++ b/packages/ui/src/composites/wui-all-wallets-image/index.ts @@ -5,6 +5,7 @@ import { resetStyles } from '../../utils/ThemeUtil.js' import type { IWalletImage } from '../../utils/TypeUtil.js' import { customElement } from '../../utils/WebComponentsUtil.js' import '../wui-wallet-image/index.js' +import '../wui-icon-box/index.js' import styles from './styles.js' const TOTAL_IMAGES = 4 @@ -21,21 +22,31 @@ export class WuiAllWalletsImage extends LitElement { const isPlaceholders = this.walletImages.length < TOTAL_IMAGES return html`${this.walletImages - .slice(0, TOTAL_IMAGES) - .map( - ({ src, walletName }) => html` - - ` - )} - ${isPlaceholders - ? [...Array(TOTAL_IMAGES - this.walletImages.length)].map( - () => html` ` - ) - : null}` + .slice(0, TOTAL_IMAGES) + .map( + ({ src, walletName }) => html` + + ` + )} + ${isPlaceholders + ? [...Array(TOTAL_IMAGES - this.walletImages.length)].map( + () => html` ` + ) + : null} + + + ` } } diff --git a/packages/ui/src/composites/wui-all-wallets-image/styles.ts b/packages/ui/src/composites/wui-all-wallets-image/styles.ts index 3170b97632..6750b1d610 100644 --- a/packages/ui/src/composites/wui-all-wallets-image/styles.ts +++ b/packages/ui/src/composites/wui-all-wallets-image/styles.ts @@ -33,4 +33,16 @@ export default css` height: 14px; border-radius: var(--wui-border-radius-5xs); } + + :host > wui-flex { + padding: 2px; + position: fixed; + overflow: hidden; + left: 34px; + bottom: 8px; + background: var(--dark-background-150, #1e1f1f); + border-radius: 50%; + z-index: 2; + display: flex; + } ` diff --git a/packages/ui/src/composites/wui-card-select/index.ts b/packages/ui/src/composites/wui-card-select/index.ts index fcdf4231bd..c90a69d402 100644 --- a/packages/ui/src/composites/wui-card-select/index.ts +++ b/packages/ui/src/composites/wui-card-select/index.ts @@ -25,6 +25,8 @@ export class WuiCardSelect extends LitElement { @property({ type: Boolean }) public selected?: boolean = false + @property({ type: Boolean }) public installed?: boolean = false + // -- Render -------------------------------------------- // public override render() { return html` @@ -50,7 +52,13 @@ export class WuiCardSelect extends LitElement { } return html` - + ` } diff --git a/packages/ui/src/composites/wui-icon-box/index.ts b/packages/ui/src/composites/wui-icon-box/index.ts index cab1665be1..d3c62eb52a 100644 --- a/packages/ui/src/composites/wui-icon-box/index.ts +++ b/packages/ui/src/composites/wui-icon-box/index.ts @@ -18,13 +18,13 @@ export class WuiIconBox extends LitElement { public static override styles = [resetStyles, elementStyles, styles] // -- State & Properties -------------------------------- // - @property() public size: Exclude = 'md' + @property() public size: SizeType = 'md' @property() public backgroundColor: ColorType = 'accent-100' @property() public iconColor: ColorType = 'accent-100' - @property() public iconSize?: Exclude + @property() public iconSize?: Exclude @property() public background: BackgroundType = 'transparent' diff --git a/packages/ui/src/composites/wui-list-wallet/index.ts b/packages/ui/src/composites/wui-list-wallet/index.ts index cd83cd1893..648d81d16b 100644 --- a/packages/ui/src/composites/wui-list-wallet/index.ts +++ b/packages/ui/src/composites/wui-list-wallet/index.ts @@ -1,6 +1,7 @@ import { html, LitElement } from 'lit' import { property } from 'lit/decorators.js' import '../../components/wui-icon/index.js' +import '../../composites/wui-icon-box/index.js' import '../../components/wui-text/index.js' import { elementStyles, resetStyles } from '../../utils/ThemeUtil.js' import type { IconType, IWalletImage, TagType } from '../../utils/TypeUtil.js' @@ -29,6 +30,8 @@ export class WuiListWallet extends LitElement { @property() public walletIcon?: IconType + @property({ type: Boolean }) public installed = false + @property({ type: Boolean }) public disabled = false @property({ type: Boolean }) public showAllWallets = false @@ -61,6 +64,7 @@ export class WuiListWallet extends LitElement { size="sm" imageSrc=${this.imageSrc} name=${this.name} + .installed=${this.installed} >` } else if (!this.showAllWallets && !this.imageSrc) { return html`` diff --git a/packages/ui/src/composites/wui-wallet-image/index.ts b/packages/ui/src/composites/wui-wallet-image/index.ts index ac8ab6fa42..cf024a9d22 100644 --- a/packages/ui/src/composites/wui-wallet-image/index.ts +++ b/packages/ui/src/composites/wui-wallet-image/index.ts @@ -5,6 +5,7 @@ import '../../components/wui-image/index.js' import { resetStyles } from '../../utils/ThemeUtil.js' import type { BorderRadiusType, IconType, SizeType } from '../../utils/TypeUtil.js' import { customElement } from '../../utils/WebComponentsUtil.js' +import '../wui-icon-box/index.js' import styles from './styles.js' @customElement('wui-wallet-image') @@ -20,6 +21,10 @@ export class WuiWalletImage extends LitElement { @property() public walletIcon?: IconType + @property({ type: Boolean }) public installed = false + + @property() public badgeSize: SizeType = 'xs' + // -- Render -------------------------------------------- // public override render() { let borderRadius: BorderRadiusType = 'xxs' @@ -39,7 +44,10 @@ export class WuiWalletImage extends LitElement { this.dataset['walletIcon'] = this.walletIcon } - return html` ${this.templateVisual()}` + return html` + ${this.templateVisual()} + ${this.templateInstalledBadge()} + ` } // -- Private ------------------------------------------- // @@ -62,6 +70,22 @@ export class WuiWalletImage extends LitElement { name="walletPlaceholder" >` } + private templateInstalledBadge() { + if (this.installed) { + return html` + + ` + } + + return null + } } declare global { diff --git a/packages/ui/src/composites/wui-wallet-image/styles.ts b/packages/ui/src/composites/wui-wallet-image/styles.ts index b57640da46..e91f198d42 100644 --- a/packages/ui/src/composites/wui-wallet-image/styles.ts +++ b/packages/ui/src/composites/wui-wallet-image/styles.ts @@ -3,14 +3,19 @@ import { css } from 'lit' export default css` :host { position: relative; - border-radius: inherit; - overflow: hidden; background-color: var(--wui-gray-glass-002); display: flex; justify-content: center; align-items: center; width: var(--local-size); height: var(--local-size); + border-radius: inherit; + border-radius: var(--local-border-radius); + } + + :host > wui-flex { + overflow: hidden; + border-radius: inherit; border-radius: var(--local-border-radius); } @@ -63,4 +68,14 @@ export default css` width: 100%; height: 100%; } + + :host > wui-icon-box { + position: absolute; + overflow: hidden; + right: -1px; + bottom: -2px; + z-index: 1; + border: 2px solid var(--wui-color-bg-base-150, #1e1f1f); + padding: 1px; + } ` diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 1689e19675..5c8dcab57e 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -37,18 +37,18 @@ }, "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/polyfills": "3.5.0", - "@web3modal/scaffold": "3.5.0", - "@web3modal/scaffold-react": "3.5.0", - "@web3modal/scaffold-utils": "3.5.0", - "@web3modal/scaffold-vue": "3.5.0", - "@web3modal/wallet": "3.5.0" + "@web3modal/polyfills": "3.5.0-6a05dc24", + "@web3modal/scaffold": "3.5.0-6a05dc24", + "@web3modal/scaffold-react": "3.5.0-6a05dc24", + "@web3modal/scaffold-utils": "3.5.0-6a05dc24", + "@web3modal/scaffold-vue": "3.5.0-6a05dc24", + "@web3modal/wallet": "3.5.0-6a05dc24" }, "devDependencies": { "@web3modal/siwe": "*" diff --git a/packages/wagmi/src/client.ts b/packages/wagmi/src/client.ts index de6b05e5e1..28d66760a7 100644 --- a/packages/wagmi/src/client.ts +++ b/packages/wagmi/src/client.ts @@ -10,9 +10,9 @@ import { getNetwork, switchNetwork, watchAccount, - watchNetwork + watchNetwork, + mainnet } from '@wagmi/core' -import { mainnet } from '@wagmi/core/chains' import type { CaipAddress, CaipNetwork, @@ -267,7 +267,7 @@ export class Web3Modal extends Web3ModalScaffold { this.setIsConnected(isConnected) this.setCaipAddress(caipAddress) await Promise.all([ - this.syncProfile(address), + this.syncProfile(address, chain), this.syncBalance(address, chain), this.getApprovedCaipNetworksData() ]) @@ -301,25 +301,33 @@ export class Web3Modal extends Web3ModalScaffold { this.setAddressExplorerUrl(undefined) } if (this.hasSyncedConnectedAccount) { + await this.syncProfile(address, chain) await this.syncBalance(address, chain) } } } } - private async syncProfile(address: Address) { + private async syncProfile(address: Address, chain: Chain) { + if (chain.id !== mainnet.id) { + this.setProfileName(null) + this.setProfileImage(null) + + return + } + try { const { name, avatar } = await this.fetchIdentity({ - caipChainId: `${ConstantsUtil.EIP155}:${mainnet.id}`, + caipChainId: `${ConstantsUtil.EIP155}:${chain.id}`, address }) this.setProfileName(name) this.setProfileImage(avatar) } catch { - const profileName = await fetchEnsName({ address, chainId: mainnet.id }) + const profileName = await fetchEnsName({ address, chainId: chain.id }) if (profileName) { this.setProfileName(profileName) - const profileImage = await fetchEnsAvatar({ name: profileName, chainId: mainnet.id }) + const profileImage = await fetchEnsAvatar({ name: profileName, chainId: chain.id }) if (profileImage) { this.setProfileImage(profileImage) } diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 29c957e5a0..b920a21e3a 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "3.5.0", + "version": "3.5.0-6a05dc24", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -10,8 +10,8 @@ ], "scripts": { "build:clean": "rm -rf dist", - "build": "npm run build:clean; tsc --build", - "watch": "npm run build:clean; tsc --watch", + "build:wallet": "tsc --build", + "watch": "tsc --watch", "typecheck": "tsc --noEmit", "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, diff --git a/readme.md b/readme.md index 3e5f62acb8..af4b6faf6c 100644 --- a/readme.md +++ b/readme.md @@ -30,6 +30,9 @@ NEXTAUTH_SECRET="your_session_secret" VITE_PROJECT_ID="your_project_id" ``` +3. Run `npm run watch` to build and watch for file changes in a separate tab +4. Run gallery, laboratory or examples in a separate tab i.e. `npm run laboratory` + # Releasing new versions 1. Run `npm outdated` and update dependencies diff --git a/turbo.json b/turbo.json index bb305ca1e0..eb6a53f7f5 100644 --- a/turbo.json +++ b/turbo.json @@ -1,52 +1,114 @@ { "$schema": "https://turbo.build/schema.json", "pipeline": { + "build:clean": { + "outputs": ["dist/**"], + "cache": false + }, + "build:polyfills": { + "outputs": ["dist/**"], + "dependsOn": ["^build:clean"], + "cache": false + }, + "build:common": { + "outputs": ["dist/**"], + "dependsOn": ["^build:clean"], + "cache": false + }, + "build:core": { + "outputs": ["dist/**"], + "dependsOn": ["^build:polyfills", "^build:common"], + "cache": false + }, + "build:ui": { + "outputs": ["dist/**"], + "dependsOn": ["^build:polyfills", "^build:common"], + "cache": false + }, + "build:wallet": { + "outputs": ["dist/**"], + "cache": false + }, + "build:scaffold": { + "outputs": ["dist/**"], + "dependsOn": ["^build:core", "^build:ui", "^build:wallet"], + "cache": false + }, + "build:scaffold-utils": { + "outputs": ["dist/**"], + "dependsOn": ["^build:scaffold"], + "cache": false + }, + "build:scaffold-react": { + "outputs": ["dist/**"], + "dependsOn": ["^build:scaffold-utils"], + "cache": false + }, + "build:scaffold-vue": { + "outputs": ["dist/**"], + "dependsOn": ["^build:scaffold-utils"], + "cache": false + }, + "build:siwe": { + "outputs": ["dist/**"], + "dependsOn": ["^build:core", "^build:scaffold-utils"], + "cache": false + }, "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**"] + "outputs": ["dist/**"], + "dependsOn": [ + "^build:common", + "^build:core", + "^build:polyfills", + "^build:scaffold", + "^build:scaffold-utils", + "^build:scaffold-react", + "^build:scaffold-vue", + "^build:siwe", + "^build:ui", + "^build:wallet" + ], + "cache": false }, "watch": { - "dependsOn": ["^watch"], - "cache": false + "dependsOn": ["^build"], + "cache": false, + "persistent": true }, "build:gallery": { - "dependsOn": ["build", "^build:gallery"], - "outputs": ["out/**"] + "outputs": ["out/**"], + "dependsOn": ["^build"], + "cache": false }, "build:laboratory": { - "dependsOn": ["build", "^build:laboratory"], - "outputs": ["out/**", ".next/**", "!.next/cache/**"] + "outputs": ["out/**", ".next/**", "!.next/cache/**"], + "dependsOn": ["^build"], + "cache": false }, "build:examples": { - "dependsOn": ["build", "^build:examples"], - "outputs": ["dist/**"] + "outputs": ["dist/**"], + "dependsOn": ["^build"], + "cache": false }, "typecheck": { - "dependsOn": ["^typecheck"], "cache": false }, "test": { - "dependsOn": ["^test"], "cache": false }, "lint": { - "dependsOn": ["^lint"], "cache": false }, "prettier": { - "dependsOn": ["^prettier"], "cache": false }, "dev:laboratory": { - "dependsOn": ["watch", "^dev:laboratory"], "cache": false }, "dev:gallery": { - "dependsOn": ["watch", "^dev:gallery"], "cache": false }, "dev:example": { - "dependsOn": ["watch", "^dev:example"], "cache": false } }