@exodus/ethereum-api 8.13.0 → 8.13.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,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
|
+
## [8.13.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.13.1...@exodus/ethereum-api@8.13.2) (2024-08-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* base monitor crash ([#3144](https://github.com/ExodusMovement/assets/issues/3144)) ([e3738cd](https://github.com/ExodusMovement/assets/commit/e3738cd89f37472a1d6a7d5b479f20ac88ff7bfa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [8.13.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.13.0...@exodus/ethereum-api@8.13.1) (2024-08-07)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* eth staking tx-send compatibility ([#3112](https://github.com/ExodusMovement/assets/issues/3112)) ([c5c9160](https://github.com/ExodusMovement/assets/commit/c5c916070451d347f9b0c3b6a0f3de6265025704))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [8.13.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.12.0...@exodus/ethereum-api@8.13.0) (2024-08-04)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "8.13.
|
|
3
|
+
"version": "8.13.2",
|
|
4
4
|
"description": "Ethereum Api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"type": "git",
|
|
66
66
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "fc7420fbe8a8acf647ee9319de3eb2d3832b87f6"
|
|
69
69
|
}
|
|
@@ -262,6 +262,15 @@ export function createEthereumStakingService({
|
|
|
262
262
|
walletAccount,
|
|
263
263
|
address: to,
|
|
264
264
|
amount: amount || asset.currency.ZERO,
|
|
265
|
+
// unified tx-send param
|
|
266
|
+
shouldLog: true,
|
|
267
|
+
txInput,
|
|
268
|
+
feeAmount: fee,
|
|
269
|
+
feeOpts: {
|
|
270
|
+
gasPrice,
|
|
271
|
+
gasLimit,
|
|
272
|
+
},
|
|
273
|
+
// mobile: tx-send parms
|
|
265
274
|
options: {
|
|
266
275
|
shouldLog: true,
|
|
267
276
|
txInput,
|
|
@@ -278,6 +278,15 @@ export function createPolygonStakingService({ assetClientInterface, createAndBro
|
|
|
278
278
|
walletAccount,
|
|
279
279
|
address: to,
|
|
280
280
|
amount: ethereum.currency.ZERO,
|
|
281
|
+
// unified tx-send param
|
|
282
|
+
shouldLog: true,
|
|
283
|
+
txInput,
|
|
284
|
+
feeAmount: fee,
|
|
285
|
+
feeOpts: {
|
|
286
|
+
gasPrice,
|
|
287
|
+
gasLimit,
|
|
288
|
+
},
|
|
289
|
+
// mobile: tx-send parms
|
|
281
290
|
options: {
|
|
282
291
|
shouldLog: true,
|
|
283
292
|
txInput,
|
|
@@ -69,6 +69,7 @@ export class EthereumNoHistoryMonitor extends BaseMonitor {
|
|
|
69
69
|
const tokenBalanceEntries = tokenBalancePairs
|
|
70
70
|
.map((pair) => {
|
|
71
71
|
const token = tokens.find((token) => token.name === pair[0])
|
|
72
|
+
if (!token) return null
|
|
72
73
|
const value = token.currency.baseUnit(pair[1] || 0)
|
|
73
74
|
return [token.name, value]
|
|
74
75
|
})
|