@exodus/ethereum-lib 3.3.34 → 3.3.35
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-lib",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.35",
|
|
4
4
|
"description": "Ethereum Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"ms": "^2.1.1",
|
|
45
45
|
"reselect": "~3.0.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "ad589509e7ae08b35f42188275c037293b6aa073"
|
|
48
48
|
}
|
|
@@ -6,10 +6,11 @@ import { parseLegacyBalances } from './parse-legacy-balances'
|
|
|
6
6
|
export default function createEthereumLikeAccountState(asset, assets = {}) {
|
|
7
7
|
return class EthereumLikeAccountState extends AccountState {
|
|
8
8
|
static defaults = {
|
|
9
|
-
startblock: 0,
|
|
9
|
+
startblock: 0, // deprecated. It seems not used anymore. Remove when it's safe
|
|
10
10
|
clarityCursor: '',
|
|
11
11
|
balance: asset.currency.ZERO,
|
|
12
12
|
tokenBalances: {},
|
|
13
|
+
index: 0,
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
// legacy -- this should have no effect on Ethereum-like assets that do not have legacy account state
|