@exodus/ethereum-api 7.0.16 → 7.0.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-api",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.17",
|
|
4
4
|
"description": "Ethereum Api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -13,19 +13,27 @@
|
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "restricted"
|
|
15
15
|
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "run -T jest",
|
|
18
|
+
"lint": "run -T eslint src",
|
|
19
|
+
"lint:fix": "yarn lint --fix"
|
|
20
|
+
},
|
|
16
21
|
"dependencies": {
|
|
17
22
|
"@exodus/asset-lib": "^3.7.1",
|
|
18
23
|
"@exodus/crypto": "^1.0.0-rc.0",
|
|
19
24
|
"@exodus/currency": "^2.1.3",
|
|
20
|
-
"@exodus/ethereum-lib": "^4.2.
|
|
25
|
+
"@exodus/ethereum-lib": "^4.2.6",
|
|
26
|
+
"@exodus/ethereum-meta": "^1.2.0",
|
|
21
27
|
"@exodus/ethereumjs-util": "^7.1.0-exodus.6",
|
|
22
28
|
"@exodus/fetch": "^1.3.0-beta.4",
|
|
29
|
+
"@exodus/models": "^11.0.0",
|
|
23
30
|
"@exodus/simple-retry": "^0.0.6",
|
|
24
31
|
"@exodus/solidity-contract": "^1.1.3",
|
|
25
32
|
"bn.js": "^5.2.1",
|
|
26
33
|
"events": "^1.1.1",
|
|
27
34
|
"idna-uts46-hx": "^2.3.1",
|
|
28
35
|
"js-sha3": "^0.8.0",
|
|
36
|
+
"lodash": "^4.17.15",
|
|
29
37
|
"make-concurrent": "4.0.0",
|
|
30
38
|
"minimalistic-assert": "^1.0.1",
|
|
31
39
|
"ms": "^2.1.1",
|
|
@@ -35,8 +43,10 @@
|
|
|
35
43
|
"devDependencies": {
|
|
36
44
|
"@exodus/assets": "9.1.0",
|
|
37
45
|
"@exodus/assets-base": "^8.1.14",
|
|
38
|
-
"@exodus/assets-testing": "
|
|
39
|
-
"
|
|
46
|
+
"@exodus/assets-testing": "^1.0.0",
|
|
47
|
+
"bignumber.js": "9.0.1",
|
|
48
|
+
"cross-fetch": "^3.1.5",
|
|
49
|
+
"delay": "4.0.1"
|
|
40
50
|
},
|
|
41
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b136d1a0684e11f282c31dbe89ebd52ab4dd6ec8"
|
|
42
52
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { estimateGasLimit
|
|
1
|
+
import { estimateGasLimit } from '../../gas-estimation'
|
|
2
|
+
import { getServer } from '../../exodus-eth-server'
|
|
2
3
|
import { isNumberUnit } from '@exodus/currency'
|
|
3
4
|
import BN from 'bn.js'
|
|
4
5
|
import { stakingProviderClientFactory } from '../staking-provider-client'
|
|
6
|
+
import { EthereumStaking } from './api'
|
|
5
7
|
|
|
6
8
|
const extraGasLimit = 20000 // extra gas Limit to prevent tx failing if something change on pool state (till tx is in mempool)
|
|
7
9
|
|