@exodus/market-history 9.0.2 → 9.0.3
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 +6 -0
- package/atoms/index.js +4 -0
- package/module/index.js +1 -0
- package/package.json +5 -5
- package/plugin/index.js +1 -0
- package/redux/selectors/create-asset-daily-prices-loading.js +1 -1
- package/redux/selectors/create-asset-hourly-prices-loading.js +1 -1
- package/redux/selectors/get-asset-daily-price.js +1 -1
- package/redux/selectors/get-asset-hourly-price.js +1 -1
- package/redux/selectors/get-price-with-fallback.js +1 -1
- package/redux/selectors/helpers/memoize-get-asset-price.js +1 -1
- package/redux/selectors/helpers/memoize-get-price.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [9.0.3](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/market-history@9.0.2...@exodus/market-history@9.0.3) (2024-07-25)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- migrate definitions ([#8030](https://github.com/ExodusMovement/exodus-hydra/issues/8030)) ([d2dfde5](https://github.com/ExodusMovement/exodus-hydra/commit/d2dfde55dfa843eb52842f64b3aac3a6f9a59069))
|
|
11
|
+
|
|
6
12
|
## [9.0.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/market-history@9.0.1...@exodus/market-history@9.0.2) (2024-07-18)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @exodus/market-history
|
package/atoms/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export const marketHistoryAtomDefinition = {
|
|
|
6
6
|
type: 'atom',
|
|
7
7
|
factory: () => createInMemoryAtom({}), // eslint-disable-line @exodus/hydra/in-memory-atom-default-value
|
|
8
8
|
dependencies: [],
|
|
9
|
+
public: true,
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export const marketHistoryRefreshIntervalAtomDefinition = {
|
|
@@ -13,6 +14,7 @@ export const marketHistoryRefreshIntervalAtomDefinition = {
|
|
|
13
14
|
type: 'atom',
|
|
14
15
|
factory: ({ config, remoteConfig }) => createRemoteConfigAtomFactory({ remoteConfig })(config),
|
|
15
16
|
dependencies: ['config', 'remoteConfig'],
|
|
17
|
+
public: true,
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
export const marketHistoryClearCacheAtomDefinition = {
|
|
@@ -20,6 +22,7 @@ export const marketHistoryClearCacheAtomDefinition = {
|
|
|
20
22
|
type: 'atom',
|
|
21
23
|
factory: ({ config }) => createInMemoryAtom(config),
|
|
22
24
|
dependencies: ['config'],
|
|
25
|
+
public: true,
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
export const remoteConfigClearMarketHistoryCacheAtomDefinition = {
|
|
@@ -27,4 +30,5 @@ export const remoteConfigClearMarketHistoryCacheAtomDefinition = {
|
|
|
27
30
|
type: 'atom',
|
|
28
31
|
factory: ({ config, remoteConfig }) => createRemoteConfigAtomFactory({ remoteConfig })(config),
|
|
29
32
|
dependencies: ['config', 'remoteConfig'],
|
|
33
|
+
public: true,
|
|
30
34
|
}
|
package/module/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/market-history",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.3",
|
|
4
4
|
"description": "Fetches historical prices for assets",
|
|
5
5
|
"author": "Exodus Movement, Inc.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@exodus/assets": "^8.0.94",
|
|
38
38
|
"@exodus/assets-base": "^8.1.6",
|
|
39
|
-
"@exodus/assets-feature": "^5.8.
|
|
39
|
+
"@exodus/assets-feature": "^5.8.2",
|
|
40
40
|
"@exodus/bitcoin-meta": "^1.0.1",
|
|
41
41
|
"@exodus/ethereum-meta": "^1.0.30",
|
|
42
|
-
"@exodus/locale": "^2.2.
|
|
42
|
+
"@exodus/locale": "^2.2.2",
|
|
43
43
|
"@exodus/logger": "^1.1.0",
|
|
44
|
-
"@exodus/rates-monitor": "^4.3.
|
|
44
|
+
"@exodus/rates-monitor": "^4.3.3",
|
|
45
45
|
"@exodus/redux-dependency-injection": "^3.2.3",
|
|
46
46
|
"@exodus/storage-memory": "^2.1.1",
|
|
47
47
|
"events": "^3.3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"type": "git",
|
|
56
56
|
"url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "3995391eb48639b2d60ced5224a6a8f4902a2466"
|
|
59
59
|
}
|
package/plugin/index.js
CHANGED
|
@@ -52,6 +52,7 @@ const marketHistoryLifecyclePluginDefinition = {
|
|
|
52
52
|
type: 'plugin',
|
|
53
53
|
factory: createMarketHistoryLifecyclePlugin,
|
|
54
54
|
dependencies: ['marketHistoryMonitor', 'marketHistoryAtom', 'appProcessAtom?', 'port'],
|
|
55
|
+
public: true,
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export default marketHistoryLifecyclePluginDefinition
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from 'lodash'
|
|
1
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
2
2
|
import { createSelector } from 'reselect'
|
|
3
3
|
import assetLoadingResultFunc from './helpers/asset-loading-result-func'
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from 'lodash'
|
|
1
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
2
2
|
import { createSelector } from 'reselect'
|
|
3
3
|
import assetLoadingResultFunc from './helpers/asset-loading-result-func'
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from 'lodash'
|
|
1
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
2
2
|
import { createSelector } from 'reselect'
|
|
3
3
|
import memoizeGetAssetPrice from './helpers/memoize-get-asset-price'
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { memoize } from 'lodash'
|
|
1
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
2
2
|
|
|
3
3
|
import { createSelector } from 'reselect'
|
|
4
4
|
import memoizeGetAssetPrices from './helpers/memoize-get-asset-price'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import appendPricesWithRate from './append-prices-with-rate'
|
|
2
|
-
import { memoize } from 'lodash'
|
|
2
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
3
3
|
import { prepareTime } from './date-utils'
|
|
4
4
|
|
|
5
5
|
const memoizeGetAssetPrices = (historicalPrices, rate, type, currentTime) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import appendPricesWithRate from './append-prices-with-rate'
|
|
2
|
-
import { memoize } from 'lodash'
|
|
2
|
+
import { memoize } from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
|
|
3
3
|
import { prepareTime } from './date-utils'
|
|
4
4
|
|
|
5
5
|
const memoizeGetPrices = (getAssetPrices, rates, type, assets, currentTime) => {
|