@exodus/web3-ethereum 11.0.0 → 11.1.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.
@@ -147,11 +147,15 @@ export function exposeHandlers(rpc, deps) {
147
147
  baseAssetName: asset.baseAssetName,
148
148
  walletAccount,
149
149
  unsignedTx: {
150
- txData: { transaction: { ...modifiedTransaction, chainId } },
150
+ txData: {
151
+ ...modifiedTransaction,
152
+ gasLimit: modifiedTransaction.gas,
153
+ chainId: Number.parseInt(chainId),
154
+ },
151
155
  txMeta: { eip1559Enabled: isEIP1559Enabled },
152
156
  },
153
157
  });
154
- onTransactionsSigned(network, [txId]);
158
+ onTransactionsSigned(network, ['0x' + txId]);
155
159
  return `0x${Buffer.from(signedTransaction).toString('hex')}`;
156
160
  }
157
161
  async function approveAndSignMessage(message) {
package/lib/types.d.ts CHANGED
@@ -66,9 +66,7 @@ export interface WalletStandardDeps extends WalletStandardCommonDeps {
66
66
  provider: EthereumProvider;
67
67
  }
68
68
  export interface EVMUnsignedTransaction {
69
- txData: {
70
- transaction: EthTransactionParams;
71
- };
69
+ txData: EthTransactionParams;
72
70
  txMeta: {
73
71
  eip1559Enabled: boolean;
74
72
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exodus/web3-ethereum",
3
3
  "description": "Apps connectivity library for EVM-compatible chains.",
4
- "version": "11.0.0",
4
+ "version": "11.1.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "module": "lib/index.js",
@@ -33,10 +33,10 @@
33
33
  "@exodus/currency": "^2.1.2",
34
34
  "@exodus/ethereum-api": "^6.3.33",
35
35
  "@exodus/web3-constants": "^1.29.0",
36
- "@exodus/web3-ethereum-utils": "^3.17.0",
37
- "@exodus/web3-provider": "^3.8.0",
38
- "@exodus/web3-rpc-handlers": "^2.14.0",
39
- "@exodus/web3-utils": "^1.38.0",
36
+ "@exodus/web3-ethereum-utils": "^3.18.0",
37
+ "@exodus/web3-provider": "^3.9.0",
38
+ "@exodus/web3-rpc-handlers": "^2.15.0",
39
+ "@exodus/web3-utils": "^1.39.0",
40
40
  "bn.js": "^5.2.0",
41
41
  "eth-rpc-errors": "^4.0.3"
42
42
  },
@@ -44,12 +44,12 @@
44
44
  "@exodus/assets": "^8.0.95",
45
45
  "@exodus/json-rpc": "^1.11.0",
46
46
  "@exodus/schemasafe": "^1.0.0",
47
- "@exodus/web3-types": "^1.44.0",
47
+ "@exodus/web3-types": "^1.45.0",
48
48
  "@exodus/web3-validation": "^1.37.0",
49
49
  "@wallet-standard/base": "^1.0.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@exodus/assets": "^8.0.95"
53
53
  },
54
- "gitHead": "273234a09070d3d7ce08d77cace39695fc27b2c8"
54
+ "gitHead": "f7bc0aaecb18b659a85b6229b49a491886f0b570"
55
55
  }