@exodus/headless 2.0.0-alpha.31 → 2.0.0-alpha.32
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,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.0-alpha.32](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.31...@exodus/headless@2.0.0-alpha.32) (2023-06-06)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add auto enable assets to headless ([#1803](https://github.com/ExodusMovement/exodus-hydra/issues/1803)) ([11996d9](https://github.com/ExodusMovement/exodus-hydra/commit/11996d9a9b23a5d2d1ec1aa30b5e41d05e66ed6a))
|
|
11
|
+
|
|
6
12
|
## [2.0.0-alpha.31](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.30...@exodus/headless@2.0.0-alpha.31) (2023-06-05)
|
|
7
13
|
|
|
8
14
|
### ⚠ BREAKING CHANGES
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/headless",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.32",
|
|
4
4
|
"description": "The headless Exodus wallet SDK",
|
|
5
5
|
"author": "Exodus Movement Inc",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@exodus/addresses-provider": "^3.0.2",
|
|
30
30
|
"@exodus/atoms": "^3.5.3",
|
|
31
|
+
"@exodus/auto-enable-assets-plugin": "^4.0.1",
|
|
31
32
|
"@exodus/available-assets": "^2.0.0",
|
|
32
33
|
"@exodus/balances": "^6.0.0",
|
|
33
34
|
"@exodus/basic-utils": "^2.0.0",
|
|
@@ -35,10 +36,10 @@
|
|
|
35
36
|
"@exodus/config": "^7.0.0",
|
|
36
37
|
"@exodus/connected-origins": "^1.1.2",
|
|
37
38
|
"@exodus/crypto-news-monitor": "^2.0.0",
|
|
38
|
-
"@exodus/dependency-injection": "^
|
|
39
|
-
"@exodus/dependency-preprocessors": "^2.
|
|
39
|
+
"@exodus/dependency-injection": "^2.0.0",
|
|
40
|
+
"@exodus/dependency-preprocessors": "^2.6.0",
|
|
40
41
|
"@exodus/enabled-assets": "^6.0.1",
|
|
41
|
-
"@exodus/exodus-pricing-client": "^1.
|
|
42
|
+
"@exodus/exodus-pricing-client": "^1.2.0",
|
|
42
43
|
"@exodus/feature-flags": "^2.0.1",
|
|
43
44
|
"@exodus/fee-monitors": "^1.0.0",
|
|
44
45
|
"@exodus/fetch": "^1.2.1",
|
|
@@ -83,5 +84,5 @@
|
|
|
83
84
|
"nock": "^13.3.1",
|
|
84
85
|
"p-defer": "^4.0.0"
|
|
85
86
|
},
|
|
86
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "06447c03ed8e81c77c76e6db74d84af228c1e803"
|
|
87
88
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createInMemoryAtom } from '@exodus/atoms'
|
|
2
|
+
|
|
3
|
+
const nonDustBalanceAssetNamesAtomDefinition = {
|
|
4
|
+
id: 'nonDustBalanceAssetNamesAtom',
|
|
5
|
+
type: 'atom',
|
|
6
|
+
factory: () => createInMemoryAtom({ defaultValue: [] }),
|
|
7
|
+
dependencies: [],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default nonDustBalanceAssetNamesAtomDefinition
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
} from '@exodus/wallet-accounts/atoms'
|
|
26
26
|
|
|
27
27
|
import baseAssetNamesToMonitorAtomDefinition from '../atoms/base-asset-names-to-monitor'
|
|
28
|
+
import nonDustBalanceAssetNamesAtomDefinition from '../atoms/non-dust-balance-asset-names-atom'
|
|
28
29
|
import restoreAtomDefinition from '../atoms/restore'
|
|
29
30
|
import { withType } from './utils'
|
|
30
31
|
|
|
@@ -48,6 +49,9 @@ const createAtomDependencies = () =>
|
|
|
48
49
|
},
|
|
49
50
|
{ definition: enabledAssetsAtomDefinition },
|
|
50
51
|
{ definition: availableAssetNamesAtomDefinition },
|
|
52
|
+
{
|
|
53
|
+
definition: nonDustBalanceAssetNamesAtomDefinition,
|
|
54
|
+
},
|
|
51
55
|
{
|
|
52
56
|
definition: {
|
|
53
57
|
id: 'pricingServerUrlAtom',
|
package/src/plugins/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import autoEnableAssetsPlugin from '@exodus/auto-enable-assets-plugin'
|
|
2
|
+
|
|
1
3
|
import logLifecyclePlugin from './log-lifecycle'
|
|
2
4
|
import restorePlugin from './restore'
|
|
3
5
|
|
|
4
|
-
export default [logLifecyclePlugin, restorePlugin]
|
|
6
|
+
export default [logLifecyclePlugin, restorePlugin, autoEnableAssetsPlugin]
|