From 3a2531b88207fca4071b4f0bb877a42a34382d0b Mon Sep 17 00:00:00 2001 From: tomiir Date: Wed, 12 Jun 2024 11:47:32 -0600 Subject: [PATCH] v5.0.1 (#2411) Co-authored-by: Enes --- .changeset/config.json | 2 +- .github/workflows/pr_checks.yml | 2 + .github/workflows/publish_canary.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/ui_tests.yml | 2 +- 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-ethers/CHANGELOG.md | 9 + examples/react-ethers/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 | 164 +++++++++--------- packages/cdn/CHANGELOG.md | 10 ++ packages/cdn/package.json | 6 +- packages/common/CHANGELOG.md | 6 + packages/common/package.json | 2 +- packages/common/src/utils/ConstantsUtil.ts | 1 - packages/core/CHANGELOG.md | 10 ++ packages/core/package.json | 6 +- .../core/src/controllers/EnsController.ts | 11 -- packages/core/src/utils/RouterUtil.ts | 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-utils/src/PresetsUtil.ts | 4 +- packages/scaffold-vue/CHANGELOG.md | 9 + packages/scaffold-vue/package.json | 4 +- packages/scaffold/CHANGELOG.md | 14 ++ packages/scaffold/package.json | 14 +- .../views/w3m-account-settings-view/index.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 | 9 +- packages/wallet/CHANGELOG.md | 9 + packages/wallet/package.json | 4 +- 65 files changed, 433 insertions(+), 199 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 22541f7b38..e5f7429d6b 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -5,7 +5,7 @@ "fixed": [], "linked": [], "access": "public", - "baseBranch": "V4", + "baseBranch": "main", "updateInternalDependencies": "patch", "ignore": [] } diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index 43db3bf9f7..9b3e438673 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -5,6 +5,8 @@ on: branches: - V3 - V4 + - V5 + - main concurrency: # Support push/pr as event types with different behaviors each: diff --git a/.github/workflows/publish_canary.yml b/.github/workflows/publish_canary.yml index da60c1c7e8..f32d14503e 100644 --- a/.github/workflows/publish_canary.yml +++ b/.github/workflows/publish_canary.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: push: branches: - - V4 + - main concurrency: ${{ github.workflow }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e999c953a0..881b18e0ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: branches: - - V4 + - V5 concurrency: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index 70dc541399..057f0ee912 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -5,7 +5,7 @@ on: inputs: branch: description: 'The branch to use' - default: 'V3' + default: 'main' required: false type: string base-url: diff --git a/apps/demo/CHANGELOG.md b/apps/demo/CHANGELOG.md index ff7cf82a49..b99f165a6d 100644 --- a/apps/demo/CHANGELOG.md +++ b/apps/demo/CHANGELOG.md @@ -1,5 +1,14 @@ # @apps/demo +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/apps/demo/package.json b/apps/demo/package.json index 6dddd8957b..98510b7cf6 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -1,6 +1,6 @@ { "name": "@apps/demo", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0", + "@web3modal/wagmi": "5.0.1", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.2.3", diff --git a/apps/gallery/CHANGELOG.md b/apps/gallery/CHANGELOG.md index fe4ab00a8a..3a214b3728 100644 --- a/apps/gallery/CHANGELOG.md +++ b/apps/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @apps/gallery +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/common@5.0.1 + - @web3modal/ui@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/apps/gallery/package.json b/apps/gallery/package.json index 4e3012b032..ff3cc8c0a1 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "5.0.0", + "version": "5.0.1", "private": true, "main": "index.js", "scripts": { @@ -9,8 +9,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "5.0.0", - "@web3modal/ui": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/ui": "5.0.1", "lit": "3.1.0", "storybook": "7.6.7" }, diff --git a/apps/laboratory/CHANGELOG.md b/apps/laboratory/CHANGELOG.md index 699ec06531..89a48d8797 100644 --- a/apps/laboratory/CHANGELOG.md +++ b/apps/laboratory/CHANGELOG.md @@ -1,5 +1,17 @@ # @apps/laboratory +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers@5.0.1 + - @web3modal/solana@5.0.1 + - @web3modal/wagmi@5.0.1 + - @web3modal/siwe@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index 74cb9ee331..14fe000464 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "5.0.0", + "version": "5.0.1", "private": true, "scripts": { "dev:laboratory": "next dev", @@ -37,10 +37,10 @@ "@sentry/react": "7.92.0", "@solana/web3.js": "1.91.7", "@tanstack/react-query": "5.24.8", - "@web3modal/ethers": "5.0.0", - "@web3modal/siwe": "5.0.0", - "@web3modal/solana": "5.0.0", - "@web3modal/wagmi": "5.0.0", + "@web3modal/ethers": "5.0.1", + "@web3modal/siwe": "5.0.1", + "@web3modal/solana": "5.0.1", + "@web3modal/wagmi": "5.0.1", "ethers": "6.13.0", "framer-motion": "10.17.9", "next": "14.2.3", diff --git a/examples/html-ethers5/CHANGELOG.md b/examples/html-ethers5/CHANGELOG.md index cef1739e2e..4186250931 100644 --- a/examples/html-ethers5/CHANGELOG.md +++ b/examples/html-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-ethers5 +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers5@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index ceacb0dcde..38fa012bf8 100644 --- a/examples/html-ethers5/package.json +++ b/examples/html-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-ethers5", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/html-wagmi/CHANGELOG.md b/examples/html-wagmi/CHANGELOG.md index 6db49bde05..62b7d78087 100644 --- a/examples/html-wagmi/CHANGELOG.md +++ b/examples/html-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-wagmi +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index 6bd04e340d..e680ae0b4f 100644 --- a/examples/html-wagmi/package.json +++ b/examples/html-wagmi/package.json @@ -1,7 +1,7 @@ { "name": "@examples/html-wagmi", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" @@ -9,7 +9,7 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "react": "18.2.0", "react-dom": "18.2.0" }, diff --git a/examples/next-wagmi/CHANGELOG.md b/examples/next-wagmi/CHANGELOG.md index 9b03c1732c..1e28e10fec 100644 --- a/examples/next-wagmi/CHANGELOG.md +++ b/examples/next-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/next-wagmi +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/next-wagmi/package.json b/examples/next-wagmi/package.json index 00cad645a9..1cf21ae388 100644 --- a/examples/next-wagmi/package.json +++ b/examples/next-wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@examples/next-wagmi", - "version": "5.0.0", + "version": "5.0.1", "private": true, "scripts": { "dev": "next dev", @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "next": "14.2.3", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/react-ethers/CHANGELOG.md b/examples/react-ethers/CHANGELOG.md index d28c7d264d..37407387fa 100644 --- a/examples/react-ethers/CHANGELOG.md +++ b/examples/react-ethers/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/react-ethers/package.json b/examples/react-ethers/package.json index 8561f34840..8c29c73da8 100644 --- a/examples/react-ethers/package.json +++ b/examples/react-ethers/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers": "5.0.0", + "@web3modal/ethers": "5.0.1", "ethers": "6.9.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 d0e315aeae..d7fbe1518a 100644 --- a/examples/react-ethers5/CHANGELOG.md +++ b/examples/react-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers5@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 8467eb5cc3..83da50baec 100644 --- a/examples/react-ethers5/package.json +++ b/examples/react-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers5", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "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 315678bc9f..bbfdda1fb5 100644 --- a/examples/react-wagmi/CHANGELOG.md +++ b/examples/react-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-wagmi +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index 7d70520e32..7cf919f8dc 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -1,14 +1,14 @@ { "name": "@examples/react-wagmi", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "react": "18.2.0", "react-dom": "18.2.0", "vite": "5.2.11", diff --git a/examples/vue-ethers5/CHANGELOG.md b/examples/vue-ethers5/CHANGELOG.md index 811550c2e8..f89aa1f685 100644 --- a/examples/vue-ethers5/CHANGELOG.md +++ b/examples/vue-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-ethers5 +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers5@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index b5b2e45e8e..781458463c 100644 --- a/examples/vue-ethers5/package.json +++ b/examples/vue-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-ethers5", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/vue-wagmi/CHANGELOG.md b/examples/vue-wagmi/CHANGELOG.md index 333040ad09..785f60f6f2 100644 --- a/examples/vue-wagmi/CHANGELOG.md +++ b/examples/vue-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-wagmi +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index d3b3c37659..820eb5cb24 100644 --- a/examples/vue-wagmi/package.json +++ b/examples/vue-wagmi/package.json @@ -1,7 +1,7 @@ { "name": "@examples/vue-wagmi", "private": true, - "version": "5.0.0", + "version": "5.0.1", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" @@ -9,7 +9,7 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.0" + "@web3modal/wagmi": "5.0.1" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" diff --git a/package-lock.json b/package-lock.json index 6b374cf8ba..24afb864c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,11 +44,11 @@ }, "apps/demo": { "name": "@apps/demo", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@radix-ui/react-switch": "1.0.3", "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "clsx": "2.1.0", "framer-motion": "11.0.8", "next": "14.2.3", @@ -128,10 +128,10 @@ }, "apps/gallery": { "name": "@apps/gallery", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { - "@web3modal/common": "5.0.0", - "@web3modal/ui": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/ui": "5.0.1", "lit": "3.1.0", "storybook": "7.6.7" }, @@ -147,7 +147,7 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@chakra-ui/icons": "2.1.1", "@chakra-ui/react": "2.8.2", @@ -159,10 +159,10 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.0.8", "@walletconnect/utils": "2.13.1", - "@web3modal/ethers": "5.0.0", - "@web3modal/siwe": "5.0.0", - "@web3modal/solana": "5.0.0", - "@web3modal/wagmi": "5.0.0", + "@web3modal/ethers": "5.0.1", + "@web3modal/siwe": "5.0.1", + "@web3modal/solana": "5.0.1", + "@web3modal/wagmi": "5.0.1", "ethers": "6.13.0", "framer-motion": "10.17.9", "next": "14.2.3", @@ -219,9 +219,9 @@ }, "examples/html-ethers5": { "name": "@examples/html-ethers5", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "ethers": "5.7.2" }, "devDependencies": { @@ -277,11 +277,11 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "react": "18.2.0", "react-dom": "18.2.0" }, @@ -291,10 +291,10 @@ }, "examples/next-wagmi": { "name": "@examples/next-wagmi", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "next": "14.2.3", "react": "18.2.0", "react-dom": "18.2.0", @@ -337,9 +337,9 @@ }, "examples/react-ethers": { "name": "@examples/react-ethers", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { - "@web3modal/ethers": "5.0.0", + "@web3modal/ethers": "5.0.1", "ethers": "6.9.0", "react": "18.2.0", "react-dom": "18.2.0" @@ -388,9 +388,9 @@ }, "examples/react-ethers5": { "name": "@examples/react-ethers5", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" @@ -449,10 +449,10 @@ }, "examples/react-wagmi": { "name": "@examples/react-wagmi", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@tanstack/react-query": "5.24.8", - "@web3modal/wagmi": "5.0.0", + "@web3modal/wagmi": "5.0.1", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.10.3", @@ -466,9 +466,9 @@ }, "examples/vue-ethers5": { "name": "@examples/vue-ethers5", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { - "@web3modal/ethers5": "5.0.0", + "@web3modal/ethers5": "5.0.1", "ethers": "5.7.2" }, "devDependencies": { @@ -524,11 +524,11 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.0" + "@web3modal/wagmi": "5.0.1" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" @@ -32731,12 +32731,12 @@ }, "packages/cdn": { "name": "@web3modal/cdn", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/ethers": "5.0.0", - "@web3modal/wagmi": "5.0.0", + "@web3modal/ethers": "5.0.1", + "@web3modal/wagmi": "5.0.1", "viem": "2.10.3", "vite": "5.2.11" }, @@ -32755,7 +32755,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "bignumber.js": "9.1.2", @@ -32769,11 +32769,11 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "5.0.0", - "@web3modal/wallet": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/wallet": "5.0.1", "valtio": "1.11.2" }, "devDependencies": { @@ -32782,17 +32782,17 @@ }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "4.0.0", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1", "valtio": "1.11.2" }, "devDependencies": { @@ -32946,17 +32946,17 @@ }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "4.0.0", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1", "valtio": "1.11.2" }, "devDependencies": { @@ -33159,7 +33159,7 @@ }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -33167,24 +33167,24 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "5.0.0", - "@web3modal/core": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/siwe": "5.0.0", - "@web3modal/ui": "5.0.0", - "@web3modal/wallet": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/core": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/siwe": "5.0.1", + "@web3modal/ui": "5.0.1", + "@web3modal/wallet": "5.0.1", "lit": "3.1.0" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "5.0.0" + "@web3modal/scaffold": "5.0.1" }, "devDependencies": { "react": "18.2.0", @@ -33205,20 +33205,20 @@ }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "5.0.0", - "@web3modal/polyfills": "5.0.0", + "@web3modal/core": "5.0.1", + "@web3modal/polyfills": "5.0.1", "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "5.0.0" + "@web3modal/scaffold": "5.0.1" }, "devDependencies": { "vue": "3.4.3" @@ -33360,12 +33360,12 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "@walletconnect/utils": "2.12.0", - "@web3modal/core": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", + "@web3modal/core": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", "lit": "3.1.0", "valtio": "1.11.2" } @@ -33447,7 +33447,7 @@ }, "packages/solana": { "name": "@web3modal/solana", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "@ethersproject/sha2": "5.7.0", @@ -33459,11 +33459,11 @@ "@solana/wallet-adapter-walletconnect": "0.1.16", "@solana/web3.js": "1.91.7", "@walletconnect/universal-provider": "2.11.2", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", "bn.js": "5.2.1", "bs58": "5.0.0" }, @@ -33502,7 +33502,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -33510,23 +33510,23 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "5.0.0", + "@web3modal/common": "5.0.1", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" } }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0" + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1" }, "devDependencies": { "@wagmi/connectors": "5.0.8", @@ -33684,10 +33684,10 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "5.0.0", + "version": "5.0.1", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "5.0.0", + "@web3modal/polyfills": "5.0.1", "zod": "3.22.4" } } diff --git a/packages/cdn/CHANGELOG.md b/packages/cdn/CHANGELOG.md index c7a66c0a65..34c78c2742 100644 --- a/packages/cdn/CHANGELOG.md +++ b/packages/cdn/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/cdn +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/ethers@5.0.1 + - @web3modal/wagmi@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/cdn/package.json b/packages/cdn/package.json index f4af80cf82..8018b90008 100644 --- a/packages/cdn/package.json +++ b/packages/cdn/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/cdn", - "version": "5.0.0", + "version": "5.0.1", "main": "dist/wagmi.js", "type": "module", "files": [ @@ -28,8 +28,8 @@ "dependencies": { "@wagmi/connectors": "5.0.8", "@wagmi/core": "2.10.5", - "@web3modal/wagmi": "5.0.0", - "@web3modal/ethers": "5.0.0", + "@web3modal/wagmi": "5.0.1", + "@web3modal/ethers": "5.0.1", "viem": "2.10.3", "vite": "5.2.11" } diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index c78d4e5fc9..356a832f2e 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/common +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + ## 5.0.0 ### Major Changes diff --git a/packages/common/package.json b/packages/common/package.json index 1323f7f361..3e602c558b 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/common/src/utils/ConstantsUtil.ts b/packages/common/src/utils/ConstantsUtil.ts index 18a8b6dc39..d34c59ee47 100644 --- a/packages/common/src/utils/ConstantsUtil.ts +++ b/packages/common/src/utils/ConstantsUtil.ts @@ -1,6 +1,5 @@ export const ConstantsUtil = { WC_NAME_SUFFIX: '.wcn.id', - WC_NAMES_ALLOWED_DOMAINS: ['walletconnect.com'], BLOCKCHAIN_API_RPC_URL: 'https://rpc.walletconnect.org', PULSE_API_URL: 'https://pulse.walletconnect.org', W3M_API_URL: 'https://api.web3modal.org' diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 1f1e86b3d3..5b3c5ac9d0 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/core +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/common@5.0.1 + - @web3modal/wallet@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/core/package.json b/packages/core/package.json index 35ca960e73..c455c237a8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0", - "@web3modal/wallet": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/wallet": "5.0.1", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/core/src/controllers/EnsController.ts b/packages/core/src/controllers/EnsController.ts index 756c8d106b..609235a2ad 100644 --- a/packages/core/src/controllers/EnsController.ts +++ b/packages/core/src/controllers/EnsController.ts @@ -109,10 +109,6 @@ export const EnsController = { throw new Error('Address or auth connector not found') } - if (!this.isAllowedToRegisterName()) { - throw new Error('Not allowed to register name') - } - state.loading = true try { @@ -163,12 +159,5 @@ export const EnsController = { const ensError = error as BlockchainApiEnsError return ensError?.reasons?.[0]?.description || defaultError - }, - isAllowedToRegisterName() { - const emailConnector = ConnectorController.getAuthConnector() - const email = emailConnector?.provider.getEmail() || '' - const domain = email.split('@')?.[1] - - return domain && ConstantsUtil.WC_NAMES_ALLOWED_DOMAINS.includes(domain) } } diff --git a/packages/core/src/utils/RouterUtil.ts b/packages/core/src/utils/RouterUtil.ts index bf40baca62..4efacb330f 100644 --- a/packages/core/src/utils/RouterUtil.ts +++ b/packages/core/src/utils/RouterUtil.ts @@ -1,7 +1,6 @@ import { RouterController } from '../controllers/RouterController.js' import { ModalController } from '../controllers/ModalController.js' import { OptionsController } from '../controllers/OptionsController.js' -import { AccountController } from '../controllers/AccountController.js' export const RouterUtil = { goBackOrCloseModal() { @@ -22,13 +21,10 @@ export const RouterUtil = { }, navigateAfterPreferredAccountTypeSelect() { const { isSiweEnabled } = OptionsController.state - const { profileName } = AccountController.state if (isSiweEnabled) { RouterController.push('ConnectingSiwe') - } else if (profileName) { - RouterController.push('Account') } else { - RouterController.push('ChooseAccountName') + RouterController.push('Account') } } } diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 30ad1641bb..5a24d6c914 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-react@5.0.1 + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/scaffold-vue@5.0.1 + - @web3modal/polyfills@5.0.1 + - @web3modal/scaffold@5.0.1 + - @web3modal/siwe@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 35f84c59e1..c58e93274f 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,12 +45,12 @@ "dependencies": { "@coinbase/wallet-sdk": "4.0.0", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1", "valtio": "1.11.2" }, "peerDependencies": { diff --git a/packages/ethers5/CHANGELOG.md b/packages/ethers5/CHANGELOG.md index 3ee9f3763c..6280a2c568 100644 --- a/packages/ethers5/CHANGELOG.md +++ b/packages/ethers5/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers5 +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-react@5.0.1 + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/scaffold-vue@5.0.1 + - @web3modal/polyfills@5.0.1 + - @web3modal/scaffold@5.0.1 + - @web3modal/siwe@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 05eff479bb..00e9a4fb86 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,12 +45,12 @@ "dependencies": { "@coinbase/wallet-sdk": "4.0.0", "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index 6efb0171d6..127e6416cb 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/polyfills +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + ## 5.0.0 ### Major Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index 8a917ec6fc..c8af330946 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "5.0.0", + "version": "5.0.1", "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 22396025cc..a842a2b2d4 100644 --- a/packages/scaffold-react/CHANGELOG.md +++ b/packages/scaffold-react/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-react +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index 7e0d6a4dcd..d054ff2d23 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0" + "@web3modal/scaffold": "5.0.1" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-utils/CHANGELOG.md b/packages/scaffold-utils/CHANGELOG.md index e91cc155d5..b80089c35b 100644 --- a/packages/scaffold-utils/CHANGELOG.md +++ b/packages/scaffold-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/scaffold-utils +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/polyfills@5.0.1 + - @web3modal/core@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index 8664b597bf..a2aaca3aa2 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-utils", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0", - "@web3modal/polyfills": "5.0.0", + "@web3modal/core": "5.0.1", + "@web3modal/polyfills": "5.0.1", "valtio": "1.11.2" }, "keywords": [ diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index e83d6a1a24..91fdc4f254 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: '5.0.0' + VERSION: '5.0.1' } diff --git a/packages/scaffold-utils/src/PresetsUtil.ts b/packages/scaffold-utils/src/PresetsUtil.ts index 95b65a21b2..2b5d57e3d4 100644 --- a/packages/scaffold-utils/src/PresetsUtil.ts +++ b/packages/scaffold-utils/src/PresetsUtil.ts @@ -15,7 +15,7 @@ export const PresetsUtil = { EIP155NetworkImageIds: { // Ethereum - 1: '692ed6ba-e569-459a-556a-776476829e00', + 1: 'ba0ba0cd-17c6-4806-ad93-f9d174f17900', // Arbitrum 42161: '3bff954d-5cb0-47a0-9a23-d20192e74600', // Avalanche @@ -56,7 +56,7 @@ export const PresetsUtil = { 2020: 'b8101fc0-9c19-4b6f-ec65-f6dfff106e00', // Saigon Testnet (a.k.a. Ronin) 2021: 'b8101fc0-9c19-4b6f-ec65-f6dfff106e00', - // Solana chains + // Solana networks '5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp': 'a1b58899-f671-4276-6a5e-56ca5bd59700', '4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z': 'a1b58899-f671-4276-6a5e-56ca5bd59700', EtWTRABZaYq6iMfeYKouRu166VU2xqa1: 'a1b58899-f671-4276-6a5e-56ca5bd59700' diff --git a/packages/scaffold-vue/CHANGELOG.md b/packages/scaffold-vue/CHANGELOG.md index 96a44a99a6..6aaec7abc6 100644 --- a/packages/scaffold-vue/CHANGELOG.md +++ b/packages/scaffold-vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-vue +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index f959d01921..3ebbc90413 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0" + "@web3modal/scaffold": "5.0.1" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/CHANGELOG.md b/packages/scaffold/CHANGELOG.md index 4d1e0629c7..18e6daf018 100644 --- a/packages/scaffold/CHANGELOG.md +++ b/packages/scaffold/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/scaffold +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/common@5.0.1 + - @web3modal/wallet@5.0.1 + - @web3modal/core@5.0.1 + - @web3modal/siwe@5.0.1 + - @web3modal/ui@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index 5fded5d940..7a5562ef22 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,13 +16,13 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/core": "5.0.0", - "@web3modal/ui": "5.0.0", + "@web3modal/common": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/core": "5.0.1", + "@web3modal/ui": "5.0.1", "lit": "3.1.0", - "@web3modal/siwe": "5.0.0", - "@web3modal/wallet": "5.0.0" + "@web3modal/siwe": "5.0.1", + "@web3modal/wallet": "5.0.1" }, "keywords": [ "web3", diff --git a/packages/scaffold/src/views/w3m-account-settings-view/index.ts b/packages/scaffold/src/views/w3m-account-settings-view/index.ts index 5c67923631..cf7fdcb5a7 100644 --- a/packages/scaffold/src/views/w3m-account-settings-view/index.ts +++ b/packages/scaffold/src/views/w3m-account-settings-view/index.ts @@ -11,7 +11,6 @@ import { StorageUtil, ConnectorController, SendController, - EnsController, ConstantsUtil } from '@web3modal/core' import { UiHelperUtil, customElement } from '@web3modal/ui' @@ -154,8 +153,7 @@ export class W3mAccountSettingsView extends LitElement { private chooseNameButtonTemplate() { const type = StorageUtil.getConnectedConnector() const authConnector = ConnectorController.getAuthConnector() - const isAllowed = EnsController.isAllowedToRegisterName() - if (!authConnector || type !== 'AUTH' || this.profileName || !isAllowed) { + if (!authConnector || type !== 'AUTH' || this.profileName) { return null } diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index eac4d047c9..96643ec971 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/siwe +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/core@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index 90f3ecd2bc..0d6bdc31c6 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -17,8 +17,8 @@ }, "dependencies": { "@walletconnect/utils": "2.12.0", - "@web3modal/core": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", + "@web3modal/core": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", "valtio": "1.11.2", "lit": "3.1.0" }, diff --git a/packages/solana/CHANGELOG.md b/packages/solana/CHANGELOG.md index 9d9e8bf1c5..3f1867602b 100644 --- a/packages/solana/CHANGELOG.md +++ b/packages/solana/CHANGELOG.md @@ -1,5 +1,18 @@ # @web3modal/solana +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-react@5.0.1 + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/scaffold-vue@5.0.1 + - @web3modal/polyfills@5.0.1 + - @web3modal/scaffold@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/solana/package.json b/packages/solana/package.json index 2a35993a8c..1d2313f2ba 100644 --- a/packages/solana/package.json +++ b/packages/solana/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/solana", - "version": "5.0.0", + "version": "5.0.1", "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": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", "bn.js": "5.2.1", "bs58": "5.0.0" }, diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 936e8e3e41..517a779666 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/ui +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + ## 5.0.0 ### Major Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 919037a551..bca00d2e09 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -22,7 +22,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "5.0.0", + "@web3modal/common": "5.0.1", "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 6efa6e369e..3ffbe4f53a 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/wagmi +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/scaffold-react@5.0.1 + - @web3modal/scaffold-utils@5.0.1 + - @web3modal/scaffold-vue@5.0.1 + - @web3modal/polyfills@5.0.1 + - @web3modal/scaffold@5.0.1 + - @web3modal/siwe@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index c21544df1f..b31fd13d6e 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -52,12 +52,12 @@ }, "dependencies": { "@walletconnect/ethereum-provider": "2.13.0", - "@web3modal/polyfills": "5.0.0", - "@web3modal/scaffold": "5.0.0", - "@web3modal/scaffold-react": "5.0.0", - "@web3modal/scaffold-utils": "5.0.0", - "@web3modal/scaffold-vue": "5.0.0", - "@web3modal/siwe": "5.0.0" + "@web3modal/polyfills": "5.0.1", + "@web3modal/scaffold": "5.0.1", + "@web3modal/scaffold-react": "5.0.1", + "@web3modal/scaffold-utils": "5.0.1", + "@web3modal/scaffold-vue": "5.0.1", + "@web3modal/siwe": "5.0.1" }, "devDependencies": { "@wagmi/connectors": "5.0.8", diff --git a/packages/wagmi/src/client.ts b/packages/wagmi/src/client.ts index b119410c41..51cf3ff669 100644 --- a/packages/wagmi/src/client.ts +++ b/packages/wagmi/src/client.ts @@ -449,7 +449,6 @@ export class Web3Modal extends Web3ModalScaffold { this.setAddressExplorerUrl(undefined) } if (this.hasSyncedConnectedAccount) { - await this.syncProfile(address, chainId) await this.syncBalance(address, chainId) } } @@ -710,13 +709,7 @@ export class Web3Modal extends Web3ModalScaffold { if (!address) { return } - const chainId = NetworkUtil.caipNetworkIdToNumber(this.getCaipNetwork()?.id) - this.syncAccount({ - address: address as `0x${string}`, - chainId, - isConnected: true, - connector - }).then(() => this.setPreferredAccountType(type as W3mFrameTypes.AccountType)) + this.setPreferredAccountType(type as W3mFrameTypes.AccountType) }) } } diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index d051842a29..6a8e1dd5ce 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/wallet +## 5.0.1 + +### Patch Changes + +- fix: remove walletconnect restriction on names + +- Updated dependencies []: + - @web3modal/polyfills@5.0.1 + ## 5.0.0 ### Major Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 3a9e646a06..8a30581c43 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "5.0.0", + "version": "5.0.1", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,7 +17,7 @@ }, "dependencies": { "zod": "3.22.4", - "@web3modal/polyfills": "5.0.0" + "@web3modal/polyfills": "5.0.1" }, "keywords": [ "web3",