@exodus/headless 2.0.0-alpha.135 → 2.0.0-alpha.137

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.137](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.136...@exodus/headless@2.0.0-alpha.137) (2023-10-18)
7
+
8
+ **Note:** Version bump only for package @exodus/headless
9
+
10
+ ## [2.0.0-alpha.136](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.135...@exodus/headless@2.0.0-alpha.136) (2023-10-17)
11
+
12
+ ### ⚠ BREAKING CHANGES
13
+
14
+ - don't expect fusion as adapter (#4443)
15
+
16
+ ### Features
17
+
18
+ - clear assets feature in plugin ([#4444](https://github.com/ExodusMovement/exodus-hydra/issues/4444)) ([ac5442d](https://github.com/ExodusMovement/exodus-hydra/commit/ac5442d30ead24260f10f336497fbc745ff66e17))
19
+ - don't expect fusion as adapter ([#4443](https://github.com/ExodusMovement/exodus-hydra/issues/4443)) ([fc7a886](https://github.com/ExodusMovement/exodus-hydra/commit/fc7a8861a1d5a50cae3ceb04570731b1d11c3820))
20
+
6
21
  ## [2.0.0-alpha.135](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.134...@exodus/headless@2.0.0-alpha.135) (2023-10-16)
7
22
 
8
23
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "2.0.0-alpha.135",
3
+ "version": "2.0.0-alpha.137",
4
4
  "description": "The platform-agnostic Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "main": "src/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@exodus/address-provider": "^7.4.4",
30
- "@exodus/assets-feature": "^3.4.0",
30
+ "@exodus/assets-feature": "^3.5.0",
31
31
  "@exodus/atoms": "^5.7.2",
32
32
  "@exodus/auto-enable-assets-plugin": "^4.3.0",
33
33
  "@exodus/available-assets": "^7.0.0",
@@ -44,7 +44,7 @@
44
44
  "@exodus/hd-key-slip-10": "^2.0.0",
45
45
  "@exodus/key-identifier-provider": "^1.3.1",
46
46
  "@exodus/keychain": "^4.1.1",
47
- "@exodus/locale": "^2.0.0",
47
+ "@exodus/locale": "^2.0.1",
48
48
  "@exodus/module": "^1.2.0",
49
49
  "@exodus/pricing": "^1.1.0",
50
50
  "@exodus/rates-monitor": "^4.0.1",
@@ -98,5 +98,5 @@
98
98
  "msw": "^1.3.0",
99
99
  "p-defer": "^4.0.0"
100
100
  },
101
- "gitHead": "e00e45a7490a7f02c0d8e5e129c8d4de1afa3801"
101
+ "gitHead": "92684f721657e75ab4cd3d8da567a106d5abd696"
102
102
  }
@@ -15,7 +15,6 @@ const adapterKeys = [
15
15
  'legacyPrivToPub',
16
16
  'seedStorage',
17
17
  'unsafeStorage',
18
- 'fusion',
19
18
  'fetch',
20
19
  'freeze',
21
20
  ]
package/src/index.js CHANGED
@@ -49,13 +49,13 @@ const createExodus = ({ adapters, config, port }) => {
49
49
  const resolve = () => {
50
50
  ioc.resolve()
51
51
 
52
- const { storage, fusion } = ioc.getByType('adapter')
52
+ const { storage } = ioc.getByType('adapter')
53
53
 
54
54
  const { lockedAtom } = ioc.getByType('atom')
55
55
 
56
56
  const { application, wallet, unlockEncryptedStorage } = ioc.getByType('module')
57
57
 
58
- const { migrations, assetsModule } = ioc.getAll()
58
+ const { migrations } = ioc.getAll()
59
59
 
60
60
  application.on('start', (payload) => port.emit('start', payload))
61
61
 
@@ -95,10 +95,6 @@ const createExodus = ({ adapters, config, port }) => {
95
95
  if (typeof storage.unlock === 'function') unlockEncryptedStorage(storage)
96
96
  })
97
97
 
98
- application.hook('clear', async () => {
99
- await Promise.all([assetsModule.clear(), fusion.clearStorage()])
100
- })
101
-
102
98
  application.on('clear', () => port.emit('clear'))
103
99
 
104
100
  application.on('restart', (payload) => port.emit('restart', payload))