@exodus/headless 3.1.2 → 3.2.0

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,13 @@
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
+ ## [3.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@3.1.2...@exodus/headless@3.2.0) (2024-02-14)
7
+
8
+ ### Features
9
+
10
+ - add public key provider ([#5659](https://github.com/ExodusMovement/exodus-hydra/issues/5659)) ([b972507](https://github.com/ExodusMovement/exodus-hydra/commit/b972507d7ad7c998f37f15a716deee0901e68174))
11
+ - enabled-assets to v10.1.0 ([#5708](https://github.com/ExodusMovement/exodus-hydra/issues/5708)) ([cf484fa](https://github.com/ExodusMovement/exodus-hydra/commit/cf484fad2695a9cb4575edc0050ed604cc6235ac))
12
+
6
13
  ## [3.1.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@3.1.1...@exodus/headless@3.1.2) (2024-02-02)
7
14
 
8
15
  **Note:** Version bump only for package @exodus/headless
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "3.1.2",
3
+ "version": "3.2.0",
4
4
  "description": "The platform-agnostic Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "main": "src/index.js",
@@ -36,7 +36,7 @@
36
36
  "@exodus/blockchain-metadata": "^15.0.0",
37
37
  "@exodus/dependency-injection": "^2.1.0",
38
38
  "@exodus/dependency-preprocessors": "^5.1.0",
39
- "@exodus/enabled-assets": "^9.1.0",
39
+ "@exodus/enabled-assets": "^10.1.0",
40
40
  "@exodus/feature-flags": "^5.1.0",
41
41
  "@exodus/fee-data-monitors": "^3.0.0",
42
42
  "@exodus/fetch": "^1.2.1",
@@ -45,10 +45,12 @@
45
45
  "@exodus/geolocation": "^4.1.0",
46
46
  "@exodus/hd-key-slip-10": "^2.0.0",
47
47
  "@exodus/key-identifier-provider": "^1.4.0",
48
+ "@exodus/key-ids": "^1.0.0",
48
49
  "@exodus/keychain": "^5.0.1",
49
50
  "@exodus/locale": "^2.0.2",
50
51
  "@exodus/module": "^1.2.2",
51
52
  "@exodus/pricing": "^1.1.0",
53
+ "@exodus/public-key-provider": "^1.0.0",
52
54
  "@exodus/public-key-store": "^1.2.0",
53
55
  "@exodus/rates-monitor": "^4.0.2",
54
56
  "@exodus/remote-config": "^2.3.0",
@@ -68,7 +70,7 @@
68
70
  "@exodus/ab-testing": "^7.3.0",
69
71
  "@exodus/algorand-lib": "^2.0.1",
70
72
  "@exodus/algorand-meta": "^1.1.4",
71
- "@exodus/analytics": "^12.0.1",
73
+ "@exodus/analytics": "^12.0.2",
72
74
  "@exodus/apy-rates": "^3.3.1",
73
75
  "@exodus/assets-feature": "workspace:^",
74
76
  "@exodus/bitcoin-plugin": "^1.0.14",
@@ -103,5 +105,5 @@
103
105
  "msw": "^2.0.0",
104
106
  "p-defer": "^4.0.0"
105
107
  },
106
- "gitHead": "4a8c81564820e017474d48d61f622d6280d773d3"
108
+ "gitHead": "650cfa1ec2fa8d052a4fcbbcb033b0febed931d8"
107
109
  }
package/src/index.js CHANGED
@@ -12,6 +12,7 @@ import geolocation from '@exodus/geolocation'
12
12
  import keychain from '@exodus/keychain'
13
13
  import locale from '@exodus/locale'
14
14
  import pricing from '@exodus/pricing'
15
+ import publicKeyProvider from '@exodus/public-key-provider'
15
16
  import publicKeyStore from '@exodus/public-key-store'
16
17
  import rates from '@exodus/rates-monitor'
17
18
  import remoteConfig from '@exodus/remote-config'
@@ -44,6 +45,7 @@ const createExodus = ({ adapters, config, port, debug = false }) => {
44
45
  ioc.use(keychain(config.keychain))
45
46
  ioc.use(locale())
46
47
  ioc.use(pricing())
48
+ ioc.use(publicKeyProvider())
47
49
  ioc.use(publicKeyStore())
48
50
  ioc.use(rates())
49
51
  ioc.use(remoteConfig())
@@ -1,4 +1,4 @@
1
- import { EXODUS_KEY_IDS } from '@exodus/keychain/module'
1
+ import { EXODUS_KEY_IDS } from '@exodus/key-ids'
2
2
  import sodium from '@exodus/sodium-crypto'
3
3
 
4
4
  const WALLET_INFO_KEY = EXODUS_KEY_IDS.WALLET_INFO
@@ -16,10 +16,11 @@ const createUnlockEncryptedStorage = ({ keychain }) => {
16
16
  }
17
17
  }
18
18
 
19
- // eslint-disable-next-line @exodus/export-default/named
20
- export default {
19
+ const unlockEncryptedStorageDefinition = {
21
20
  id: 'unlockEncryptedStorage',
22
21
  type: 'module',
23
22
  factory: createUnlockEncryptedStorage,
24
23
  dependencies: ['keychain'],
25
24
  }
25
+
26
+ export default unlockEncryptedStorageDefinition