@exodus/headless 5.0.0-rc.6 → 5.0.0-rc.8

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,22 @@
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
+ ## [5.0.0-rc.8](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.7...@exodus/headless@5.0.0-rc.8) (2024-05-06)
7
+
8
+ ### Features
9
+
10
+ - always pass config to features ([#6820](https://github.com/ExodusMovement/exodus-hydra/issues/6820)) ([656501d](https://github.com/ExodusMovement/exodus-hydra/commit/656501dc47948bf055decfed3a404bc92170532b))
11
+
12
+ ### Bug Fixes
13
+
14
+ - `createExodus` return type ([#6739](https://github.com/ExodusMovement/exodus-hydra/issues/6739)) ([efa2d18](https://github.com/ExodusMovement/exodus-hydra/commit/efa2d18b60a60f625223515f38b065d0cb6b3827))
15
+
16
+ ## [5.0.0-rc.7](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.6...@exodus/headless@5.0.0-rc.7) (2024-04-29)
17
+
18
+ ### Features
19
+
20
+ - add key-viewer to export encoded private keys ([#6713](https://github.com/ExodusMovement/exodus-hydra/issues/6713)) ([272a0cb](https://github.com/ExodusMovement/exodus-hydra/commit/272a0cb23cd5d76df801d661d16b0238b301e88c))
21
+
6
22
  ## [5.0.0-rc.6](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.5...@exodus/headless@5.0.0-rc.6) (2024-04-26)
7
23
 
8
24
  **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": "5.0.0-rc.6",
3
+ "version": "5.0.0-rc.8",
4
4
  "description": "The platform-agnostic Exodus wallet SDK",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "main": "src/index.js",
@@ -45,7 +45,8 @@
45
45
  "@exodus/geolocation": "^4.1.0",
46
46
  "@exodus/hd-key-slip-10": "^2.0.0",
47
47
  "@exodus/key-ids": "^1.0.0",
48
- "@exodus/keychain": "^6.3.0",
48
+ "@exodus/key-viewer": "^1.0.0",
49
+ "@exodus/keychain": "^6.4.0",
49
50
  "@exodus/locale": "^2.2.0",
50
51
  "@exodus/message-signer": "^1.2.0",
51
52
  "@exodus/module": "^1.2.2",
@@ -71,7 +72,7 @@
71
72
  "@exodus/algorand-lib": "^2.0.1",
72
73
  "@exodus/algorand-meta": "^1.1.4",
73
74
  "@exodus/analytics": "^12.0.0",
74
- "@exodus/announcements": "^2.7.0",
75
+ "@exodus/announcements": "^2.9.0",
75
76
  "@exodus/apy-rates": "^3.3.1",
76
77
  "@exodus/assets-feature": "workspace:^",
77
78
  "@exodus/bip32": "^2.1.1",
@@ -88,12 +89,12 @@
88
89
  "@exodus/litecoin-meta": "^1.0.0",
89
90
  "@exodus/market-history": "^7.4.0",
90
91
  "@exodus/models": "^11.9.0",
91
- "@exodus/nfts": "^9.1.6",
92
+ "@exodus/nfts": "^9.2.0",
92
93
  "@exodus/personal-notes": "^3.6.0",
93
94
  "@exodus/referrals": "^8.3.0",
94
95
  "@exodus/solana-lib": "^2.0.0",
95
96
  "@exodus/solana-meta": "^1.0.2",
96
- "@exodus/storage-encrypted": "^1.3.0",
97
+ "@exodus/storage-encrypted": "^1.4.0",
97
98
  "@exodus/storage-memory": "^2.1.1",
98
99
  "@exodus/top-movers-monitor": "^4.1.0",
99
100
  "@exodus/ui-config": "^3.6.1",
@@ -106,5 +107,5 @@
106
107
  "msw": "^2.0.0",
107
108
  "p-defer": "^4.0.0"
108
109
  },
109
- "gitHead": "03bb317dae9ff91b80091e9421ccad185cc33fab"
110
+ "gitHead": "1a06c11196fc6488cccb67a887fe838681f1c325"
110
111
  }
package/src/index.d.ts CHANGED
@@ -6,6 +6,7 @@ import blockchainMetadata from '@exodus/blockchain-metadata'
6
6
  import enabledAssets from '@exodus/enabled-assets'
7
7
  import featureFlags from '@exodus/feature-flags'
8
8
  import fees from '@exodus/fee-data-monitors'
9
+ import keyViewer from '@exodus/key-viewer'
9
10
  import keychain from '@exodus/keychain'
10
11
  import locale from '@exodus/locale'
11
12
  import messageSigner from '@exodus/message-signer'
@@ -74,6 +75,7 @@ export type ExodusApi = FeatureApi<typeof publicKeyProvider> &
74
75
  FeatureApi<typeof featureFlags> &
75
76
  FeatureApi<typeof fees> &
76
77
  FeatureApi<typeof keychain> &
78
+ FeatureApi<typeof keyViewer> &
77
79
  WalletApi
78
80
 
79
81
  type Params = {
@@ -84,4 +86,4 @@ type Params = {
84
86
 
85
87
  export default function createExodus<D extends Definition<any, any>>(
86
88
  params: Params
87
- ): Argo<D> & { resolve: () => ExodusApi }
89
+ ): Omit<Argo<D>, 'resolve'> & { resolve: () => ExodusApi }
package/src/index.js CHANGED
@@ -9,6 +9,7 @@ import featureFlags from '@exodus/feature-flags'
9
9
  import fees from '@exodus/fee-data-monitors'
10
10
  import filesystem from '@exodus/filesystem'
11
11
  import geolocation from '@exodus/geolocation'
12
+ import keyViewer from '@exodus/key-viewer'
12
13
  import keychain from '@exodus/keychain'
13
14
  import locale from '@exodus/locale'
14
15
  import messageSigner from '@exodus/message-signer'
@@ -46,28 +47,29 @@ const createExodus = (opts) => {
46
47
 
47
48
  ioc.use(application())
48
49
  ioc.use(addressProvider({ config: config.addressProvider, debug }))
49
- ioc.use(assetsFeature())
50
- ioc.use(availableAssets())
50
+ ioc.use(assetsFeature(config.assets))
51
+ ioc.use(availableAssets(config.availableAssets))
51
52
  ioc.use(balances(config.balances))
52
- ioc.use(blockchainMetadata())
53
- ioc.use(enabledAssets())
53
+ ioc.use(blockchainMetadata(config.blockchainMetadata))
54
+ ioc.use(enabledAssets(config.enabledAssets))
54
55
  ioc.use(featureFlags(config.featureFlags))
55
- ioc.use(fees())
56
- ioc.use(filesystem())
57
- ioc.use(geolocation())
56
+ ioc.use(fees(config.fees))
57
+ ioc.use(filesystem(config.filesystem))
58
+ ioc.use(geolocation(config.geolocation))
58
59
  ioc.use(keychain(config.keychain))
59
- ioc.use(locale())
60
- ioc.use(messageSigner())
61
- ioc.use(pricing())
62
- ioc.use(publicKeyProvider())
63
- ioc.use(publicKeyStore())
64
- ioc.use(rates())
65
- ioc.use(remoteConfig())
66
- ioc.use(restoreProgressTracker())
67
- ioc.use(startupCounter())
68
- ioc.use(transactionSigner())
69
- ioc.use(wallet())
70
- ioc.use(walletAccounts())
60
+ ioc.use(keyViewer(config.keyViewer))
61
+ ioc.use(locale(config.locale))
62
+ ioc.use(messageSigner(config.messageSigner))
63
+ ioc.use(pricing(config.pricing))
64
+ ioc.use(publicKeyProvider(config.publicKeyProvider))
65
+ ioc.use(publicKeyStore(config.publicKeyStore))
66
+ ioc.use(rates(config.rates))
67
+ ioc.use(remoteConfig(config.remoteConfig))
68
+ ioc.use(restoreProgressTracker(config.restoreProgressTracker))
69
+ ioc.use(startupCounter(config.startupCounter))
70
+ ioc.use(transactionSigner(config.transactionSigner))
71
+ ioc.use(wallet(config.wallet))
72
+ ioc.use(walletAccounts(config.walletAccounts))
71
73
 
72
74
  ioc.registerMultiple(createDependencies({ adapters, config }))
73
75