Skip to content

Commit

Permalink
release: v5.0.2 (#2439)
Browse files Browse the repository at this point in the history
Co-authored-by: Enes <enesozturk.d@gmail.com>
Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Sven <38101365+svenvoskamp@users.noreply.github.com>
Co-authored-by: Luka Isailovic <lukaisailovic@gmail.com>
  • Loading branch information
5 people authored Jun 18, 2024
1 parent 3a2531b commit f1261de
Show file tree
Hide file tree
Showing 73 changed files with 632 additions and 210 deletions.
9 changes: 9 additions & 0 deletions apps/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @apps/demo

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/demo",
"version": "5.0.1",
"version": "5.0.2",
"private": true,
"scripts": {
"dev:demo": "next dev",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"@radix-ui/react-switch": "1.0.3",
"@tanstack/react-query": "5.24.8",
"@web3modal/wagmi": "5.0.1",
"@web3modal/wagmi": "5.0.2",
"clsx": "2.1.0",
"framer-motion": "11.0.8",
"next": "14.2.3",
Expand Down
10 changes: 10 additions & 0 deletions apps/gallery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @apps/gallery

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/common@5.0.2
- @web3modal/ui@5.0.2

## 5.0.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/gallery",
"version": "5.0.1",
"version": "5.0.2",
"private": true,
"main": "index.js",
"scripts": {
Expand All @@ -9,8 +9,8 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@web3modal/common": "5.0.1",
"@web3modal/ui": "5.0.1",
"@web3modal/common": "5.0.2",
"@web3modal/ui": "5.0.2",
"lit": "3.1.0",
"storybook": "7.6.7"
},
Expand Down
2 changes: 2 additions & 0 deletions apps/laboratory/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ MAILSAC_API_KEY=""
NEXT_PUBLIC_SECURE_SITE_SDK_URL=""
SOCIAL_TEST_EMAIL=""
SOCIAL_TEST_PASSWORD=""
NEXT_PUBLIC_DEFAULT_LOG_LEVEL=""

12 changes: 12 additions & 0 deletions apps/laboratory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @apps/laboratory

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/ethers@5.0.2
- @web3modal/siwe@5.0.2
- @web3modal/solana@5.0.2
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/laboratory",
"version": "5.0.1",
"version": "5.0.2",
"private": true,
"scripts": {
"dev:laboratory": "next dev",
Expand Down Expand Up @@ -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.1",
"@web3modal/siwe": "5.0.1",
"@web3modal/solana": "5.0.1",
"@web3modal/wagmi": "5.0.1",
"@web3modal/ethers": "5.0.2",
"@web3modal/siwe": "5.0.2",
"@web3modal/solana": "5.0.2",
"@web3modal/wagmi": "5.0.2",
"ethers": "6.13.0",
"framer-motion": "10.17.9",
"next": "14.2.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function WagmiModalInfo() {

async function getClientId() {
if (connector?.type === 'walletConnect') {
const provider = await connector?.getProvider()
const provider = await connector?.getProvider?.()
const ethereumProvider = provider as EthereumProvider

return ethereumProvider?.signer?.client?.core?.crypto?.getClientId()
Expand Down
18 changes: 18 additions & 0 deletions apps/laboratory/tests/siwe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ testMWSiwe(
await modalValidator.expectUnauthenticated()
}
)

testMWSiwe(
'it should require re-authentication when switching networks',
async ({ modalPage, walletPage, modalValidator, walletValidator }) => {
const uri = await modalPage.getConnectUri()
await walletPage.connectWithUri(uri)
await walletPage.handleSessionProposal(DEFAULT_SESSION_PARAMS)
await modalValidator.expectAuthenticated()
await modalValidator.expectConnected()
await walletValidator.expectConnected()
await modalPage.switchNetwork('Polygon')

// Re-authentication required
await modalValidator.expectUnauthenticated()
await modalPage.closeModal()
await modalValidator.expectDisconnected()
}
)
9 changes: 9 additions & 0 deletions examples/html-ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/html-ethers5

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/ethers5@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/html-ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/html-ethers5",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3011",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers5": "5.0.1",
"@web3modal/ethers5": "5.0.2",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions examples/html-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/html-wagmi

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/html-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@examples/html-wagmi",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3001",
"build:examples": "vite build"
},
"dependencies": {
"@wagmi/connectors": "5.0.8",
"@wagmi/core": "2.10.5",
"@web3modal/wagmi": "5.0.1",
"@web3modal/wagmi": "5.0.2",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand Down
9 changes: 9 additions & 0 deletions examples/next-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/next-wagmi

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/next-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-wagmi",
"version": "5.0.1",
"version": "5.0.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -10,7 +10,7 @@
},
"dependencies": {
"@tanstack/react-query": "5.24.8",
"@web3modal/wagmi": "5.0.1",
"@web3modal/wagmi": "5.0.2",
"next": "14.2.3",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
9 changes: 9 additions & 0 deletions examples/react-ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-ethers5

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/ethers@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/react-ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/react-ethers",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3012",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers": "5.0.1",
"@web3modal/ethers": "5.0.2",
"ethers": "6.9.0",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
9 changes: 9 additions & 0 deletions examples/react-ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-ethers5

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/ethers5@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/react-ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/react-ethers5",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3012",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers5": "5.0.1",
"@web3modal/ethers5": "5.0.2",
"ethers": "5.7.2",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
9 changes: 9 additions & 0 deletions examples/react-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-wagmi

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/react-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@examples/react-wagmi",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3002",
"build:examples": "vite build"
},
"dependencies": {
"@tanstack/react-query": "5.24.8",
"@web3modal/wagmi": "5.0.1",
"@web3modal/wagmi": "5.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"vite": "5.2.11",
Expand Down
9 changes: 9 additions & 0 deletions examples/vue-ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/vue-ethers5

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/ethers5@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/vue-ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/vue-ethers5",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3013",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers5": "5.0.1",
"@web3modal/ethers5": "5.0.2",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions examples/vue-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/vue-wagmi

## 5.0.2

### Patch Changes

- fix: siwe signOutOnNetwork change issue. fix: wallets filtered by rdns matched from explorer api. fix: solana network id issue

- Updated dependencies []:
- @web3modal/wagmi@5.0.2

## 5.0.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/vue-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@examples/vue-wagmi",
"private": true,
"version": "5.0.1",
"version": "5.0.2",
"scripts": {
"dev:example": "vite --port 3003",
"build:examples": "vite build"
},
"dependencies": {
"@wagmi/connectors": "5.0.8",
"@wagmi/core": "2.10.5",
"@web3modal/wagmi": "5.0.1"
"@web3modal/wagmi": "5.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "5.0.2"
Expand Down
Loading

0 comments on commit f1261de

Please sign in to comment.