From 6bc232f031a98aa9ba4034a05df70ee5587ece0b Mon Sep 17 00:00:00 2001 From: tomiir Date: Mon, 8 Apr 2024 11:45:41 -0300 Subject: [PATCH 1/6] fix: ethers fail to disconnect (#2127) --- apps/laboratory/tests/shared/validators/ModalValidator.ts | 6 +++--- packages/ethers/src/client.ts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/laboratory/tests/shared/validators/ModalValidator.ts b/apps/laboratory/tests/shared/validators/ModalValidator.ts index dd3118dc91..3926839391 100644 --- a/apps/laboratory/tests/shared/validators/ModalValidator.ts +++ b/apps/laboratory/tests/shared/validators/ModalValidator.ts @@ -38,9 +38,9 @@ export class ModalValidator { async expectDisconnected() { await expect( - this.page.getByTestId('account-button'), - 'Account button should not be present' - ).not.toBeVisible({ + this.page.getByTestId('connect-button'), + 'Connect button should be present' + ).toBeVisible({ timeout: MAX_WAIT }) } diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index 655823f0aa..bc62e4625e 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -252,7 +252,6 @@ export class Web3Modal extends Web3ModalScaffold { if (providerType === ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID) { const WalletConnectProvider = provider await (WalletConnectProvider as unknown as EthereumProvider).disconnect() - provider?.emit('disconnect') // eslint-disable-next-line no-negated-condition } else if (providerType !== ConstantsUtil.EMAIL_CONNECTOR_ID) { provider?.emit('disconnect') From 9c5555d0562888f4f2d90c254d9da7689354e139 Mon Sep 17 00:00:00 2001 From: Ignacio Santise Date: Mon, 8 Apr 2024 14:59:30 -0300 Subject: [PATCH 2/6] fix: get isConnected from provider (#2118) --- packages/ethers/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ethers/src/client.ts b/packages/ethers/src/client.ts index bc62e4625e..86282a0b07 100644 --- a/packages/ethers/src/client.ts +++ b/packages/ethers/src/client.ts @@ -1133,7 +1133,7 @@ export class Web3Modal extends Web3ModalScaffold { super.setLoading(true) const isLoginEmailUsed = this.emailProvider.getLoginEmailUsed() super.setLoading(isLoginEmailUsed) - const isConnected = await this.emailProvider.isConnected() + const { isConnected } = await this.emailProvider.isConnected() if (isConnected) { this.setEmailProvider() From 28f9bf1a0de2b0422324bd2864232aba8fbfffe6 Mon Sep 17 00:00:00 2001 From: Phill Weston <2436559745@qq.com> Date: Tue, 9 Apr 2024 02:21:44 +0800 Subject: [PATCH 3/6] Revise the default value of the z-index from 100 to 999, to ensure it always be shown in the front layer (#2084) Co-authored-by: tomiir --- packages/ui/src/utils/ThemeUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/utils/ThemeUtil.ts b/packages/ui/src/utils/ThemeUtil.ts index 25611a4d6e..0cb6332a48 100644 --- a/packages/ui/src/utils/ThemeUtil.ts +++ b/packages/ui/src/utils/ThemeUtil.ts @@ -58,7 +58,7 @@ function createRootStyles(themeVariables?: ThemeVariables) { --w3m-border-radius-master: ${unsafeCSS( themeVariables?.['--w3m-border-radius-master'] || '4px' )}; - --w3m-z-index: ${unsafeCSS(themeVariables?.['--w3m-z-index'] || 100)}; + --w3m-z-index: ${unsafeCSS(themeVariables?.['--w3m-z-index'] || 999)}; --wui-font-family: var(--w3m-font-family); From 7e0a896f4e020eda6f919f3a56de5fbc9b748e3f Mon Sep 17 00:00:00 2001 From: tomiir Date: Mon, 8 Apr 2024 17:47:27 -0300 Subject: [PATCH 4/6] fix: NaN balance (#2129) --- packages/common/src/utils/TypeUtil.ts | 2 +- packages/core/src/utils/CoreHelperUtil.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/utils/TypeUtil.ts b/packages/common/src/utils/TypeUtil.ts index b2ece14b61..c45dd69c6f 100644 --- a/packages/common/src/utils/TypeUtil.ts +++ b/packages/common/src/utils/TypeUtil.ts @@ -77,7 +77,7 @@ export interface Balance { name: string symbol: string chainId: string - value: number + value?: number price: number quantity: BalanceQuantity iconUrl: string diff --git a/packages/core/src/utils/CoreHelperUtil.ts b/packages/core/src/utils/CoreHelperUtil.ts index 55131516ad..5092fa4023 100644 --- a/packages/core/src/utils/CoreHelperUtil.ts +++ b/packages/core/src/utils/CoreHelperUtil.ts @@ -252,7 +252,7 @@ export const CoreHelperUtil = { calculateBalance(array: Balance[]) { let sum = 0 for (const item of array) { - sum += item.value + sum += item.value ?? 0 } return sum From c3a63d34c6687da503f1bf184cf8892c91331a89 Mon Sep 17 00:00:00 2001 From: tomiir Date: Mon, 8 Apr 2024 18:01:02 -0300 Subject: [PATCH 5/6] chore: v4.1.6 (#2128) --- 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 +++++++++---------- package.json | 3 +- 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/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/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/wallet/CHANGELOG.md | 9 ++ packages/wallet/package.json | 4 +- readme.md | 20 +-- 52 files changed, 403 insertions(+), 163 deletions(-) diff --git a/apps/demo/CHANGELOG.md b/apps/demo/CHANGELOG.md index 2dee468881..f1ca1501d5 100644 --- a/apps/demo/CHANGELOG.md +++ b/apps/demo/CHANGELOG.md @@ -1,5 +1,14 @@ # @apps/demo +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/apps/demo/package.json b/apps/demo/package.json index b0ed115781..4896acec70 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -1,6 +1,6 @@ { "name": "@apps/demo", - "version": "4.1.5", + "version": "4.1.6", "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.5", + "@web3modal/wagmi": "4.1.6", "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 e703efb735..32aac6080f 100644 --- a/apps/gallery/CHANGELOG.md +++ b/apps/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @apps/gallery +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/common@4.1.6 + - @web3modal/ui@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/apps/gallery/package.json b/apps/gallery/package.json index b18ce8161c..27a1d1704e 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "4.1.5", + "version": "4.1.6", "private": true, "main": "index.js", "scripts": { @@ -9,8 +9,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.1.5", - "@web3modal/ui": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/ui": "4.1.6", "lit": "3.1.0", "storybook": "7.6.7" }, diff --git a/apps/laboratory/CHANGELOG.md b/apps/laboratory/CHANGELOG.md index 5a1690577e..a644f2e227 100644 --- a/apps/laboratory/CHANGELOG.md +++ b/apps/laboratory/CHANGELOG.md @@ -1,5 +1,17 @@ # @apps/laboratory +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/ethers@4.1.6 + - @web3modal/siwe@4.1.6 + - @web3modal/solana@4.1.6 + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index 09b65b108d..8efa8b49e7 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/siwe": "4.1.5", - "@web3modal/solana": "4.1.5", - "@web3modal/wagmi": "4.1.5", + "@web3modal/ethers": "4.1.6", + "@web3modal/siwe": "4.1.6", + "@web3modal/solana": "4.1.6", + "@web3modal/wagmi": "4.1.6", "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 d281bec10f..141c7e1ec3 100644 --- a/examples/html-ethers5/CHANGELOG.md +++ b/examples/html-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-ethers5 +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/ethers5@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index 10f6a218ef..c025be9327 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/html-wagmi/CHANGELOG.md b/examples/html-wagmi/CHANGELOG.md index d4e7430412..2894d3eaae 100644 --- a/examples/html-wagmi/CHANGELOG.md +++ b/examples/html-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-wagmi +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index 00be91f112..216c7d5369 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "@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 fabbdebf45..fe00865116 100644 --- a/examples/next-wagmi/CHANGELOG.md +++ b/examples/next-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/next-wagmi +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/next-wagmi/package.json b/examples/next-wagmi/package.json index b17c7a00d5..cf7ba24d5b 100644 --- a/examples/next-wagmi/package.json +++ b/examples/next-wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@examples/next-wagmi", - "version": "4.1.5", + "version": "4.1.6", "private": true, "scripts": { "dev": "next dev", @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "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 0ee9521f43..012293ce57 100644 --- a/examples/react-ethers5/CHANGELOG.md +++ b/examples/react-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/ethers5@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 913f63f7cb..0fcb35746b 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "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 f22aa46261..d276173927 100644 --- a/examples/react-wagmi/CHANGELOG.md +++ b/examples/react-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-wagmi +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index bb12b17ebb..b3fcd53c4d 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "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 433e6fc3c5..a64f0351b7 100644 --- a/examples/vue-ethers5/CHANGELOG.md +++ b/examples/vue-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-ethers5 +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/ethers5@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index b868771d87..050bef228f 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/vue-wagmi/CHANGELOG.md b/examples/vue-wagmi/CHANGELOG.md index d2fe4f3aa4..525552198a 100644 --- a/examples/vue-wagmi/CHANGELOG.md +++ b/examples/vue-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-wagmi +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/wagmi@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index 6f811e1aad..30280ed7d2 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.5", + "version": "4.1.6", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5" }, diff --git a/package-lock.json b/package-lock.json index 9c8ee2332c..9287721c1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,11 +43,11 @@ }, "apps/demo": { "name": "@apps/demo", - "version": "4.1.5", + "version": "4.1.6", "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "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.5", + "version": "4.1.6", "dependencies": { - "@web3modal/common": "4.1.5", - "@web3modal/ui": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/ui": "4.1.6", "lit": "3.1.0", "storybook": "7.6.7" }, @@ -156,7 +156,7 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/siwe": "4.1.5", - "@web3modal/solana": "4.1.5", - "@web3modal/wagmi": "4.1.5", + "@web3modal/ethers": "4.1.6", + "@web3modal/siwe": "4.1.6", + "@web3modal/solana": "4.1.6", + "@web3modal/wagmi": "4.1.6", "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.5", + "version": "4.1.6", "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "ethers": "5.7.2" }, "devDependencies": { @@ -371,11 +371,11 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "4.1.5", + "version": "4.1.6", "dependencies": { "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "react": "18.2.0", "react-dom": "18.2.0" }, @@ -385,10 +385,10 @@ }, "examples/next-wagmi": { "name": "@examples/next-wagmi", - "version": "4.1.5", + "version": "4.1.6", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "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.5", + "version": "4.1.6", "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "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.5", + "version": "4.1.6", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "4.1.5", + "@web3modal/wagmi": "4.1.6", "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.5", + "version": "4.1.6", "dependencies": { - "@web3modal/ethers5": "4.1.5", + "@web3modal/ethers5": "4.1.6", "ethers": "5.7.2" }, "devDependencies": { @@ -836,11 +836,11 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "4.1.5", + "version": "4.1.6", "dependencies": { "@wagmi/connectors": "4.1.14", "@wagmi/core": "2.6.5", - "@web3modal/wagmi": "4.1.5" + "@web3modal/wagmi": "4.1.6" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" @@ -31053,7 +31053,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { "bignumber.js": "9.1.2", @@ -31062,11 +31062,11 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.1.5", - "@web3modal/wallet": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/wallet": "4.1.6", "valtio": "1.11.2" }, "devDependencies": { @@ -31075,17 +31075,17 @@ }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6", "valtio": "1.11.2" }, "devDependencies": { @@ -31233,17 +31233,17 @@ }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.1.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6", "valtio": "1.11.2" }, "devDependencies": { @@ -31440,7 +31440,7 @@ }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -31448,23 +31448,23 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.1.5", - "@web3modal/core": "4.1.5", - "@web3modal/siwe": "4.1.5", - "@web3modal/ui": "4.1.5", - "@web3modal/wallet": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/core": "4.1.6", + "@web3modal/siwe": "4.1.6", + "@web3modal/ui": "4.1.6", + "@web3modal/wallet": "4.1.6", "lit": "3.1.0" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.1.5" + "@web3modal/scaffold": "4.1.6" }, "devDependencies": { "react": "18.2.0", @@ -31485,20 +31485,20 @@ }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "4.1.5", - "@web3modal/polyfills": "4.1.5", + "@web3modal/core": "4.1.6", + "@web3modal/polyfills": "4.1.6", "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.1.5" + "@web3modal/scaffold": "4.1.6" }, "devDependencies": { "vue": "3.4.3" @@ -31644,11 +31644,11 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", + "@web3modal/core": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", "lit": "3.1.0", "valtio": "1.11.2" } @@ -31665,7 +31665,7 @@ }, "packages/solana": { "name": "@web3modal/solana", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", "bn.js": "5.2.1", "bs58": "5.0.0" }, @@ -31756,7 +31756,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -31764,7 +31764,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "4.1.5", + "@web3modal/common": "4.1.6", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" } @@ -31781,15 +31781,15 @@ }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.1.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5" + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6" }, "devDependencies": { "@wagmi/connectors": "4.1.14", @@ -31971,10 +31971,10 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "4.1.5", + "version": "4.1.6", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.1.5", + "@web3modal/polyfills": "4.1.6", "zod": "3.22.4" } } diff --git a/package.json b/package.json index 6f907d892c..781c7097d7 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "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", - "changeset": "changeset", + "changeset:pre": "changeset pre enter", + "changeset": "changeset; changeset version", "publish:latest": "npm install; npm run build; changeset publish", "publish:alpha": "npm install; npm run build; changeset publish --tag alpha", "publish:beta": "npm install; npm run build; changeset publish --tag beta", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 1fef07c593..4adb80888f 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/common +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + ## 4.1.5 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 758a335c24..8bfae036c8 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "4.1.5", + "version": "4.1.6", "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 bc7c19ea7b..e44499a52b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/core +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/common@4.1.6 + - @web3modal/wallet@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 736d0a10c2..22d1256d25 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/wallet": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/wallet": "4.1.6", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 63993a21ec..63f1224420 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/polyfills@4.1.6 + - @web3modal/scaffold@4.1.6 + - @web3modal/scaffold-react@4.1.6 + - @web3modal/scaffold-utils@4.1.6 + - @web3modal/scaffold-vue@4.1.6 + - @web3modal/siwe@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 6b89c71c0d..cf0c0d8c46 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6", "valtio": "1.11.2" }, "peerDependencies": { diff --git a/packages/ethers5/CHANGELOG.md b/packages/ethers5/CHANGELOG.md index 47e0d6716f..6a89312a50 100644 --- a/packages/ethers5/CHANGELOG.md +++ b/packages/ethers5/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers5 +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/polyfills@4.1.6 + - @web3modal/scaffold@4.1.6 + - @web3modal/scaffold-react@4.1.6 + - @web3modal/scaffold-utils@4.1.6 + - @web3modal/scaffold-vue@4.1.6 + - @web3modal/siwe@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 087f28859f..8abf888c33 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index 8173043f1b..5c96bf006d 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/polyfills +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + ## 4.1.5 ### Patch Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index b7ed41cdf4..f3700bbde8 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "4.1.5", + "version": "4.1.6", "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 36ae43074c..940e804850 100644 --- a/packages/scaffold-react/CHANGELOG.md +++ b/packages/scaffold-react/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-react +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/scaffold@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index dc9fcb2e88..a762af7c91 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "4.1.5", + "version": "4.1.6", "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.5" + "@web3modal/scaffold": "4.1.6" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-utils/CHANGELOG.md b/packages/scaffold-utils/CHANGELOG.md index 2ebbc57717..9b46d972b6 100644 --- a/packages/scaffold-utils/CHANGELOG.md +++ b/packages/scaffold-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/scaffold-utils +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/core@4.1.6 + - @web3modal/polyfills@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index 316b924d97..823733db5b 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-utils", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/polyfills": "4.1.5", + "@web3modal/core": "4.1.6", + "@web3modal/polyfills": "4.1.6", "valtio": "1.11.2" }, "keywords": [ diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index 63cece78d4..708ab6425c 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.5' + VERSION: '4.1.6' } diff --git a/packages/scaffold-vue/CHANGELOG.md b/packages/scaffold-vue/CHANGELOG.md index a11b97f25a..2745bb7470 100644 --- a/packages/scaffold-vue/CHANGELOG.md +++ b/packages/scaffold-vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-vue +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/scaffold@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index 746ea9e356..d50ce60999 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "4.1.5", + "version": "4.1.6", "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.5" + "@web3modal/scaffold": "4.1.6" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/CHANGELOG.md b/packages/scaffold/CHANGELOG.md index 237893c17e..d8025f07f7 100644 --- a/packages/scaffold/CHANGELOG.md +++ b/packages/scaffold/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/scaffold +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/common@4.1.6 + - @web3modal/core@4.1.6 + - @web3modal/siwe@4.1.6 + - @web3modal/ui@4.1.6 + - @web3modal/wallet@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index 782e81546a..26536ded4e 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/core": "4.1.5", - "@web3modal/ui": "4.1.5", + "@web3modal/common": "4.1.6", + "@web3modal/core": "4.1.6", + "@web3modal/ui": "4.1.6", "lit": "3.1.0", - "@web3modal/siwe": "4.1.5", - "@web3modal/wallet": "4.1.5" + "@web3modal/siwe": "4.1.6", + "@web3modal/wallet": "4.1.6" }, "keywords": [ "web3", diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index 354e1eed38..2eca6c50ed 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/siwe +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/core@4.1.6 + - @web3modal/scaffold-utils@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index 30c4da1df4..b5084bf7fb 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold-utils": "4.1.5", + "@web3modal/core": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", "valtio": "1.11.2", "lit": "3.1.0" }, diff --git a/packages/solana/CHANGELOG.md b/packages/solana/CHANGELOG.md index b33e174f85..14d1a4f291 100644 --- a/packages/solana/CHANGELOG.md +++ b/packages/solana/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/solana +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/polyfills@4.1.6 + - @web3modal/scaffold@4.1.6 + - @web3modal/scaffold-react@4.1.6 + - @web3modal/scaffold-utils@4.1.6 + - @web3modal/scaffold-vue@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/solana/package.json b/packages/solana/package.json index a22e26427e..5c225c63e3 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/solana", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", "bn.js": "5.2.1", "bs58": "5.0.0" }, diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 8753f46d89..875b4f3637 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/ui +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + ## 4.1.5 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 18e06abebd..eeb6c5df1c 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "4.1.5", + "version": "4.1.6", "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.5", + "@web3modal/common": "4.1.6", "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 92176cc853..d1495c2a42 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/wagmi +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/polyfills@4.1.6 + - @web3modal/scaffold@4.1.6 + - @web3modal/scaffold-react@4.1.6 + - @web3modal/scaffold-utils@4.1.6 + - @web3modal/scaffold-vue@4.1.6 + - @web3modal/siwe@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 5c0d108fd0..f20e4daaca 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "4.1.5", + "version": "4.1.6", "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.5", - "@web3modal/scaffold": "4.1.5", - "@web3modal/scaffold-react": "4.1.5", - "@web3modal/scaffold-utils": "4.1.5", - "@web3modal/scaffold-vue": "4.1.5", - "@web3modal/siwe": "4.1.5" + "@web3modal/polyfills": "4.1.6", + "@web3modal/scaffold": "4.1.6", + "@web3modal/scaffold-react": "4.1.6", + "@web3modal/scaffold-utils": "4.1.6", + "@web3modal/scaffold-vue": "4.1.6", + "@web3modal/siwe": "4.1.6" }, "devDependencies": { "@wagmi/connectors": "4.1.14", diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 1920ad4ccd..90f641c2ba 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/wallet +## 4.1.6 + +### Patch Changes + +- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. + +- Updated dependencies []: + - @web3modal/polyfills@4.1.6 + ## 4.1.5 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 46c8728f01..17d2779dd4 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "4.1.5", + "version": "4.1.6", "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.5" + "@web3modal/polyfills": "4.1.6" }, "keywords": [ "web3", diff --git a/readme.md b/readme.md index 52aae95cad..5bc0eb76f8 100644 --- a/readme.md +++ b/readme.md @@ -30,31 +30,33 @@ VITE_PROJECT_ID="your_project_id" # Releasing new versions -### Choose the packages you want to update and add a summary. +### Enter prelease mode [Optional] + +If you need to release a canary/alpha/beta you need to enter prelease mode first ```sh -npm run changeset +npm run changeset:pre ``` -### Version your latest change(s) +For example: `npm run changeset:pre a123bas2` -```sh -npm run changeset version -``` +### Generate changeset -### Enter prelease mode +If you need to release a canary/alpha/beta you need to enter prelease mode first ```sh -npm run changeset pre enter [tag] +npm run changeset ``` +For example: `npm run changeset:pre a123bas2` + ### Steps 1. Run `npm outdated` and update dependencies 2. Run `npm install` and verify if everything still works correctly 3. Merge your feature branch into `V4` 4. Create a new branch from `V4` and name it with the version tag -5. Run `npm changeset` and set new custom version, enter prelease mode first if you want to add a tag to the version. +5. Run `npm run changeset` and set new custom version, enter prelease mode first if you want to add a tag to the version. 6. Update version in `ConstantsUtil` in `@web3modal/scaffold-utils` to the correct version 7. Create a new `PR` with Release Notes and merge into `V4` 8. Checkout `V4` and run `npm run publish:latest` From 37f0d1497b69fcf357623d2ec62a40869af1c996 Mon Sep 17 00:00:00 2001 From: Luka Isailovic Date: Wed, 10 Apr 2024 11:38:28 +0200 Subject: [PATCH 6/6] fix: email tests (#2133) --- apps/laboratory/tests/shared/utils/email.ts | 9 +++++---- .../tests/shared/validators/ModalValidator.ts | 7 +++++++ .../shared/validators/ModalWalletValidator.ts | 20 +++++++++---------- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/apps/laboratory/tests/shared/utils/email.ts b/apps/laboratory/tests/shared/utils/email.ts index 096333aaf3..57dcff4516 100644 --- a/apps/laboratory/tests/shared/utils/email.ts +++ b/apps/laboratory/tests/shared/utils/email.ts @@ -5,6 +5,7 @@ const EMAIL_APPROVE_BUTTON_TEXT = 'Approve this login' const APPROVE_URL_REGEX = /https:\/\/register.*/u const OTP_CODE_REGEX = /\d{3}\s?\d{3}/u const AVAILABLE_MAILSAC_ADDRESSES = 10 +const EMAIL_DOMAIN = 'web3modal.msdc.co' export class Email { // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -31,11 +32,11 @@ export class Email { if (messages.data.length > 0) { const message = messages.data[0] if (!message) { - throw new Error('No message found') + throw new Error(`No message found for address ${email}`) } const id = message._id if (!id) { - throw new Error('Message ID not present') + throw new Error(`Message id not present for address ${email}`) } return id @@ -43,7 +44,7 @@ export class Email { await this.timeout(EMAIL_CHECK_TIMEOUT) checks += 1 } - throw new Error('No email found') + throw new Error(`No email found for address ${email}`) } async getEmailBody(email: string, messageId: string): Promise { @@ -82,6 +83,6 @@ export class Email { ) } - return `web3modal${index}@mailsac.com` + return `tests-${index}@${EMAIL_DOMAIN}` } } diff --git a/apps/laboratory/tests/shared/validators/ModalValidator.ts b/apps/laboratory/tests/shared/validators/ModalValidator.ts index 3926839391..27c7d64064 100644 --- a/apps/laboratory/tests/shared/validators/ModalValidator.ts +++ b/apps/laboratory/tests/shared/validators/ModalValidator.ts @@ -13,6 +13,13 @@ export class ModalValidator { await expect(accountButton, 'Account button should be present').toBeAttached({ timeout: MAX_WAIT }) + await expect( + this.page.getByTestId('connect-button'), + 'Connect button should not be present' + ).toBeHidden({ + timeout: MAX_WAIT + }) + await this.page.waitForTimeout(500) } async expectAuthenticated() { diff --git a/apps/laboratory/tests/shared/validators/ModalWalletValidator.ts b/apps/laboratory/tests/shared/validators/ModalWalletValidator.ts index ab6fa99f0d..d580f563c7 100644 --- a/apps/laboratory/tests/shared/validators/ModalWalletValidator.ts +++ b/apps/laboratory/tests/shared/validators/ModalWalletValidator.ts @@ -3,16 +3,16 @@ import { ModalValidator } from './ModalValidator' // Each entry corresponds to web3modal${index} email address EOA const testEmailsEOAAddresses = [ - '0x6DAa039A2bFBb48dE6c02E3333a30856C047D73f', - '0x804642811117f5063594D0Db0273EA3C1959AE2C', - '0x871f447Cc32EA3F28Ea09910BE124c451CCcAE4c', - '0xd3041Dbf9473b9D2f6E15EB1Ca2e5999D3eF9519', - '0x88dEF109b4877B6fc14c5Fd25ED68B821E270E30', - '0x465B06679a2a33F3350C9D245872d1e34f10BA9C', - '0x8cD2c90E98309FcdeEd2bA0FdaC050e0284D1fD6', - '0x4446d7538f4CF5832604BE20535d954439Ff075d', - '0xbC6996C993d358989743bC74082B046da9d4d8fb', - '0x1216ff6012bcFcBaDFb4691cF586702Af9482F8C', + '0x629EC1c38cB60E90A47464e166A422256ADd9987', + '0xc3425Dda0A828983d7D372153B637231b8b53b30', + '0xa9B505304E0DD13F6C4EaBE21d7a707d620fbce4', + '0xC1f94ee0cD3dF13866f8fFD2d0907694266C28CE', + '0xAde4446855699e2aB1bD9D2f57B31A920A7C7bec', + '0xE66C5Cd1b0B9162D9cb036f7452Ca5C47260757c', + '0x2221967773371A742C297AD5290c5db0Ed632023', + '0x72d8d1Cc520d715D8db8E9B34D971F783FdAe634', + '0x774Ef09E6d93DB7ffE31A836610EDB6202752687', + '0x3A24983B0527442d8249DE97cFAFabb379c9A938', // Non-smart account enabled address '0x26760E9EbAcD6f4C47c095E7fd544C5AC093a4E3' ]