@exodus/ethereum-api 8.70.1 → 8.70.2
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,16 @@
|
|
|
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.70.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.70.1...@exodus/ethereum-api@8.70.2) (2026-03-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: use the monitor server for pending EVM tx drop checks (#7675)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [8.70.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.70.0...@exodus/ethereum-api@8.70.1) (2026-03-25)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.70.
|
|
3
|
+
"version": "8.70.2",
|
|
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",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"type": "git",
|
|
70
70
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "959153b1ea9f3fc33398dd5a167c2c29c8af2df1"
|
|
73
73
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -281,7 +281,7 @@ export const createAssetFactory = ({
|
|
|
281
281
|
createHistoryMonitor,
|
|
282
282
|
createToken,
|
|
283
283
|
createTx,
|
|
284
|
-
createUnsignedTx,
|
|
284
|
+
createUnsignedTx, // @deprecated use createTx instead
|
|
285
285
|
customFees: createCustomFeesApi({ baseAsset: asset }),
|
|
286
286
|
defaultAddressPath,
|
|
287
287
|
features,
|
|
@@ -26,16 +26,14 @@ function getTxStatus(rpcTx) {
|
|
|
26
26
|
* Uses a single batch RPC call for efficiency and graceful error handling.
|
|
27
27
|
*
|
|
28
28
|
* @param {Object} params
|
|
29
|
-
* @param {Object} params.
|
|
29
|
+
* @param {Object} params.server - RPC server used to verify pending transactions
|
|
30
30
|
* @param {Object} params.logger - Logger instance for info/debug output
|
|
31
31
|
* @param {string[]} params.txIds - Array of transaction IDs/hashes to verify
|
|
32
32
|
* @returns {Promise<Object<string, {status: 'confirmed' | 'pending' | 'dropped', blockNumber?: number}>>}
|
|
33
33
|
*/
|
|
34
|
-
export default async function verifyRpcPendingTxStatusBatch({
|
|
34
|
+
export default async function verifyRpcPendingTxStatusBatch({ server, logger, txIds }) {
|
|
35
35
|
if (txIds.length === 0) return {}
|
|
36
36
|
|
|
37
|
-
const server = baseAsset.server
|
|
38
|
-
|
|
39
37
|
// Build batch request
|
|
40
38
|
const requests = txIds.map((txId) => server.getTransactionByHashRequest(txId))
|
|
41
39
|
|