@exodus/ethereum-api 8.54.1 → 8.55.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.55.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.54.1...@exodus/ethereum-api@8.55.0) (2025-11-03)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: bump @exodus/safe-string@1.2.1 (#6775)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+
18
+ * fix: enable `update-nonce` to work for `unsignedTx`s that lack a `transactionBuffer` (#6832)
19
+
20
+
21
+
6
22
  ## [8.54.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.54.0...@exodus/ethereum-api@8.54.1) (2025-10-24)
7
23
 
8
24
  **Note:** Version bump only for package @exodus/ethereum-api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.54.1",
3
+ "version": "8.55.0",
4
4
  "description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Ethereum and EVM-based blockchains",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -29,13 +29,13 @@
29
29
  "@exodus/bip44-constants": "^195.0.0",
30
30
  "@exodus/crypto": "^1.0.0-rc.26",
31
31
  "@exodus/currency": "^6.0.1",
32
- "@exodus/ethereum-lib": "^5.18.3",
32
+ "@exodus/ethereum-lib": "^5.18.5",
33
33
  "@exodus/ethereum-meta": "^2.9.1",
34
34
  "@exodus/ethereumholesky-meta": "^2.0.5",
35
35
  "@exodus/ethereumjs": "^1.8.0",
36
36
  "@exodus/fetch": "^1.3.0",
37
37
  "@exodus/models": "^12.13.0",
38
- "@exodus/safe-string": "^1.2.0",
38
+ "@exodus/safe-string": "^1.2.1",
39
39
  "@exodus/simple-retry": "^0.0.6",
40
40
  "@exodus/solidity-contract": "^1.3.0",
41
41
  "@exodus/web3-ethereum-utils": "^4.5.1",
@@ -67,5 +67,5 @@
67
67
  "type": "git",
68
68
  "url": "git+https://github.com/ExodusMovement/assets.git"
69
69
  },
70
- "gitHead": "9d2c245deb27cf3ce56eef0d7ad5c0ab8bd4bc02"
70
+ "gitHead": "5cccc79593748fc6e266e912fcac69498be93c57"
71
71
  }
@@ -37,6 +37,10 @@ const txSendFactory = ({ assetClientInterface, createTx }) => {
37
37
  })
38
38
  }
39
39
 
40
+ // NOTE: An `unsignedTx.txData.transactionBuffer` may be optional
41
+ // in `unsignedTx`, since a `providedUnsignedTx` may be
42
+ // truthy but composed only of `legacyParams`:
43
+ // https://github.com/ExodusMovement/assets/blob/4e3e873e3f5bfa8fce36f60be7d95a3dba9546e4/ethereum/ethereum-lib/src/unsigned-tx/parse-unsigned-tx.js#L104C5-L104C6
40
44
  const { unsignedTx } = await resolveUnsignedTx()
41
45
 
42
46
  const parsedTx = parseUnsignedTx({ asset, unsignedTx })
@@ -96,10 +100,11 @@ const txSendFactory = ({ assetClientInterface, createTx }) => {
96
100
  forceFromNode: true,
97
101
  })
98
102
 
103
+ // TODO: should return an unsignedTx -> i.e. completely replicate the transaction
99
104
  unsignedTx.txData.transactionBuffer = updateNonce({
100
105
  chainId: baseAsset.chainId,
101
- transactionBuffer: unsignedTx.txData.transactionBuffer,
102
106
  newNonce,
107
+ unsignedTx,
103
108
  })
104
109
  ;({ txId, rawTx } = await signTx({ asset, unsignedTx, walletAccount }))
105
110