@exodus/ethereum-api 8.49.0 → 8.50.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 +10 -0
- package/package.json +5 -5
- package/src/ens/index.js +2 -2
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.50.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.49.0...@exodus/ethereum-api@8.50.0) (2025-09-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat: replace deprecated apis with exodus/crypto/hash (#6483)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [8.49.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.48.0...@exodus/ethereum-api@8.49.0) (2025-09-16)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.50.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",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"@exodus/assets": "^11.4.0",
|
|
27
27
|
"@exodus/basic-utils": "^3.0.1",
|
|
28
28
|
"@exodus/bip44-constants": "^195.0.0",
|
|
29
|
-
"@exodus/crypto": "^1.0.0-rc.
|
|
29
|
+
"@exodus/crypto": "^1.0.0-rc.26",
|
|
30
30
|
"@exodus/currency": "^6.0.1",
|
|
31
31
|
"@exodus/ethereum-lib": "^5.17.0",
|
|
32
32
|
"@exodus/ethereum-meta": "^2.9.1",
|
|
33
33
|
"@exodus/ethereumholesky-meta": "^2.0.5",
|
|
34
|
-
"@exodus/ethereumjs": "^1.
|
|
34
|
+
"@exodus/ethereumjs": "^1.8.0",
|
|
35
35
|
"@exodus/fetch": "^1.3.0",
|
|
36
36
|
"@exodus/models": "^12.13.0",
|
|
37
37
|
"@exodus/safe-string": "^1.2.0",
|
|
38
38
|
"@exodus/simple-retry": "^0.0.6",
|
|
39
|
-
"@exodus/solidity-contract": "^1.
|
|
39
|
+
"@exodus/solidity-contract": "^1.3.0",
|
|
40
40
|
"@exodus/web3-ethereum-utils": "^4.2.1",
|
|
41
41
|
"bn.js": "^5.2.1",
|
|
42
42
|
"delay": "^4.0.1",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"type": "git",
|
|
67
67
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "05a8eb8fc2b399e3497825462f429970f559b8cc"
|
|
70
70
|
}
|
package/src/ens/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hashSync } from '@exodus/crypto/hash'
|
|
2
2
|
import { ABI } from '@exodus/ethereum-lib'
|
|
3
3
|
import SolidityContract from '@exodus/solidity-contract'
|
|
4
4
|
import idna from 'idna-uts46-hx'
|
|
@@ -24,7 +24,7 @@ function namehash(inputName) {
|
|
|
24
24
|
const name = normalize(inputName)
|
|
25
25
|
if (name) {
|
|
26
26
|
for (const label of name.split('.').reverse()) {
|
|
27
|
-
node = keccak256
|
|
27
|
+
node = hashSync('keccak256', [node, hashSync('keccak256', label, 'uint8')], 'buffer')
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|