@exodus/assets-feature 2.0.1 → 2.0.2
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/package.json +2 -2
- package/redux/selectors/index.js +5 -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
|
+
## [2.0.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@2.0.1...@exodus/assets-feature@2.0.2) (2023-09-14)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- multi account getAsset tolerance ([#4055](https://github.com/ExodusMovement/exodus-hydra/issues/4055)) ([39aa8d6](https://github.com/ExodusMovement/exodus-hydra/commit/39aa8d66f0e373ae710d41b3735a1395b5d8a793))
|
|
11
|
+
|
|
6
12
|
## [2.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@2.0.0...@exodus/assets-feature@2.0.1) (2023-09-14)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/assets-feature",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Assets module, clients and apis",
|
|
6
6
|
"main": "index.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"jest": "^29.1.2",
|
|
61
61
|
"redux": "^4.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "7957536bb53e03341f88ca866bb706e45c4d2003"
|
|
64
64
|
}
|
package/redux/selectors/index.js
CHANGED
|
@@ -39,7 +39,11 @@ const createFeeAssetSelectorDefinition = {
|
|
|
39
39
|
|
|
40
40
|
const getAssetSelectorDefinition = {
|
|
41
41
|
id: 'getAsset',
|
|
42
|
-
resultFunction: (assets) =>
|
|
42
|
+
resultFunction: (assets) =>
|
|
43
|
+
memoize((assetName) => {
|
|
44
|
+
if (!assetName) throw new Error('expected assetName')
|
|
45
|
+
return assets[assetName]
|
|
46
|
+
}),
|
|
43
47
|
dependencies: [{ selector: 'all' }],
|
|
44
48
|
}
|
|
45
49
|
|