@exodus/headless 2.0.0-alpha.23 → 2.0.0-alpha.24

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.24](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.23...@exodus/headless@2.0.0-alpha.24) (2023-05-26)
7
+
8
+ ### Features
9
+
10
+ - emit extra payload on application create hook ([#1709](https://github.com/ExodusMovement/exodus-hydra/issues/1709)) ([23412f6](https://github.com/ExodusMovement/exodus-hydra/commit/23412f603cb36c1249d0ed8248a1e44742d5dac9))
11
+
6
12
  ## [2.0.0-alpha.23](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.22...@exodus/headless@2.0.0-alpha.23) (2023-05-24)
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.23",
3
+ "version": "2.0.0-alpha.24",
4
4
  "description": "The headless Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc",
6
6
  "main": "src/index.js",
@@ -35,9 +35,9 @@
35
35
  "@exodus/config": "^7.0.0",
36
36
  "@exodus/dependency-injection": "^1.2.0",
37
37
  "@exodus/dependency-preprocessors": "^2.4.0",
38
- "@exodus/enabled-assets": "^6.0.0",
38
+ "@exodus/enabled-assets": "^6.0.1",
39
39
  "@exodus/exodus-pricing-client": "^1.1.0",
40
- "@exodus/feature-flags": "^2.0.0",
40
+ "@exodus/feature-flags": "^2.0.1",
41
41
  "@exodus/fetch": "^1.2.1",
42
42
  "@exodus/geolocation": "^2.0.0",
43
43
  "@exodus/key-identifier-provider": "^1.1.3",
@@ -78,5 +78,5 @@
78
78
  "nock": "^13.3.1",
79
79
  "p-defer": "^4.0.0"
80
80
  },
81
- "gitHead": "a3e8ebd383398275e9052791f6b7ead965a5a82b"
81
+ "gitHead": "197d89380e385198b7cb846b01079c68d46f5d6c"
82
82
  }
@@ -139,7 +139,15 @@ class Application extends ExodusModule {
139
139
  await this.#applicationStarted
140
140
  await this.#wallet.create(opts)
141
141
 
142
- await this.fire(Hook.Create, { hasPassphraseSet: !!opts?.passphrase })
142
+ const isLocked = await this.#wallet.isLocked()
143
+
144
+ await this.fire(Hook.Create, {
145
+ hasPassphraseSet: !!opts?.passphrase,
146
+ isBackedUp: false,
147
+ isLocked,
148
+ isRestoring: false,
149
+ walletExists: true,
150
+ })
143
151
  }
144
152
 
145
153
  import = async (opts) => {