@exodus/ethereum-plugin 1.0.0 → 1.2.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.
Files changed (2) hide show
  1. package/package.json +6 -4
  2. package/src/index.js +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Exodus ethereum-plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -18,12 +18,14 @@
18
18
  "lint:fix": "yarn lint --fix"
19
19
  },
20
20
  "dependencies": {
21
- "@exodus/ethereum-api": "^7.2.1",
21
+ "@exodus/ethereum-api": "^7.5.0",
22
22
  "@exodus/ethereum-lib": "^4.4.0",
23
23
  "@exodus/ethereum-meta": "^1.3.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@exodus/assets-testing": "^1.0.0"
26
+ "@exodus/assets-testing": "^1.0.0",
27
+ "@exodus/ethereumjs-util": "^7.1.0-exodus.7",
28
+ "@exodus/fetch": "^1.3.0"
27
29
  },
28
- "gitHead": "58f3aa71419faa3d2680bfbd65659cc9fcc5d223"
30
+ "gitHead": "8066c2fd98a9065156d93108e42aa01f40aecf57"
29
31
  }
package/src/index.js CHANGED
@@ -4,15 +4,13 @@ import assetsList from '@exodus/ethereum-meta'
4
4
  import { ethereum as feeData } from '@exodus/ethereum-lib/src/fee-data'
5
5
 
6
6
  // Move EthereumFeeMonitor to ethereum-plugin or better replace with serverBasedFeeMonitorFactoryFactory
7
- import { createAssetFactory, EthereumFeeMonitor } from '@exodus/ethereum-api'
7
+ import { createAssetFactory } from '@exodus/ethereum-api'
8
8
 
9
9
  const createAsset = createAssetFactory({
10
10
  assetsList,
11
11
  feeData,
12
- createFeeMonitor: (args) => new EthereumFeeMonitor({ interval: '50s', ...args }),
13
12
  nfts: true,
14
13
  isMaxFeeAsset: true,
15
- feeMonitor: true,
16
14
  erc20FuelBuffer: 1.1, // 10% more than the required fee
17
15
  fuelThreshold: '0.005',
18
16
  })