Skip to content

Commit

Permalink
v12.10.2: fix metamask walletconnect v2
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Mar 25, 2024
1 parent 7a87576 commit 6a87610
Show file tree
Hide file tree
Showing 20 changed files with 607 additions and 149 deletions.
4 changes: 2 additions & 2 deletions dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-token-image@5"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/coinbase-wallet-sdk@3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/walletconnect-v1@1"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/walletconnect-v2@2"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-wallets@16.5.1"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/walletconnect-v2@2.11.3"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-wallets@16.5.2"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-assets@7"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-exchanges@13"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-payments@13"></script>
Expand Down
56 changes: 28 additions & 28 deletions dist/esm/index.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ var allWallets = [{
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ var allWallets = [{
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ var allWallets = [{
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions dist/umd/index.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@
"name": "MetaMask",
"extension": "MetaMask",
"desktop": {
"qr": "WalletConnectV1"
"qr": "WalletConnectV2"
},
"mobile": {
"ios": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
},
"android": {
"native": "metamask:",
"universal": "https://metamask.app.link",
"qr": "WalletConnectV1",
"qr": "WalletConnectV2",
"connect": "WalletConnectV2"
}
},
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions package.evm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-evm",
"moduleName": "DePayWidgets",
"version": "12.10.1",
"version": "12.10.2",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand All @@ -28,14 +28,14 @@
"@depay/react-shadow-dom": "^5.0.5",
"@depay/react-token-image-evm": "^5.0.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
"@depay/walletconnect-v2": "^2.11.3",
"@depay/web3-assets-evm": "^7.3.1",
"@depay/web3-blockchains": "^9.3.4",
"@depay/web3-client-evm": "^10.18.4",
"@depay/web3-exchanges-evm": "^13.8.1",
"@depay/web3-payments-evm": "^13.8.0",
"@depay/web3-tokens-evm": "^10.3.0",
"@depay/web3-wallets-evm": "^16.5.1",
"@depay/web3-wallets-evm": "^16.5.2",
"@tanstack/react-virtual": "^3.0.0-beta.54",
"@uiw/copy-to-clipboard": "^1.0.14",
"decimal.js": "^10.4.3",
Expand All @@ -46,5 +46,8 @@
"ethers": "^5.7.1",
"react": "^18",
"react-dom": "^18"
},
"resolutions": {
"clipboardy": "3.0.0"
}
}
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets",
"moduleName": "DePayWidgets",
"version": "12.10.1",
"version": "12.10.2",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -42,14 +42,14 @@
"@depay/react-token-image": "^5.0.0",
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
"@depay/walletconnect-v2": "^2.11.3",
"@depay/web3-assets": "^7.3.1",
"@depay/web3-blockchains": "^9.3.4",
"@depay/web3-client": "^10.18.4",
"@depay/web3-exchanges": "^13.8.1",
"@depay/web3-payments": "^13.8.0",
"@depay/web3-tokens": "^10.3.0",
"@depay/web3-wallets": "^16.5.1",
"@depay/web3-wallets": "^16.5.2",
"@tanstack/react-virtual": "^3.0.0-beta.54",
"@uiw/copy-to-clipboard": "^1.0.14",
"decimal.js": "^10.4.3",
Expand Down Expand Up @@ -110,5 +110,8 @@
"typescript": "^5.0.2",
"util": "0.10.0",
"webpack": "^5.73.0"
},
"resolutions": {
"clipboardy": "3.0.0"
}
}
9 changes: 6 additions & 3 deletions package.solana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-solana",
"moduleName": "DePayWidgets",
"version": "12.10.1",
"version": "12.10.2",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -29,14 +29,14 @@
"@depay/react-token-image-solana": "^5.0.0",
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
"@depay/walletconnect-v2": "^2.11.3",
"@depay/web3-assets-solana": "^7.3.1",
"@depay/web3-blockchains": "^9.3.4",
"@depay/web3-client-solana": "^10.18.4",
"@depay/web3-exchanges-solana": "^13.8.1",
"@depay/web3-payments-solana": "^13.8.0",
"@depay/web3-tokens-solana": "^10.3.0",
"@depay/web3-wallets-solana": "^16.5.1",
"@depay/web3-wallets-solana": "^16.5.2",
"@tanstack/react-virtual": "^3.0.0-beta.54",
"@uiw/copy-to-clipboard": "^1.0.14",
"decimal.js": "^10.4.3",
Expand All @@ -47,5 +47,8 @@
"ethers": "^5.7.1",
"react": "^18",
"react-dom": "^18"
},
"resolutions": {
"clipboardy": "3.0.0"
}
}
6 changes: 3 additions & 3 deletions src/helpers/allWallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ export default [
{
"name": "MetaMask",
"extension": "MetaMask",
"desktop": { "qr": "WalletConnectV1" },
"desktop": { "qr": "WalletConnectV2" },
"mobile": {
"ios": { "native": "metamask:", "universal": "https://metamask.app.link", "qr": "WalletConnectV1", "connect":"WalletConnectV2" },
"android": { "native": "metamask:", "universal": "https://metamask.app.link", "qr": "WalletConnectV1", "connect":"WalletConnectV2" },
"ios": { "native": "metamask:", "universal": "https://metamask.app.link", "qr": "WalletConnectV2", "connect":"WalletConnectV2" },
"android": { "native": "metamask:", "universal": "https://metamask.app.link", "qr": "WalletConnectV2", "connect":"WalletConnectV2" },
},
"logo": wallets.MetaMask?.info?.logo,
"blockchains": [...supported.evm]
Expand Down
Loading

0 comments on commit 6a87610

Please sign in to comment.