@exodus/ethereum-lib 3.3.34 → 3.3.36

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.34",
3
+ "version": "3.3.36",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -43,6 +43,5 @@
43
43
  "lodash": "^4.17.15",
44
44
  "ms": "^2.1.1",
45
45
  "reselect": "~3.0.1"
46
- },
47
- "gitHead": "b08bcfa935e1f208104276cc6e07a9992ea2147f"
46
+ }
48
47
  }
@@ -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
@@ -129,13 +129,13 @@ const customTokensWithRpcBalance = [
129
129
  'feg_ethereum_ef42acf0',
130
130
  'feg_bsc_48812e49',
131
131
  'opt2_matic_2bb66719',
132
+ 'babydoge_bsc_ee74eb55',
132
133
  ]
133
134
 
134
135
  export const isRpcBalanceAsset = (asset) =>
135
136
  [
136
137
  'bsc',
137
138
  'matic',
138
- 'babydoge_bsc',
139
139
  'ousd_ethereum_48fcf72d',
140
140
  'steth',
141
141
  'weth',
package/LICENSE.md DELETED
File without changes