@exodus/ethereum-lib 5.21.2 → 5.22.1

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,24 @@
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
+ ## [5.22.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.22.0...@exodus/ethereum-lib@5.22.1) (2026-03-26)
7
+
8
+ **Note:** Version bump only for package @exodus/ethereum-lib
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.22.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.21.2...@exodus/ethereum-lib@5.22.0) (2026-03-12)
15
+
16
+
17
+ ### Features
18
+
19
+
20
+ * feat: persist security checks in account state and formalize asset.api.securityChecks API (#7537)
21
+
22
+
23
+
6
24
  ## [5.21.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-lib@5.21.1...@exodus/ethereum-lib@5.21.2) (2026-03-09)
7
25
 
8
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "5.21.2",
3
+ "version": "5.22.1",
4
4
  "description": "Ethereum utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -27,7 +27,7 @@
27
27
  "@exodus/currency": "^6.0.1",
28
28
  "@exodus/ethereumjs": "^1.6.0",
29
29
  "@exodus/key-utils": "^3.7.0",
30
- "@exodus/models": "^12.13.0",
30
+ "@exodus/models": "^13.0.0",
31
31
  "@exodus/solidity-contract": "^1.1.3",
32
32
  "base-x": "^3.0.2",
33
33
  "lodash": "^4.17.15",
@@ -51,5 +51,5 @@
51
51
  "type": "git",
52
52
  "url": "git+https://github.com/ExodusMovement/assets.git"
53
53
  },
54
- "gitHead": "fe1940f74bc72ad8d7555288baaf2b18eb3542ea"
54
+ "gitHead": "f7c3c3541471b863d7b8cb66b8e7885df847821d"
55
55
  }
@@ -11,6 +11,7 @@ export default function createEthereumLikeAccountState({ asset, extraData = {},
11
11
  balance: asset.currency.ZERO,
12
12
  tokenBalances: {},
13
13
  index: 0,
14
+ isBlacklisted: null,
14
15
  eip7702Delegation: null,
15
16
  ...extraData,
16
17
  }
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @exodus/import/no-deprecated
1
2
  import { isNumberUnit } from '@exodus/currency'
2
3
  import lodash from 'lodash'
3
4
 
@@ -5,6 +6,7 @@ const { isNumber, isString } = lodash
5
6
 
6
7
  function parseBalance({ asset, balance }) {
7
8
  const currency = asset.currency
9
+ // eslint-disable-next-line @exodus/import/no-deprecated
8
10
  if (isNumberUnit(balance)) {
9
11
  if (balance.unitType.equals(currency)) {
10
12
  return balance
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @exodus/import/no-deprecated
1
2
  import { isNumberUnit } from '@exodus/currency'
2
3
  import { FeeMarketEIP1559Transaction, Transaction } from '@exodus/ethereumjs/tx'
3
4
  import { bufferToInt } from '@exodus/ethereumjs/util'
@@ -74,6 +75,7 @@ function resolveToAmount({ asset, data, value, to: rawTo }) {
74
75
  }
75
76
 
76
77
  function toNumberUnit(asset, amount) {
78
+ // eslint-disable-next-line @exodus/import/no-deprecated
77
79
  if (isNumberUnit(amount)) {
78
80
  return amount
79
81
  }