@exodus/solana-plugin 1.0.10-alpha.0 → 1.0.10-alpha.1

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 +3 -4
  2. package/src/index.js +2 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.0.10-alpha.0",
3
+ "version": "1.0.10-alpha.1",
4
4
  "description": "Exodus internal Solana asset plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -22,13 +22,12 @@
22
22
  "dependencies": {
23
23
  "@exodus/assets": "^9.0.1",
24
24
  "@exodus/bip44-constants": "^195.0.0",
25
- "@exodus/solana-api": "^2.5.31-alpha.0",
25
+ "@exodus/solana-api": "^2.5.31-alpha.1",
26
26
  "@exodus/solana-lib": "^1.7.5",
27
27
  "@exodus/solana-meta": "^1.0.7",
28
28
  "minimalistic-assert": "^1.0.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@exodus/assets-testing": "file:../../../__testing__"
32
- },
33
- "gitHead": "659340c999fa86c132293643a7fb96f33963e6cd"
32
+ }
34
33
  }
package/src/index.js CHANGED
@@ -26,9 +26,7 @@ const createAsset = ({
26
26
  config: {
27
27
  stakingFeatureAvailable = true,
28
28
  includeUnparsed = false,
29
- monitorInterval = ms('30s'),
30
- ticksBetweenHistoryFetches,
31
- ticksBetweenStakeFetches,
29
+ monitorInterval = ms('300s'),
32
30
  } = {},
33
31
  overrideCallback = ({ asset }) => asset,
34
32
  } = {}) => {
@@ -98,14 +96,7 @@ const createAsset = ({
98
96
  createAccountState: () => SolanaAccountState,
99
97
  createFeeMonitor: (args) => new SolanaFeeMonitor({ ...args, api: serverApi }),
100
98
  createHistoryMonitor: (args) =>
101
- new SolanaMonitor({
102
- interval: monitorInterval,
103
- ticksBetweenHistoryFetches,
104
- ticksBetweenStakeFetches,
105
- includeUnparsed,
106
- api: serverApi,
107
- ...args,
108
- }),
99
+ new SolanaMonitor({ interval: monitorInterval, includeUnparsed, api: serverApi, ...args }),
109
100
  createToken: (tokenDef) =>
110
101
  tokenDef.isBuiltIn ? createToken(tokenDef) : createCustomToken(tokenDef),
111
102
  defaultAddressPath: 'm/0/0',