@exodus/market-history 7.3.1 → 7.4.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.
- package/CHANGELOG.md +10 -0
- package/index.js +23 -1
- package/package.json +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/market-history@7.3.1...@exodus/market-history@7.4.0) (2024-03-01)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add marketHistory feature default config ([#5929](https://github.com/ExodusMovement/exodus-hydra/issues/5929)) ([ff746b7](https://github.com/ExodusMovement/exodus-hydra/commit/ff746b7f13dd72b033ae22d3d7b9e3991906f7d3))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- missing dependencies ([#5322](https://github.com/ExodusMovement/exodus-hydra/issues/5322)) ([01efedc](https://github.com/ExodusMovement/exodus-hydra/commit/01efedc7508fb14925277fdcd388afb721ac3dd1))
|
|
15
|
+
|
|
6
16
|
## [7.3.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/market-history@7.3.0...@exodus/market-history@7.3.1) (2024-01-04)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/index.js
CHANGED
|
@@ -9,7 +9,18 @@ import marketHistoryMonitorDefinition from './module'
|
|
|
9
9
|
import marketHistoryPluginDefinition from './plugin'
|
|
10
10
|
import marketHistoryApiDefinition from './api'
|
|
11
11
|
|
|
12
|
-
const
|
|
12
|
+
const CLEAR_MARKET_HISTORY_VERSION = 'infrastructure.marketHistory.clearVersion'
|
|
13
|
+
const REFRESH_INTERVAL_ATOM_PATH = 'infrastructure.marketHistory.refreshInterval'
|
|
14
|
+
|
|
15
|
+
const marketHistory = (
|
|
16
|
+
{
|
|
17
|
+
clearHistoryCacheDefaultValue = null,
|
|
18
|
+
remoteConfigClearHistoryCachePath = CLEAR_MARKET_HISTORY_VERSION,
|
|
19
|
+
remoteConfigClearHistoryCacheDefaultValue = null,
|
|
20
|
+
marketHistoryRefreshIntervalPath = REFRESH_INTERVAL_ATOM_PATH,
|
|
21
|
+
marketHistoryRefreshIntervalDefaultValue = null,
|
|
22
|
+
} = Object.create(null)
|
|
23
|
+
) => {
|
|
13
24
|
return {
|
|
14
25
|
id: 'marketHistory',
|
|
15
26
|
definitions: [
|
|
@@ -38,12 +49,23 @@ const marketHistory = () => {
|
|
|
38
49
|
},
|
|
39
50
|
{
|
|
40
51
|
definition: marketHistoryClearCacheAtomDefinition,
|
|
52
|
+
config: {
|
|
53
|
+
defaultValue: clearHistoryCacheDefaultValue,
|
|
54
|
+
},
|
|
41
55
|
},
|
|
42
56
|
{
|
|
43
57
|
definition: remoteConfigClearMarketHistoryCacheAtomDefinition,
|
|
58
|
+
config: {
|
|
59
|
+
path: remoteConfigClearHistoryCachePath,
|
|
60
|
+
defaultValue: remoteConfigClearHistoryCacheDefaultValue,
|
|
61
|
+
},
|
|
44
62
|
},
|
|
45
63
|
{
|
|
46
64
|
definition: marketHistoryRefreshIntervalAtomDefinition,
|
|
65
|
+
config: {
|
|
66
|
+
path: marketHistoryRefreshIntervalPath,
|
|
67
|
+
defaultValue: marketHistoryRefreshIntervalDefaultValue,
|
|
68
|
+
},
|
|
47
69
|
},
|
|
48
70
|
{ definition: marketHistoryPluginDefinition },
|
|
49
71
|
{ definition: marketHistoryAtomDefinition },
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/market-history",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "Fetches historical prices for assets",
|
|
5
5
|
"author": "Exodus Movement Inc.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"lint": "eslint . --ignore-path ../../.gitignore",
|
|
8
|
+
"lint": "run -T eslint . --ignore-path ../../.gitignore",
|
|
9
9
|
"lint:fix": "yarn lint --fix",
|
|
10
|
-
"test": "jest"
|
|
10
|
+
"test": "run -T jest"
|
|
11
11
|
},
|
|
12
12
|
"main": "index.js",
|
|
13
13
|
"files": [
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"!**/__tests__/**"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
+
"@exodus/atoms": "^7.0.1",
|
|
25
26
|
"@exodus/basic-utils": "^2.0.0",
|
|
26
27
|
"@exodus/module": "^1.1.0",
|
|
27
28
|
"@exodus/price-api": "^3.3.3",
|
|
@@ -32,17 +33,14 @@
|
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@exodus/assets": "^8.0.94",
|
|
34
35
|
"@exodus/assets-base": "^8.1.6",
|
|
35
|
-
"@exodus/assets-feature": "^4.
|
|
36
|
-
"@exodus/atoms": "^7.0.0",
|
|
36
|
+
"@exodus/assets-feature": "^4.1.2",
|
|
37
37
|
"@exodus/bitcoin-meta": "^1.0.1",
|
|
38
38
|
"@exodus/ethereum-meta": "^1.0.30",
|
|
39
|
-
"@exodus/locale": "^2.0
|
|
39
|
+
"@exodus/locale": "^2.1.0",
|
|
40
40
|
"@exodus/rates-monitor": "^4.1.1",
|
|
41
41
|
"@exodus/redux-dependency-injection": "^3.0.0",
|
|
42
42
|
"@exodus/storage-memory": "^2.1.1",
|
|
43
|
-
"eslint": "^8.44.0",
|
|
44
43
|
"events": "^3.3.0",
|
|
45
|
-
"jest": "^29.1.2",
|
|
46
44
|
"redux": "^4.0.0"
|
|
47
45
|
},
|
|
48
46
|
"peerDependencies": {
|
|
@@ -56,5 +54,5 @@
|
|
|
56
54
|
"type": "git",
|
|
57
55
|
"url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
|
|
58
56
|
},
|
|
59
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "62fc028a667cdd9bb5ab4024020d4fccb0c8905a"
|
|
60
58
|
}
|