@depay/web3-wallets-evm 16.1.0 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -40,6 +40,7 @@ This library supports the following blockchains:
40
40
  - [Avalanche](https://www.avax.network)
41
41
  - [Gnosis](https://gnosis.io)
42
42
  - [Optimism](https://www.optimism.io)
43
+ - [Base](https://base.org)
43
44
 
44
45
  This library supports most crypto wallets:
45
46
 
@@ -42655,8 +42655,8 @@ const submitInstructions = async ({ transaction, wallet })=> {
42655
42655
  return wallet._sendTransaction(transactionV0)
42656
42656
  };
42657
42657
 
42658
- let supported$2 = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
42659
- supported$2.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
42658
+ let supported$2 = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
42659
+ supported$2.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
42660
42660
  supported$2.solana = [];
42661
42661
 
42662
42662
  function _optionalChain$l(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -43210,8 +43210,8 @@ var Solana = {
43210
43210
  setProvider: setProvider$1,
43211
43211
  };
43212
43212
 
43213
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
43214
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
43213
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
43214
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
43215
43215
  supported$1.solana = ['solana'];
43216
43216
 
43217
43217
  function _optionalChain$1$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -44882,7 +44882,7 @@ const CONFIGURATIONS = {
44882
44882
  ],
44883
44883
  requiredNamespaces: {
44884
44884
  eip155: {
44885
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44885
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44886
44886
  }
44887
44887
  },
44888
44888
  optionalNamespaces: {},
@@ -44897,7 +44897,7 @@ const CONFIGURATIONS = {
44897
44897
  ],
44898
44898
  requiredNamespaces: {
44899
44899
  eip155: {
44900
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44900
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44901
44901
  }
44902
44902
  },
44903
44903
  optionalNamespaces: {},
@@ -44912,7 +44912,7 @@ const CONFIGURATIONS = {
44912
44912
  ],
44913
44913
  requiredNamespaces: {
44914
44914
  eip155: {
44915
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44915
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
44916
44916
  }
44917
44917
  },
44918
44918
  optionalNamespaces: {},
package/dist/esm/index.js CHANGED
@@ -259,8 +259,8 @@ const submitInstructions = async ({ transaction, wallet })=> {
259
259
  return wallet._sendTransaction(transactionV0)
260
260
  };
261
261
 
262
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
263
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
262
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
263
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
264
264
  supported$1.solana = ['solana'];
265
265
 
266
266
  function _optionalChain$l(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -1652,7 +1652,7 @@ const CONFIGURATIONS = {
1652
1652
  ],
1653
1653
  requiredNamespaces: {
1654
1654
  eip155: {
1655
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1655
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1656
1656
  }
1657
1657
  },
1658
1658
  optionalNamespaces: {},
@@ -1667,7 +1667,7 @@ const CONFIGURATIONS = {
1667
1667
  ],
1668
1668
  requiredNamespaces: {
1669
1669
  eip155: {
1670
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1670
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1671
1671
  }
1672
1672
  },
1673
1673
  optionalNamespaces: {},
@@ -1682,7 +1682,7 @@ const CONFIGURATIONS = {
1682
1682
  ],
1683
1683
  requiredNamespaces: {
1684
1684
  eip155: {
1685
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1685
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
1686
1686
  }
1687
1687
  },
1688
1688
  optionalNamespaces: {},
@@ -814,8 +814,8 @@ var Solana = {
814
814
  setProvider: setProvider$1,
815
815
  };
816
816
 
817
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
818
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
817
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
818
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
819
819
  supported$1.solana = ['solana'];
820
820
 
821
821
  function _optionalChain$1$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -2488,7 +2488,7 @@ const CONFIGURATIONS = {
2488
2488
  ],
2489
2489
  requiredNamespaces: {
2490
2490
  eip155: {
2491
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2491
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2492
2492
  }
2493
2493
  },
2494
2494
  optionalNamespaces: {},
@@ -2503,7 +2503,7 @@ const CONFIGURATIONS = {
2503
2503
  ],
2504
2504
  requiredNamespaces: {
2505
2505
  eip155: {
2506
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2506
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2507
2507
  }
2508
2508
  },
2509
2509
  optionalNamespaces: {},
@@ -2518,7 +2518,7 @@ const CONFIGURATIONS = {
2518
2518
  ],
2519
2519
  requiredNamespaces: {
2520
2520
  eip155: {
2521
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2521
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains[blockchainName].networkId}`)
2522
2522
  }
2523
2523
  },
2524
2524
  optionalNamespaces: {},
@@ -42658,8 +42658,8 @@
42658
42658
  return wallet._sendTransaction(transactionV0)
42659
42659
  };
42660
42660
 
42661
- let supported$2 = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
42662
- supported$2.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
42661
+ let supported$2 = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
42662
+ supported$2.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
42663
42663
  supported$2.solana = [];
42664
42664
 
42665
42665
  function _optionalChain$l(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -43213,8 +43213,8 @@
43213
43213
  setProvider: setProvider$1,
43214
43214
  };
43215
43215
 
43216
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
43217
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
43216
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
43217
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
43218
43218
  supported$1.solana = ['solana'];
43219
43219
 
43220
43220
  function _optionalChain$1$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -44885,7 +44885,7 @@
44885
44885
  ],
44886
44886
  requiredNamespaces: {
44887
44887
  eip155: {
44888
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44888
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44889
44889
  }
44890
44890
  },
44891
44891
  optionalNamespaces: {},
@@ -44900,7 +44900,7 @@
44900
44900
  ],
44901
44901
  requiredNamespaces: {
44902
44902
  eip155: {
44903
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44903
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44904
44904
  }
44905
44905
  },
44906
44906
  optionalNamespaces: {},
@@ -44915,7 +44915,7 @@
44915
44915
  ],
44916
44916
  requiredNamespaces: {
44917
44917
  eip155: {
44918
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44918
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
44919
44919
  }
44920
44920
  },
44921
44921
  optionalNamespaces: {},
package/dist/umd/index.js CHANGED
@@ -261,8 +261,8 @@
261
261
  return wallet._sendTransaction(transactionV0)
262
262
  };
263
263
 
264
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
265
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
264
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
265
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
266
266
  supported$1.solana = ['solana'];
267
267
 
268
268
  function _optionalChain$l(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -1654,7 +1654,7 @@
1654
1654
  ],
1655
1655
  requiredNamespaces: {
1656
1656
  eip155: {
1657
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1657
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1658
1658
  }
1659
1659
  },
1660
1660
  optionalNamespaces: {},
@@ -1669,7 +1669,7 @@
1669
1669
  ],
1670
1670
  requiredNamespaces: {
1671
1671
  eip155: {
1672
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1672
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1673
1673
  }
1674
1674
  },
1675
1675
  optionalNamespaces: {},
@@ -1684,7 +1684,7 @@
1684
1684
  ],
1685
1685
  requiredNamespaces: {
1686
1686
  eip155: {
1687
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1687
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
1688
1688
  }
1689
1689
  },
1690
1690
  optionalNamespaces: {},
@@ -816,8 +816,8 @@
816
816
  setProvider: setProvider$1,
817
817
  };
818
818
 
819
- let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
820
- supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism'];
819
+ let supported$1 = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
820
+ supported$1.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base'];
821
821
  supported$1.solana = ['solana'];
822
822
 
823
823
  function _optionalChain$1$1(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
@@ -2490,7 +2490,7 @@
2490
2490
  ],
2491
2491
  requiredNamespaces: {
2492
2492
  eip155: {
2493
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2493
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2494
2494
  }
2495
2495
  },
2496
2496
  optionalNamespaces: {},
@@ -2505,7 +2505,7 @@
2505
2505
  ],
2506
2506
  requiredNamespaces: {
2507
2507
  eip155: {
2508
- chains: ['ethereum', 'bsc', 'polygon', 'arbitrum'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2508
+ chains: ['ethereum', 'bsc', 'polygon', 'arbitrum', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2509
2509
  }
2510
2510
  },
2511
2511
  optionalNamespaces: {},
@@ -2520,7 +2520,7 @@
2520
2520
  ],
2521
2521
  requiredNamespaces: {
2522
2522
  eip155: {
2523
- chains: ['ethereum', 'polygon', 'arbitrum', 'optimism'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2523
+ chains: ['ethereum', 'polygon', 'arbitrum', 'optimism', 'base'].map((blockchainName)=>`eip155:${Blockchains__default['default'][blockchainName].networkId}`)
2524
2524
  }
2525
2525
  },
2526
2526
  optionalNamespaces: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/web3-wallets-evm",
3
3
  "moduleName": "Web3Wallets",
4
- "version": "16.1.0",
4
+ "version": "16.2.0",
5
5
  "description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
6
6
  "main": "dist/umd/index.evm.js",
7
7
  "module": "dist/esm/index.evm.js",
@@ -27,8 +27,8 @@
27
27
  "@depay/coinbase-wallet-sdk": "3.6.4",
28
28
  "@depay/walletconnect-v1": "^1.8.0",
29
29
  "@depay/walletconnect-v2": "^2.9.2",
30
- "@depay/web3-blockchains": "^9.0.2",
31
- "@depay/web3-client-evm": "^10.17.0",
30
+ "@depay/web3-blockchains": "^9.1.4",
31
+ "@depay/web3-client-evm": "^10.18.0",
32
32
  "ethers": "^5.7.1"
33
33
  },
34
34
  "engines": {