From 165c7208344c359ff0faa3dfd398e408d7c22993 Mon Sep 17 00:00:00 2001 From: Sven <38101365+svenvoskamp@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:56:17 +0200 Subject: [PATCH 1/3] :hotfix - remove `getTokenBalance` from `syncAccount` (#2157) --- apps/demo/CHANGELOG.md | 9 ++ apps/demo/package.json | 4 +- apps/gallery/CHANGELOG.md | 10 ++ apps/gallery/package.json | 6 +- apps/laboratory/CHANGELOG.md | 12 ++ apps/laboratory/package.json | 10 +- examples/html-ethers5/CHANGELOG.md | 9 ++ examples/html-ethers5/package.json | 4 +- examples/html-wagmi/CHANGELOG.md | 9 ++ examples/html-wagmi/package.json | 4 +- examples/next-wagmi/CHANGELOG.md | 9 ++ examples/next-wagmi/package.json | 4 +- examples/react-ethers5/CHANGELOG.md | 9 ++ examples/react-ethers5/package.json | 4 +- examples/react-wagmi/CHANGELOG.md | 9 ++ examples/react-wagmi/package.json | 4 +- examples/vue-ethers5/CHANGELOG.md | 9 ++ examples/vue-ethers5/package.json | 4 +- examples/vue-wagmi/CHANGELOG.md | 9 ++ examples/vue-wagmi/package.json | 4 +- package-lock.json | 152 +++++++++---------- packages/common/CHANGELOG.md | 6 + packages/common/package.json | 2 +- packages/core/CHANGELOG.md | 10 ++ packages/core/package.json | 6 +- packages/ethers/CHANGELOG.md | 14 ++ packages/ethers/package.json | 14 +- packages/ethers/src/client.ts | 1 - packages/ethers5/CHANGELOG.md | 14 ++ packages/ethers5/package.json | 14 +- packages/polyfills/CHANGELOG.md | 6 + packages/polyfills/package.json | 2 +- packages/scaffold-react/CHANGELOG.md | 9 ++ packages/scaffold-react/package.json | 4 +- packages/scaffold-utils/CHANGELOG.md | 10 ++ packages/scaffold-utils/package.json | 6 +- packages/scaffold-utils/src/ConstantsUtil.ts | 2 +- packages/scaffold-vue/CHANGELOG.md | 9 ++ packages/scaffold-vue/package.json | 4 +- packages/scaffold/CHANGELOG.md | 13 ++ packages/scaffold/package.json | 12 +- packages/scaffold/src/client.ts | 4 - packages/siwe/CHANGELOG.md | 10 ++ packages/siwe/package.json | 6 +- packages/solana/CHANGELOG.md | 13 ++ packages/solana/package.json | 12 +- packages/ui/CHANGELOG.md | 6 + packages/ui/package.json | 4 +- packages/wagmi/CHANGELOG.md | 14 ++ packages/wagmi/package.json | 14 +- packages/wagmi/src/client.ts | 1 - packages/wallet/CHANGELOG.md | 9 ++ packages/wallet/package.json | 4 +- 53 files changed, 390 insertions(+), 159 deletions(-) diff --git a/apps/demo/CHANGELOG.md b/apps/demo/CHANGELOG.md index f4828e2538..6475f24463 100644 --- a/apps/demo/CHANGELOG.md +++ b/apps/demo/CHANGELOG.md @@ -1,5 +1,14 @@ # @apps/demo +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/wagmi@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/apps/demo/package.json b/apps/demo/package.json index 1325144ab6..396c1cbb16 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -1,6 +1,6 @@ { "name": "@apps/demo", - "version": "4.1.7", + "version": "4.1.8", "private": true, "scripts": { "dev:demo": "next dev", @@ -11,7 +11,7 @@ "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.1.1", diff --git a/apps/gallery/CHANGELOG.md b/apps/gallery/CHANGELOG.md index 2e9b4f5d8f..c0cebd06bd 100644 --- a/apps/gallery/CHANGELOG.md +++ b/apps/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @apps/gallery +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/common@4.1.8 + - @web3modal/ui@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/apps/gallery/package.json b/apps/gallery/package.json index 48e4b651a2..c7e00b5e10 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "4.1.7", + "version": "4.1.8", "private": true, "main": "index.js", "scripts": { @@ -9,8 +9,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/ui": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/ui": "4.1.8", "lit": "3.1.0", "storybook": "7.6.7" }, diff --git a/apps/laboratory/CHANGELOG.md b/apps/laboratory/CHANGELOG.md index 32b8b0ed12..b886b9c782 100644 --- a/apps/laboratory/CHANGELOG.md +++ b/apps/laboratory/CHANGELOG.md @@ -1,5 +1,17 @@ # @apps/laboratory +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/ethers@4.1.8 + - @web3modal/wagmi@4.1.8 + - @web3modal/siwe@4.1.8 + - @web3modal/solana@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index b4a2cd5bf5..b38bec769d 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "4.1.7", + "version": "4.1.8", "private": true, "scripts": { "dev:laboratory": "next dev", @@ -29,10 +29,10 @@ "@sentry/react": "7.92.0", "@solana/web3.js": "1.87.6", "@tanstack/react-query": "5.24.8", - "@web3modal/ethers": "4.1.7", - "@web3modal/siwe": "4.1.7", - "@web3modal/solana": "4.1.7", - "@web3modal/wagmi": "4.1.7", + "@web3modal/ethers": "4.1.8", + "@web3modal/siwe": "4.1.8", + "@web3modal/solana": "4.1.8", + "@web3modal/wagmi": "4.1.8", "ethers": "6.9.0", "framer-motion": "10.17.9", "next": "14.0.4", diff --git a/examples/html-ethers5/CHANGELOG.md b/examples/html-ethers5/CHANGELOG.md index ad35e55dd7..69f2a116ac 100644 --- a/examples/html-ethers5/CHANGELOG.md +++ b/examples/html-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-ethers5 +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/ethers5@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index 8ca73ba4be..0548f1968d 100644 --- a/examples/html-ethers5/package.json +++ b/examples/html-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-ethers5", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/html-wagmi/CHANGELOG.md b/examples/html-wagmi/CHANGELOG.md index 794b463f95..96401b4775 100644 --- a/examples/html-wagmi/CHANGELOG.md +++ b/examples/html-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-wagmi +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/wagmi@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index 56b951bbdd..5e29b9963b 100644 --- a/examples/html-wagmi/package.json +++ b/examples/html-wagmi/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-wagmi", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5", "react": "18.2.0", diff --git a/examples/next-wagmi/CHANGELOG.md b/examples/next-wagmi/CHANGELOG.md index 798e0c7dfd..ff542e8bdc 100644 --- a/examples/next-wagmi/CHANGELOG.md +++ b/examples/next-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/next-wagmi +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/wagmi@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/next-wagmi/package.json b/examples/next-wagmi/package.json index 9e9abafd2f..b496233aca 100644 --- a/examples/next-wagmi/package.json +++ b/examples/next-wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@examples/next-wagmi", - "version": "4.1.7", + "version": "4.1.8", "private": true, "scripts": { "dev": "next dev", @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/react-ethers5/CHANGELOG.md b/examples/react-ethers5/CHANGELOG.md index 99b29f6432..7078bc82b8 100644 --- a/examples/react-ethers5/CHANGELOG.md +++ b/examples/react-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/ethers5@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 3fdaf640a1..4097bf2059 100644 --- a/examples/react-ethers5/package.json +++ b/examples/react-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers5", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/react-wagmi/CHANGELOG.md b/examples/react-wagmi/CHANGELOG.md index f882082ec2..55b5c10e00 100644 --- a/examples/react-wagmi/CHANGELOG.md +++ b/examples/react-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-wagmi +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/wagmi@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index 6d5329b811..2a979f0df3 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -1,14 +1,14 @@ { "name": "@examples/react-wagmi", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "react": "18.2.0", "react-dom": "18.2.0", "vite": "5.0.12", diff --git a/examples/vue-ethers5/CHANGELOG.md b/examples/vue-ethers5/CHANGELOG.md index df59867f7b..696ed84c24 100644 --- a/examples/vue-ethers5/CHANGELOG.md +++ b/examples/vue-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-ethers5 +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/ethers5@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index 50d4e3ebd7..066d471d08 100644 --- a/examples/vue-ethers5/package.json +++ b/examples/vue-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-ethers5", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/vue-wagmi/CHANGELOG.md b/examples/vue-wagmi/CHANGELOG.md index 3a97098e53..0c5d041dd4 100644 --- a/examples/vue-wagmi/CHANGELOG.md +++ b/examples/vue-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-wagmi +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/wagmi@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index 426fc28f5d..4c46c54df9 100644 --- a/examples/vue-wagmi/package.json +++ b/examples/vue-wagmi/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-wagmi", "private": true, - "version": "4.1.7", + "version": "4.1.8", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5" }, diff --git a/package-lock.json b/package-lock.json index 1092f2ac30..968bb0f194 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,11 +43,11 @@ }, "apps/demo": { "name": "@apps/demo", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.1.1", @@ -127,10 +127,10 @@ }, "apps/gallery": { "name": "@apps/gallery", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/ui": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/ui": "4.1.8", "lit": "3.1.0", "storybook": "7.6.7" }, @@ -156,7 +156,7 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@chakra-ui/react": "2.8.2", "@emotion/react": "11.11.3", @@ -165,10 +165,10 @@ "@sentry/react": "7.92.0", "@solana/web3.js": "1.87.6", "@tanstack/react-query": "5.24.8", - "@web3modal/ethers": "4.1.7", - "@web3modal/siwe": "4.1.7", - "@web3modal/solana": "4.1.7", - "@web3modal/wagmi": "4.1.7", + "@web3modal/ethers": "4.1.8", + "@web3modal/siwe": "4.1.8", + "@web3modal/solana": "4.1.8", + "@web3modal/wagmi": "4.1.8", "ethers": "6.9.0", "framer-motion": "10.17.9", "next": "14.0.4", @@ -313,9 +313,9 @@ }, "examples/html-ethers5": { "name": "@examples/html-ethers5", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2" }, "devDependencies": { @@ -371,11 +371,11 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "react": "18.2.0", "react-dom": "18.2.0" }, @@ -385,10 +385,10 @@ }, "examples/next-wagmi": { "name": "@examples/next-wagmi", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -671,9 +671,9 @@ }, "examples/react-ethers5": { "name": "@examples/react-ethers5", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" @@ -732,10 +732,10 @@ }, "examples/react-wagmi": { "name": "@examples/react-wagmi", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.7", + "@web3modal/wagmi": "4.1.8", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.7.13", @@ -778,9 +778,9 @@ }, "examples/vue-ethers5": { "name": "@examples/vue-ethers5", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { - "@web3modal/ethers5": "4.1.7", + "@web3modal/ethers5": "4.1.8", "ethers": "5.7.2" }, "devDependencies": { @@ -836,11 +836,11 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "4.1.7", + "version": "4.1.8", "dependencies": { "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5", - "@web3modal/wagmi": "4.1.7" + "@web3modal/wagmi": "4.1.8" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" @@ -31053,7 +31053,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "bignumber.js": "9.1.2", @@ -31062,11 +31062,11 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/wallet": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/wallet": "4.1.8", "valtio": "1.11.2" }, "devDependencies": { @@ -31075,17 +31075,17 @@ }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8", "valtio": "1.11.2" }, "devDependencies": { @@ -31233,17 +31233,17 @@ }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8", "valtio": "1.11.2" }, "devDependencies": { @@ -31440,7 +31440,7 @@ }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -31448,23 +31448,23 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/core": "4.1.7", - "@web3modal/siwe": "4.1.7", - "@web3modal/ui": "4.1.7", - "@web3modal/wallet": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/core": "4.1.8", + "@web3modal/siwe": "4.1.8", + "@web3modal/ui": "4.1.8", + "@web3modal/wallet": "4.1.8", "lit": "3.1.0" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.1.7" + "@web3modal/scaffold": "4.1.8" }, "devDependencies": { "react": "18.2.0", @@ -31485,20 +31485,20 @@ }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "4.1.7", - "@web3modal/polyfills": "4.1.7", + "@web3modal/core": "4.1.8", + "@web3modal/polyfills": "4.1.8", "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.1.7" + "@web3modal/scaffold": "4.1.8" }, "devDependencies": { "vue": "3.4.3" @@ -31644,11 +31644,11 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", + "@web3modal/core": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", "lit": "3.1.0", "valtio": "1.11.2" } @@ -31665,7 +31665,7 @@ }, "packages/solana": { "name": "@web3modal/solana", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "@ethersproject/sha2": "5.7.0", @@ -31677,11 +31677,11 @@ "@solana/wallet-adapter-walletconnect": "0.1.16", "@solana/web3.js": "1.91.1", "@walletconnect/universal-provider": "2.11.2", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", "bn.js": "5.2.1", "bs58": "5.0.0" }, @@ -31756,7 +31756,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -31764,7 +31764,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "4.1.7", + "@web3modal/common": "4.1.8", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" } @@ -31781,15 +31781,15 @@ }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7" + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8" }, "devDependencies": { "@wagmi/connectors": "4.1.14", @@ -31971,10 +31971,10 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "4.1.7", + "version": "4.1.8", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.1.7", + "@web3modal/polyfills": "4.1.8", "zod": "3.22.4" } } diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 6710e6eb55..466a39bf12 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/common +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + ## 4.1.7 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 825b13f9ae..df9d0e094c 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index f06f0cc8e9..b896e6370f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/core +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/common@4.1.8 + - @web3modal/wallet@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 361d5ce136..99cf77cf07 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,8 +17,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/wallet": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/wallet": "4.1.8", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 3454d2805e..c41952b88c 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + - @web3modal/polyfills@4.1.8 + - @web3modal/scaffold-react@4.1.8 + - @web3modal/scaffold-utils@4.1.8 + - @web3modal/scaffold-vue@4.1.8 + - @web3modal/siwe@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 3768c53af9..d108f62ac8 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,12 +45,12 @@ "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8", "valtio": "1.11.2" }, "peerDependencies": { diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index 86282a0b07..65bee0328b 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -828,7 +828,6 @@ export class Web3Modal extends Web3ModalScaffold { await Promise.all([ this.syncProfile(address), this.syncBalance(address), - this.fetchTokenBalance(), this.getApprovedCaipNetworksData() ]) diff --git a/packages/ethers5/CHANGELOG.md b/packages/ethers5/CHANGELOG.md index ba60c6515b..1102fbebf5 100644 --- a/packages/ethers5/CHANGELOG.md +++ b/packages/ethers5/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers5 +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + - @web3modal/polyfills@4.1.8 + - @web3modal/scaffold-react@4.1.8 + - @web3modal/scaffold-utils@4.1.8 + - @web3modal/scaffold-vue@4.1.8 + - @web3modal/siwe@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 2216e0783b..08aa2c781e 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,12 +45,12 @@ "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index ee4caea748..64eeca6711 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/polyfills +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + ## 4.1.7 ### Patch Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index e9398e4fcb..a8bbdf3f13 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/scaffold-react/CHANGELOG.md b/packages/scaffold-react/CHANGELOG.md index f004158577..b7ddf727db 100644 --- a/packages/scaffold-react/CHANGELOG.md +++ b/packages/scaffold-react/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-react +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index 9a62489a8a..d5a94cc1fc 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "4.1.7" + "@web3modal/scaffold": "4.1.8" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-utils/CHANGELOG.md b/packages/scaffold-utils/CHANGELOG.md index 2442322129..661aa6c0ee 100644 --- a/packages/scaffold-utils/CHANGELOG.md +++ b/packages/scaffold-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/scaffold-utils +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/core@4.1.8 + - @web3modal/polyfills@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index b00c302ad3..21dbad2c2a 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-utils", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -40,8 +40,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "4.1.7", - "@web3modal/polyfills": "4.1.7", + "@web3modal/core": "4.1.8", + "@web3modal/polyfills": "4.1.8", "valtio": "1.11.2" }, "keywords": [ diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index e64494938a..5985dc995e 100644 --- a/packages/scaffold-utils/src/ConstantsUtil.ts +++ b/packages/scaffold-utils/src/ConstantsUtil.ts @@ -14,5 +14,5 @@ export const ConstantsUtil = { CONNECTOR_RDNS_MAP: { coinbaseWallet: 'com.coinbase.wallet' } as Record, - VERSION: '4.1.7' + VERSION: '4.1.8' } diff --git a/packages/scaffold-vue/CHANGELOG.md b/packages/scaffold-vue/CHANGELOG.md index 8e3b01f4b2..9d241a15de 100644 --- a/packages/scaffold-vue/CHANGELOG.md +++ b/packages/scaffold-vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-vue +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index 2c9963e83d..e272d63c78 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "4.1.7" + "@web3modal/scaffold": "4.1.8" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/CHANGELOG.md b/packages/scaffold/CHANGELOG.md index 493978286e..e347cbfe61 100644 --- a/packages/scaffold/CHANGELOG.md +++ b/packages/scaffold/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/scaffold +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/common@4.1.8 + - @web3modal/core@4.1.8 + - @web3modal/siwe@4.1.8 + - @web3modal/ui@4.1.8 + - @web3modal/wallet@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index f430708c01..663d97dc26 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,12 +16,12 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.1.7", - "@web3modal/core": "4.1.7", - "@web3modal/ui": "4.1.7", + "@web3modal/common": "4.1.8", + "@web3modal/core": "4.1.8", + "@web3modal/ui": "4.1.8", "lit": "3.1.0", - "@web3modal/siwe": "4.1.7", - "@web3modal/wallet": "4.1.7" + "@web3modal/siwe": "4.1.8", + "@web3modal/wallet": "4.1.8" }, "keywords": [ "web3", diff --git a/packages/scaffold/src/client.ts b/packages/scaffold/src/client.ts index 9c655ba9c4..0ad3824941 100644 --- a/packages/scaffold/src/client.ts +++ b/packages/scaffold/src/client.ts @@ -156,10 +156,6 @@ export class Web3ModalScaffold { AccountController.setBalance(balance, balanceSymbol) } - protected fetchTokenBalance = () => { - AccountController.fetchTokenBalance() - } - protected setProfileName: (typeof AccountController)['setProfileName'] = profileName => { AccountController.setProfileName(profileName) } diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index 7e0476e24d..79391a817a 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/siwe +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/core@4.1.8 + - @web3modal/scaffold-utils@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index eecee2d153..39dce12b7b 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -16,8 +16,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", + "@web3modal/core": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", "valtio": "1.11.2", "lit": "3.1.0" }, diff --git a/packages/solana/CHANGELOG.md b/packages/solana/CHANGELOG.md index b14fdf6100..6df8164738 100644 --- a/packages/solana/CHANGELOG.md +++ b/packages/solana/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/solana +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + - @web3modal/polyfills@4.1.8 + - @web3modal/scaffold-react@4.1.8 + - @web3modal/scaffold-utils@4.1.8 + - @web3modal/scaffold-vue@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/solana/package.json b/packages/solana/package.json index d8e2713c2d..53477062e9 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/solana", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -52,11 +52,11 @@ "@solana/wallet-adapter-trust": "0.1.13", "@solana/wallet-adapter-walletconnect": "0.1.16", "@walletconnect/universal-provider": "2.11.2", - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", "bn.js": "5.2.1", "bs58": "5.0.0" }, diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index a38558ef2b..a9e905af9e 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/ui +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + ## 4.1.7 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index c8aa9cbef5..1dddece58d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "4.1.7", + "@web3modal/common": "4.1.8", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" }, diff --git a/packages/wagmi/CHANGELOG.md b/packages/wagmi/CHANGELOG.md index 748b5b4144..6626a6a8aa 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/wagmi +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/scaffold@4.1.8 + - @web3modal/polyfills@4.1.8 + - @web3modal/scaffold-react@4.1.8 + - @web3modal/scaffold-utils@4.1.8 + - @web3modal/scaffold-vue@4.1.8 + - @web3modal/siwe@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 06f62e795b..36627da52a 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -51,12 +51,12 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/polyfills": "4.1.7", - "@web3modal/scaffold": "4.1.7", - "@web3modal/scaffold-react": "4.1.7", - "@web3modal/scaffold-utils": "4.1.7", - "@web3modal/scaffold-vue": "4.1.7", - "@web3modal/siwe": "4.1.7" + "@web3modal/polyfills": "4.1.8", + "@web3modal/scaffold": "4.1.8", + "@web3modal/scaffold-react": "4.1.8", + "@web3modal/scaffold-utils": "4.1.8", + "@web3modal/scaffold-vue": "4.1.8", + "@web3modal/siwe": "4.1.8" }, "devDependencies": { "@wagmi/connectors": "4.1.14", diff --git a/packages/wagmi/src/client.ts b/packages/wagmi/src/client.ts index 9aa7338784..c020df814c 100644 --- a/packages/wagmi/src/client.ts +++ b/packages/wagmi/src/client.ts @@ -248,7 +248,6 @@ export class Web3Modal extends Web3ModalScaffold { this.syncProfile(address, chainId), this.syncBalance(address, chainId), this.syncConnectedWalletInfo(connector), - this.fetchTokenBalance(), this.getApprovedCaipNetworksData() ]) this.hasSyncedConnectedAccount = true diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 8cc801b240..867a153e95 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/wallet +## 4.1.8 + +### Patch Changes + +- Hotfix for redundant tokenbalance calls + +- Updated dependencies []: + - @web3modal/polyfills@4.1.8 + ## 4.1.7 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index c9475e15c8..4b216d0afe 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "4.1.7", + "version": "4.1.8", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,7 +17,7 @@ }, "dependencies": { "zod": "3.22.4", - "@web3modal/polyfills": "4.1.7" + "@web3modal/polyfills": "4.1.8" }, "keywords": [ "web3", From 100b0020b8a91cf97f4bbc2a284c461ea72e0b8c Mon Sep 17 00:00:00 2001 From: Enes Date: Mon, 15 Apr 2024 19:09:15 +0300 Subject: [PATCH 2/3] fix: hide tooltip when not hovered (#2153) --- packages/ui/src/composites/wui-tooltip-select/index.ts | 2 ++ packages/ui/src/composites/wui-tooltip-select/styles.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/ui/src/composites/wui-tooltip-select/index.ts b/packages/ui/src/composites/wui-tooltip-select/index.ts index 46a43e3bbd..c28893bd3b 100644 --- a/packages/ui/src/composites/wui-tooltip-select/index.ts +++ b/packages/ui/src/composites/wui-tooltip-select/index.ts @@ -32,6 +32,7 @@ export class WuiTooltipSelect extends LitElement { private onMouseEnter() { const element = this.shadowRoot?.querySelector('wui-tooltip') if (element) { + element.style.display = 'flex' element?.animate([{ opacity: 0 }, { opacity: 1 }], { fill: 'forwards', easing: 'ease', @@ -43,6 +44,7 @@ export class WuiTooltipSelect extends LitElement { private onMouseLeave() { const element = this.shadowRoot?.querySelector('wui-tooltip') if (element) { + element.style.display = 'none' element?.animate([{ opacity: 1 }, { opacity: 0 }], { fill: 'forwards', easing: 'ease', diff --git a/packages/ui/src/composites/wui-tooltip-select/styles.ts b/packages/ui/src/composites/wui-tooltip-select/styles.ts index 1f91da11aa..80a2ffef28 100644 --- a/packages/ui/src/composites/wui-tooltip-select/styles.ts +++ b/packages/ui/src/composites/wui-tooltip-select/styles.ts @@ -25,6 +25,7 @@ export default css` left: 50%; transform: translate(-50%, -100%); opacity: 0; + display: none; } @media (hover: hover) and (pointer: fine) { From 1ea37623a3ab0e4caa0664e6a1288cc06c05144f Mon Sep 17 00:00:00 2001 From: Luka Isailovic Date: Mon, 15 Apr 2024 18:36:33 +0200 Subject: [PATCH 3/3] fix: move MAILSAC_API_KEY check inside the initialization logic (#2029) Co-authored-by: Enes --- .../tests/shared/fixtures/w3m-email-fixture.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/laboratory/tests/shared/fixtures/w3m-email-fixture.ts b/apps/laboratory/tests/shared/fixtures/w3m-email-fixture.ts index 81070c0225..a2336c55f7 100644 --- a/apps/laboratory/tests/shared/fixtures/w3m-email-fixture.ts +++ b/apps/laboratory/tests/shared/fixtures/w3m-email-fixture.ts @@ -4,17 +4,16 @@ import { ModalPage } from '../pages/ModalPage' import { ModalValidator } from '../validators/ModalValidator' import { Email } from '../utils/email' -const mailsacApiKey = process.env['MAILSAC_API_KEY'] -if (!mailsacApiKey) { - throw new Error('MAILSAC_API_KEY is not set') -} - export const testMEmail = base.extend({ library: ['wagmi', { option: true }], modalPage: async ({ page, library, context }, use, testInfo) => { const modalPage = new ModalPage(page, library, 'email') await modalPage.load() + const mailsacApiKey = process.env['MAILSAC_API_KEY'] + if (!mailsacApiKey) { + throw new Error('MAILSAC_API_KEY is not set') + } const email = new Email(mailsacApiKey) const tempEmail = email.getEmailAddressToUse(testInfo.parallelIndex)