@exodus/headless 2.0.0-alpha.124 → 2.0.0-alpha.126

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,21 @@
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.126](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.125...@exodus/headless@2.0.0-alpha.126) (2023-09-19)
7
+
8
+ **Note:** Version bump only for package @exodus/headless
9
+
10
+ ## [2.0.0-alpha.125](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.124...@exodus/headless@2.0.0-alpha.125) (2023-09-18)
11
+
12
+ ### ⚠ BREAKING CHANGES
13
+
14
+ - **headless:** ship assets feature (#4100)
15
+
16
+ ### Features
17
+
18
+ - **headless:** emit pre-load event ([#4102](https://github.com/ExodusMovement/exodus-hydra/issues/4102)) ([0db6168](https://github.com/ExodusMovement/exodus-hydra/commit/0db616811faf4a3926fd8dc9fe8d39aab88fa728))
19
+ - **headless:** ship assets feature ([#4100](https://github.com/ExodusMovement/exodus-hydra/issues/4100)) ([694accc](https://github.com/ExodusMovement/exodus-hydra/commit/694accc504893e08d3d47f16a704e141953bdcca))
20
+
6
21
  ## [2.0.0-alpha.124](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.123...@exodus/headless@2.0.0-alpha.124) (2023-09-16)
7
22
 
8
23
  - add storage namespace for wallet-compatibilty-modes [1cf62547](https://github.com/ExodusMovement/exodus-hydra/pull/3644/commits/1cf6254755f8b9326b55afae21b6a2cf92e998a9)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "2.0.0-alpha.124",
3
+ "version": "2.0.0-alpha.126",
4
4
  "description": "The platform-agnostic 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/address-provider": "^7.4.2",
30
+ "@exodus/assets-feature": "^2.0.2",
30
31
  "@exodus/atoms": "^5.7.0",
31
32
  "@exodus/auto-enable-assets-plugin": "^4.2.1",
32
33
  "@exodus/available-assets": "^5.1.1",
@@ -36,8 +37,8 @@
36
37
  "@exodus/dependency-injection": "^2.0.1",
37
38
  "@exodus/dependency-preprocessors": "^3.1.1",
38
39
  "@exodus/enabled-assets": "^9.0.1",
39
- "@exodus/feature-flags": "^4.1.0",
40
- "@exodus/fee-monitors": "^2.1.1",
40
+ "@exodus/feature-flags": "^4.2.0",
41
+ "@exodus/fee-data-monitors": "^2.1.2",
41
42
  "@exodus/fetch": "^1.2.1",
42
43
  "@exodus/geolocation": "^3.0.0",
43
44
  "@exodus/hd-key-slip-10": "^2.0.0",
@@ -63,7 +64,7 @@
63
64
  "@exodus/algorand-lib": "^2.0.1",
64
65
  "@exodus/algorand-meta": "^1.1.4",
65
66
  "@exodus/apy-rates": "^3.3.0",
66
- "@exodus/assets-feature": "^2.0.2",
67
+ "@exodus/assets-feature": "workspace:^",
67
68
  "@exodus/bitcoin-plugin": "^1.0.14",
68
69
  "@exodus/connected-origins": "^3.3.0",
69
70
  "@exodus/crypto-news-monitor": "^4.0.0",
@@ -76,14 +77,14 @@
76
77
  "@exodus/market-history": "^7.1.0",
77
78
  "@exodus/models": "^8.11.1",
78
79
  "@exodus/nfts": "^6.1.0",
79
- "@exodus/personal-notes": "^3.5.1",
80
+ "@exodus/personal-notes": "^3.5.2",
80
81
  "@exodus/referrals": "^8.0.1",
81
82
  "@exodus/solana-lib": "^1.3.11",
82
83
  "@exodus/solana-meta": "^1.0.2",
83
84
  "@exodus/storage-encrypted": "^1.1.2",
84
85
  "@exodus/storage-memory": "^2.1.1",
85
86
  "@exodus/top-movers-monitor": "^3.2.0",
86
- "@exodus/ui-config": "^3.1.0",
87
+ "@exodus/ui-config": "^3.1.1",
87
88
  "@exodus/wild-emitter": "^1.0.0",
88
89
  "buffer-json": "^2.0.0",
89
90
  "deepmerge": "^4.2.2",
@@ -95,5 +96,5 @@
95
96
  "msw": "^1.3.0",
96
97
  "p-defer": "^4.0.0"
97
98
  },
98
- "gitHead": "f32f203b10dbf39895d6ef4d3231e28a76688f8b"
99
+ "gitHead": "1cb7eb14904f130336097971f642ffec3a2f5185"
99
100
  }
package/src/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import addressProvider from '@exodus/address-provider'
2
+ import assetsFeature from '@exodus/assets-feature'
2
3
  import availableAssets from '@exodus/available-assets'
3
4
  import balances from '@exodus/balances'
4
5
  import blockchainMetadata from '@exodus/blockchain-metadata'
5
6
  import enabledAssets from '@exodus/enabled-assets'
6
7
  import featureFlags from '@exodus/feature-flags'
7
- import fees from '@exodus/fee-monitors'
8
+ import fees from '@exodus/fee-data-monitors'
8
9
  import geolocation from '@exodus/geolocation'
9
10
  import keychain from '@exodus/keychain'
10
11
  import locale from '@exodus/locale'
@@ -23,6 +24,7 @@ import attachPlugins from './plugins/attach'
23
24
  const createExodus = ({ adapters, config, port }) => {
24
25
  const ioc = createIOC({ adapters, config })
25
26
 
27
+ ioc.use(assetsFeature())
26
28
  ioc.use(addressProvider({ config: config.addressProvider }))
27
29
  ioc.use(availableAssets())
28
30
  ioc.use(balances(config.balances))
@@ -55,6 +57,8 @@ const createExodus = ({ adapters, config, port }) => {
55
57
 
56
58
  application.on('start', (payload) => port.emit('start', payload))
57
59
 
60
+ application.hook('load', (args) => port.emit('pre-load', args))
61
+
58
62
  application.on('load', (args) => port.emit('load', args))
59
63
 
60
64
  application.on('create', async ({ hasPassphraseSet }) => {