@exodus/assets-feature 8.7.2 → 8.8.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/package.json +3 -3
- package/redux/selectors/index.js +6 -6
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
|
+
## [8.8.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@8.7.1...@exodus/assets-feature@8.8.0) (2026-01-21)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- feat: filter out combined assets without members (#14961)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- fix: consistenly handle storeIcons errors (#14556)
|
|
15
|
+
|
|
6
16
|
## [8.7.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@8.7.1...@exodus/assets-feature@8.7.2) (2025-12-04)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/assets-feature",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "This Exodus SDK feature provides access to instances of all blockchain asset adapters supported by the wallet, and enables you to search for and add custom tokens at runtime.",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"reselect": "^3.0.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@exodus/available-assets": "^8.
|
|
54
|
+
"@exodus/available-assets": "^8.10.0",
|
|
55
55
|
"@exodus/bip39": "^1.0.4",
|
|
56
56
|
"@exodus/bip44-constants": "^195.0.0",
|
|
57
57
|
"@exodus/bitcoin-meta": "^2.0.0",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"access": "public",
|
|
84
84
|
"provenance": false
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c78411cee430824a8f7e61db3c151ddfdb99db2d"
|
|
87
87
|
}
|
package/redux/selectors/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { keyBy } from '@exodus/basic-utils'
|
|
1
|
+
import { keyBy, pickBy } from '@exodus/basic-utils'
|
|
2
2
|
import { createSelector } from 'reselect'
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line no-restricted-imports -- TODO: Fix this the next time the file is edited.
|
|
@@ -6,10 +6,10 @@ import lodash from 'lodash'
|
|
|
6
6
|
|
|
7
7
|
const { memoize } = lodash // eslint-disable-line @exodus/basic-utils/prefer-basic-utils
|
|
8
8
|
|
|
9
|
-
// just a semantic alias for `data`
|
|
10
9
|
const allAssetsSelectorDefinition = {
|
|
11
10
|
id: 'all',
|
|
12
|
-
resultFunction: (data) =>
|
|
11
|
+
resultFunction: (data) =>
|
|
12
|
+
pickBy(data, (asset) => !asset.isCombined || asset.combinedAssetNames.length > 0),
|
|
13
13
|
dependencies: [{ selector: 'data' }],
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -23,21 +23,21 @@ const createAssetSelectorDefinition = {
|
|
|
23
23
|
id: 'createAssetSelector',
|
|
24
24
|
selectorFactory: (dataSelector) =>
|
|
25
25
|
memoize((assetName) => createSelector(dataSelector, (data) => data[assetName])),
|
|
26
|
-
dependencies: [{ selector: '
|
|
26
|
+
dependencies: [{ selector: 'all' }],
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const createBaseAssetSelectorDefinition = {
|
|
30
30
|
id: 'createBaseAssetSelector',
|
|
31
31
|
selectorFactory: (dataSelector) =>
|
|
32
32
|
memoize((assetName) => createSelector(dataSelector, (data) => data[assetName].baseAsset)),
|
|
33
|
-
dependencies: [{ selector: '
|
|
33
|
+
dependencies: [{ selector: 'all' }],
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const createFeeAssetSelectorDefinition = {
|
|
37
37
|
id: 'createFeeAssetSelector',
|
|
38
38
|
selectorFactory: (dataSelector) =>
|
|
39
39
|
memoize((assetName) => createSelector(dataSelector, (data) => data[assetName].feeAsset)),
|
|
40
|
-
dependencies: [{ selector: '
|
|
40
|
+
dependencies: [{ selector: 'all' }],
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const getAssetSelectorDefinition = {
|