@exodus/headless 2.0.0-alpha.32 → 2.0.0-alpha.33
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 +4 -2
- package/src/constants.js +1 -0
- package/src/dependencies/atoms.js +2 -0
- package/src/dependencies/monitors.js +5 -0
- package/src/index.js +2 -0
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.33](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.32...@exodus/headless@2.0.0-alpha.33) (2023-06-07)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add apy rates monitor to headless ([#1830](https://github.com/ExodusMovement/exodus-hydra/issues/1830)) ([6040f4e](https://github.com/ExodusMovement/exodus-hydra/commit/6040f4eacc4b0ea29a25a28c21f6d4c07c833dd4))
|
|
11
|
+
|
|
6
12
|
## [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
13
|
|
|
8
14
|
### Features
|
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.33",
|
|
4
4
|
"description": "The headless Exodus wallet SDK",
|
|
5
5
|
"author": "Exodus Movement Inc",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@exodus/addresses-provider": "^3.0.2",
|
|
30
|
+
"@exodus/apy-rates": "^2.1.0",
|
|
30
31
|
"@exodus/atoms": "^3.5.3",
|
|
31
32
|
"@exodus/auto-enable-assets-plugin": "^4.0.1",
|
|
32
33
|
"@exodus/available-assets": "^2.0.0",
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
"@exodus/wild-emitter": "^1.0.0",
|
|
78
79
|
"buffer-json": "^2.0.0",
|
|
79
80
|
"deepmerge": "^4.2.2",
|
|
81
|
+
"delay": "^5.0.0",
|
|
80
82
|
"eslint": "^8.33.0",
|
|
81
83
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
82
84
|
"events": "^3.3.0",
|
|
@@ -84,5 +86,5 @@
|
|
|
84
86
|
"nock": "^13.3.1",
|
|
85
87
|
"p-defer": "^4.0.0"
|
|
86
88
|
},
|
|
87
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "415054e049df3eb22c79d8568bf071fdbc9c2f11"
|
|
88
90
|
}
|
package/src/constants.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { apyRatesAtomDefinition } from '@exodus/apy-rates/atoms'
|
|
1
2
|
import {
|
|
2
3
|
createFusionAtomFactory,
|
|
3
4
|
createInMemoryAtom,
|
|
@@ -167,6 +168,7 @@ const createAtomDependencies = () =>
|
|
|
167
168
|
{ definition: topMoversAtomDefinition },
|
|
168
169
|
{ definition: cryptoNewsAtomDefinition },
|
|
169
170
|
{ definition: restoreAtomDefinition },
|
|
171
|
+
{ definition: apyRatesAtomDefinition },
|
|
170
172
|
].map(withType('atom'))
|
|
171
173
|
|
|
172
174
|
export default createAtomDependencies
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import apyRatesMonitorDefinition from '@exodus/apy-rates/monitor'
|
|
1
2
|
import cryptoNewsMonitorDefinition from '@exodus/crypto-news-monitor/monitor'
|
|
2
3
|
import feeMonitorsDefinition from '@exodus/fee-monitors/monitor'
|
|
3
4
|
import geolocationMonitorDefinition from '@exodus/geolocation/monitor'
|
|
@@ -51,6 +52,10 @@ const createMonitorDependencies = ({ config }) =>
|
|
|
51
52
|
definition: cryptoNewsMonitorDefinition,
|
|
52
53
|
writesAtoms: ['cryptoNewsAtom'],
|
|
53
54
|
},
|
|
55
|
+
{
|
|
56
|
+
definition: apyRatesMonitorDefinition,
|
|
57
|
+
writesAtoms: ['apyRatesAtom'],
|
|
58
|
+
},
|
|
54
59
|
].map(withType('monitor'))
|
|
55
60
|
|
|
56
61
|
export default createMonitorDependencies
|
package/src/index.js
CHANGED
|
@@ -33,6 +33,7 @@ const createExodus = ({ adapters, config, port }) => {
|
|
|
33
33
|
} = ioc.getByType('module')
|
|
34
34
|
|
|
35
35
|
const {
|
|
36
|
+
apyRatesMonitor,
|
|
36
37
|
cryptoNewsMonitor,
|
|
37
38
|
feeMonitors,
|
|
38
39
|
geolocationMonitor,
|
|
@@ -83,6 +84,7 @@ const createExodus = ({ adapters, config, port }) => {
|
|
|
83
84
|
marketHistory.start()
|
|
84
85
|
ratesMonitor.start()
|
|
85
86
|
feeMonitors.start()
|
|
87
|
+
apyRatesMonitor.start()
|
|
86
88
|
|
|
87
89
|
await assetsModule.load()
|
|
88
90
|
await connectedOrigins.load()
|