@exodus/headless 2.0.0-alpha.37 → 2.0.0-alpha.38

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,17 @@
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.38](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.37...@exodus/headless@2.0.0-alpha.38) (2023-06-14)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - move start out of resolve (#1916)
11
+
12
+ ### Features
13
+
14
+ - clear personal notes as other modules ([#1922](https://github.com/ExodusMovement/exodus-hydra/issues/1922)) ([9324208](https://github.com/ExodusMovement/exodus-hydra/commit/9324208251f695a016f088bd0138a7ea5c838afa))
15
+ - move start out of resolve ([#1916](https://github.com/ExodusMovement/exodus-hydra/issues/1916)) ([85d53fd](https://github.com/ExodusMovement/exodus-hydra/commit/85d53fd547e6eebda8d8a992dffe5a21468baeab))
16
+
6
17
  ## [2.0.0-alpha.37](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.36...@exodus/headless@2.0.0-alpha.37) (2023-06-09)
7
18
 
8
19
  ### Features
package/README.md CHANGED
@@ -39,7 +39,10 @@ container.register({
39
39
  // 5. Resolve exodus instance
40
40
  const exodus = container.resolve()
41
41
 
42
- // 6. Use it!
42
+ // 6. Start exodus instance
43
+ await exodus.wallet.start()
44
+
45
+ // 7. Use it!
43
46
  await exodus.wallet.create({ passphrase: 'my-super-secure-passphrase' })
44
47
  ```
45
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "2.0.0-alpha.37",
3
+ "version": "2.0.0-alpha.38",
4
4
  "description": "The headless Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc",
6
6
  "main": "src/index.js",
@@ -30,7 +30,7 @@
30
30
  "@exodus/apy-rates": "^2.1.0",
31
31
  "@exodus/atoms": "^3.5.3",
32
32
  "@exodus/auto-enable-assets-plugin": "^4.0.1",
33
- "@exodus/available-assets": "^2.0.0",
33
+ "@exodus/available-assets": "^2.0.1",
34
34
  "@exodus/balances": "^6.0.0",
35
35
  "@exodus/basic-utils": "^2.0.0",
36
36
  "@exodus/blockchain-metadata": "^8.0.1",
@@ -87,5 +87,5 @@
87
87
  "nock": "^13.3.1",
88
88
  "p-defer": "^4.0.0"
89
89
  },
90
- "gitHead": "5e1b4886d5de0224d5f9e0b4d08d05e1d4890861"
90
+ "gitHead": "9d6e1160ddb2fd7aafec747f4ae52198c761f394"
91
91
  }
package/src/api.js CHANGED
@@ -42,6 +42,7 @@ const createApi = ({ ioc, port }) => {
42
42
  return {
43
43
  wallet: {
44
44
  exists: () => wallet.exists(),
45
+ start: application.start,
45
46
  load: application.load,
46
47
  unload: application.unload,
47
48
  create: application.create,
package/src/index.js CHANGED
@@ -155,8 +155,6 @@ const createExodus = ({ adapters, config, port }) => {
155
155
 
156
156
  attachPlugins({ application, plugins: ioc.getByType('plugin') })
157
157
 
158
- application.start()
159
-
160
158
  return createApi({ ioc, port })
161
159
  }
162
160