@exodus/available-assets 5.1.0 → 5.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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
|
+
## [5.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/available-assets@5.1.1...@exodus/available-assets@5.2.0) (2023-09-25)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- getParentCombined selector ([#4210](https://github.com/ExodusMovement/exodus-hydra/issues/4210)) ([fc6b1cb](https://github.com/ExodusMovement/exodus-hydra/commit/fc6b1cb62bde8c64ef7f22e482f71f62f0688992))
|
|
11
|
+
|
|
12
|
+
## [5.1.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/available-assets@5.1.0...@exodus/available-assets@5.1.1) (2023-08-28)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- downgrade reselect ([#3665](https://github.com/ExodusMovement/exodus-hydra/issues/3665)) ([8a03e20](https://github.com/ExodusMovement/exodus-hydra/commit/8a03e2089d3211ddc71cff212c45a6e7f248aa08))
|
|
17
|
+
|
|
6
18
|
## [5.1.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/available-assets@5.0.0...@exodus/available-assets@5.1.0) (2023-08-25)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/available-assets",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Tracks supported/available assets, i.e. assets that the user can potentially enable via the UI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Exodus Movement Inc.",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"url": "git+https://github.com/ExodusMovement/exodus-hydra.git"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@exodus/atoms": "^5.
|
|
32
|
+
"@exodus/atoms": "^5.7.1",
|
|
33
33
|
"@exodus/basic-utils": "^2.0.0",
|
|
34
34
|
"@exodus/core-selectors": "^1.5.0",
|
|
35
35
|
"@exodus/module": "^1.1.0",
|
|
36
36
|
"lodash": "^4.17.21",
|
|
37
37
|
"make-concurrent": "^5.3.0",
|
|
38
|
-
"reselect": "^
|
|
38
|
+
"reselect": "^3.0.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@exodus/assets": "^8.0.95",
|
|
42
42
|
"@exodus/assets-base": "^8.1.10",
|
|
43
|
-
"@exodus/assets-feature": "^1.
|
|
43
|
+
"@exodus/assets-feature": "^3.1.1",
|
|
44
44
|
"@exodus/combined-assets-meta": "^1.2.6-alpha-1",
|
|
45
45
|
"@exodus/enabled-assets": "^6.0.2",
|
|
46
|
-
"@exodus/redux-dependency-injection": "^
|
|
46
|
+
"@exodus/redux-dependency-injection": "^3.0.0",
|
|
47
47
|
"eslint": "^8.44.0",
|
|
48
48
|
"jest": "^29.1.2",
|
|
49
49
|
"jest-when": "^3.6.0",
|
|
50
50
|
"redux": "^4.2.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "66b5845d5aaf8a56bc67009de0414a1f9be48140"
|
|
53
53
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createGetParentCombinedAssetSelector } from '@exodus/core-selectors/assets/networks'
|
|
2
|
+
|
|
3
|
+
const selectorFactory = (allAvailableAssetsSelector) =>
|
|
4
|
+
createGetParentCombinedAssetSelector({
|
|
5
|
+
allAssetsSelector: allAvailableAssetsSelector,
|
|
6
|
+
})
|
|
7
|
+
|
|
8
|
+
const getParentCombinedSelector = {
|
|
9
|
+
id: 'getParentCombined',
|
|
10
|
+
selectorFactory,
|
|
11
|
+
dependencies: [{ selector: 'all' }],
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default getParentCombinedSelector
|
package/redux/selectors/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import getCombinedChildrenNamesSelectorDefinition from './get-combined-children-
|
|
|
6
6
|
import getCombinedFallbackSelectorDefinition from './get-combined-fallback'
|
|
7
7
|
import getHasAssetsOnOtherChainsSelectorDefinition from './get-has-assets-on-other-chains'
|
|
8
8
|
import getSelectorDefinition from './get'
|
|
9
|
+
import getParentCombinedSelector from './get-parent-combined'
|
|
9
10
|
|
|
10
11
|
export default [
|
|
11
12
|
//
|
|
@@ -17,4 +18,5 @@ export default [
|
|
|
17
18
|
getCombinedFallbackSelectorDefinition,
|
|
18
19
|
getHasAssetsOnOtherChainsSelectorDefinition,
|
|
19
20
|
getSelectorDefinition,
|
|
21
|
+
getParentCombinedSelector,
|
|
20
22
|
]
|