@depay/web3-wallets-evm 16.2.9 → 16.2.10

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.
@@ -1190,7 +1190,7 @@ const submitContractInteraction$1 = async ({ transaction, wallet })=>{
1190
1190
  params: [{
1191
1191
  from: transaction.from,
1192
1192
  to: transaction.to,
1193
- value: _optionalChain$3([transaction, 'access', _3 => _3.value, 'optionalAccess', _4 => _4.toString, 'call', _5 => _5()]),
1193
+ value: transaction.value ? ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1194
1194
  data: await transaction.getData(),
1195
1195
  gas: gas.toHexString(),
1196
1196
  gasPrice: gasPrice.toHexString(),
@@ -1213,7 +1213,7 @@ const submitSimpleTransfer$1 = async ({ transaction, wallet })=>{
1213
1213
  params: [{
1214
1214
  from: transaction.from,
1215
1215
  to: transaction.to,
1216
- value: _optionalChain$3([transaction, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.toString, 'call', _8 => _8()]),
1216
+ value: transaction.value ? ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1217
1217
  gas: gas.toHexString(),
1218
1218
  gasPrice: gasPrice.toHexString(),
1219
1219
  nonce: transaction.nonce
package/dist/esm/index.js CHANGED
@@ -1662,7 +1662,7 @@ const submitContractInteraction$1 = async ({ transaction, wallet })=>{
1662
1662
  params: [{
1663
1663
  from: transaction.from,
1664
1664
  to: transaction.to,
1665
- value: _optionalChain$3([transaction, 'access', _3 => _3.value, 'optionalAccess', _4 => _4.toString, 'call', _5 => _5()]),
1665
+ value: transaction.value ? ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1666
1666
  data: await transaction.getData(),
1667
1667
  gas: gas.toHexString(),
1668
1668
  gasPrice: gasPrice.toHexString(),
@@ -1685,7 +1685,7 @@ const submitSimpleTransfer$1 = async ({ transaction, wallet })=>{
1685
1685
  params: [{
1686
1686
  from: transaction.from,
1687
1687
  to: transaction.to,
1688
- value: _optionalChain$3([transaction, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.toString, 'call', _8 => _8()]),
1688
+ value: transaction.value ? ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1689
1689
  gas: gas.toHexString(),
1690
1690
  gasPrice: gasPrice.toHexString(),
1691
1691
  nonce: transaction.nonce
@@ -1193,7 +1193,7 @@
1193
1193
  params: [{
1194
1194
  from: transaction.from,
1195
1195
  to: transaction.to,
1196
- value: _optionalChain$3([transaction, 'access', _3 => _3.value, 'optionalAccess', _4 => _4.toString, 'call', _5 => _5()]),
1196
+ value: transaction.value ? ethers.ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1197
1197
  data: await transaction.getData(),
1198
1198
  gas: gas.toHexString(),
1199
1199
  gasPrice: gasPrice.toHexString(),
@@ -1216,7 +1216,7 @@
1216
1216
  params: [{
1217
1217
  from: transaction.from,
1218
1218
  to: transaction.to,
1219
- value: _optionalChain$3([transaction, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.toString, 'call', _8 => _8()]),
1219
+ value: transaction.value ? ethers.ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1220
1220
  gas: gas.toHexString(),
1221
1221
  gasPrice: gasPrice.toHexString(),
1222
1222
  nonce: transaction.nonce
package/dist/umd/index.js CHANGED
@@ -1664,7 +1664,7 @@
1664
1664
  params: [{
1665
1665
  from: transaction.from,
1666
1666
  to: transaction.to,
1667
- value: _optionalChain$3([transaction, 'access', _3 => _3.value, 'optionalAccess', _4 => _4.toString, 'call', _5 => _5()]),
1667
+ value: transaction.value ? ethers.ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1668
1668
  data: await transaction.getData(),
1669
1669
  gas: gas.toHexString(),
1670
1670
  gasPrice: gasPrice.toHexString(),
@@ -1687,7 +1687,7 @@
1687
1687
  params: [{
1688
1688
  from: transaction.from,
1689
1689
  to: transaction.to,
1690
- value: _optionalChain$3([transaction, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.toString, 'call', _8 => _8()]),
1690
+ value: transaction.value ? ethers.ethers.BigNumber.from(transaction.value.toString()).toHexString() : undefined,
1691
1691
  gas: gas.toHexString(),
1692
1692
  gasPrice: gasPrice.toHexString(),
1693
1693
  nonce: transaction.nonce
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/web3-wallets-evm",
3
3
  "moduleName": "Web3Wallets",
4
- "version": "16.2.9",
4
+ "version": "16.2.10",
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",