@exodus/headless 2.0.0-alpha.57 → 2.0.0-alpha.59

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +4 -4
  3. package/src/dependencies/modules.js +0 -4
  4. package/src/index.js +18 -16
  5. /package/src/{modules → features}/balances/index.js +0 -0
  6. /package/src/{modules → features}/blockchain-metadata/api.js +0 -0
  7. /package/src/{modules → features}/blockchain-metadata/index.js +0 -0
  8. /package/src/{modules → features}/blockchain-metadata/plugin.js +0 -0
  9. /package/src/{modules → features}/blockchain-metadata/utils.js +0 -0
  10. /package/src/{modules → features}/connected-origins/api.js +0 -0
  11. /package/src/{modules → features}/connected-origins/index.js +0 -0
  12. /package/src/{modules → features}/connected-origins/plugin.js +0 -0
  13. /package/src/{modules → features}/enabled-assets/api.js +0 -0
  14. /package/src/{modules → features}/enabled-assets/index.js +0 -0
  15. /package/src/{modules → features}/enabled-assets/plugin.js +0 -0
  16. /package/src/{modules → features}/feature-flags/api.js +0 -0
  17. /package/src/{modules → features}/feature-flags/index.js +0 -0
  18. /package/src/{modules → features}/feature-flags/plugin.js +0 -0
  19. /package/src/{modules → features}/fees/index.js +0 -0
  20. /package/src/{modules → features}/fees/plugin.js +0 -0
  21. /package/src/{modules → features}/fiat-balances/index.js +0 -0
  22. /package/src/{modules → features}/fiat-balances/non-dust-balance-asset-names-atom.js +0 -0
  23. /package/src/{modules → features}/geolocation/index.js +0 -0
  24. /package/src/{modules → features}/geolocation/plugin.js +0 -0
  25. /package/src/{modules → features}/locale/api.js +0 -0
  26. /package/src/{modules → features}/locale/index.js +0 -0
  27. /package/src/{modules → features}/locale/plugin.js +0 -0
  28. /package/src/{modules → features}/market-history/index.js +0 -0
  29. /package/src/{modules → features}/market-history/plugin.js +0 -0
  30. /package/src/{modules → features}/nfts/api.js +0 -0
  31. /package/src/{modules → features}/nfts/index.js +0 -0
  32. /package/src/{modules → features}/nfts/plugin.js +0 -0
  33. /package/src/{modules → features}/pricing/api.js +0 -0
  34. /package/src/{modules → features}/pricing/index.js +0 -0
  35. /package/src/{modules → features}/rates/api.js +0 -0
  36. /package/src/{modules → features}/rates/index.js +0 -0
  37. /package/src/{modules → features}/rates/plugin.js +0 -0
  38. /package/src/{modules → features}/remote-config/api.js +0 -0
  39. /package/src/{modules → features}/remote-config/index.js +0 -0
  40. /package/src/{modules → features}/remote-config/plugin.js +0 -0
  41. /package/src/{modules → features}/wallet/api.js +0 -0
  42. /package/src/{modules → features}/wallet/index.js +0 -0
  43. /package/src/{modules → features}/wallet/locked-atom.js +0 -0
  44. /package/src/{modules → features}/wallet/restore-atom.js +0 -0
  45. /package/src/{modules → features}/wallet/restore-plugin.js +0 -0
  46. /package/src/{modules → features}/wallet-accounts/api.js +0 -0
  47. /package/src/{modules → features}/wallet-accounts/index.js +0 -0
  48. /package/src/{modules → features}/wallet-accounts/plugin.js +0 -0
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.59](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.58...@exodus/headless@2.0.0-alpha.59) (2023-07-04)
7
+
8
+ **Note:** Version bump only for package @exodus/headless
9
+
10
+ ## [2.0.0-alpha.58](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.57...@exodus/headless@2.0.0-alpha.58) (2023-07-03)
11
+
12
+ ### Features
13
+
14
+ - add `currencies` to txs ([#2180](https://github.com/ExodusMovement/exodus-hydra/issues/2180)) ([d0439c1](https://github.com/ExodusMovement/exodus-hydra/commit/d0439c179b2b96993ff7ea8adc7b3143fdc2101d))
15
+ - memoizedKeychain module ([#2106](https://github.com/ExodusMovement/exodus-hydra/issues/2106)) ([ba92e86](https://github.com/ExodusMovement/exodus-hydra/commit/ba92e86b97eeef613d642837dc52702debd7e723))
16
+
6
17
  ## [2.0.0-alpha.57](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.56...@exodus/headless@2.0.0-alpha.57) (2023-07-03)
7
18
 
8
19
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "2.0.0-alpha.57",
3
+ "version": "2.0.0-alpha.59",
4
4
  "description": "The platform-agnostic Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@exodus/available-assets": "^2.0.2",
35
35
  "@exodus/balances": "^6.0.1",
36
36
  "@exodus/basic-utils": "^2.0.0",
37
- "@exodus/blockchain-metadata": "^8.0.1",
37
+ "@exodus/blockchain-metadata": "^8.1.0",
38
38
  "@exodus/config": "^7.0.0",
39
39
  "@exodus/connected-origins": "^1.1.3",
40
40
  "@exodus/crypto-news-monitor": "^2.0.0",
@@ -48,7 +48,7 @@
48
48
  "@exodus/fusion": "^6.0.0",
49
49
  "@exodus/geolocation": "^2.0.1",
50
50
  "@exodus/key-identifier-provider": "^1.1.3",
51
- "@exodus/keychain": "^4.0.2",
51
+ "@exodus/keychain": "^4.1.0",
52
52
  "@exodus/kyc": "^3.5.1",
53
53
  "@exodus/market-history": "^3.1.2",
54
54
  "@exodus/module": "^1.0.0",
@@ -89,5 +89,5 @@
89
89
  "nock": "^13.3.1",
90
90
  "p-defer": "^4.0.0"
91
91
  },
92
- "gitHead": "7afd69339354cbb577cad4bba56442079270e25a"
92
+ "gitHead": "9e03c368ff9b5b799195b15546cf3bd1b6eb62d1"
93
93
  }
@@ -1,6 +1,5 @@
1
1
  import availableAssetsModuleDefinition from '@exodus/available-assets/module'
2
2
  import createKeyIdentifierProvider from '@exodus/key-identifier-provider'
3
- import keychainDefinition from '@exodus/keychain/module'
4
3
  import walletCompatibilityModesDefinition from '@exodus/wallet-compatibility-modes/module'
5
4
 
6
5
  import createApplication from '../application'
@@ -23,9 +22,6 @@ const createModuleDependencies = ({ config }) =>
23
22
  dependencies: [],
24
23
  },
25
24
  },
26
- {
27
- definition: keychainDefinition,
28
- },
29
25
  {
30
26
  definition: walletCompatibilityModesDefinition,
31
27
  },
package/src/index.js CHANGED
@@ -3,29 +3,30 @@ import addressProvider from '@exodus/address-provider'
3
3
  import apyRates from '@exodus/apy-rates'
4
4
  import { pick } from '@exodus/basic-utils'
5
5
  import cryptoNews from '@exodus/crypto-news-monitor'
6
+ import keychain from '@exodus/keychain'
6
7
  import kyc from '@exodus/kyc'
7
8
  import topMovers from '@exodus/top-movers-monitor'
8
9
 
9
10
  import createApi from './api'
10
11
  import attachAtoms from './atoms/attach'
11
12
  import { atomsToAttach } from './constants'
13
+ import balances from './features/balances'
14
+ import blockchainMetadata from './features/blockchain-metadata'
15
+ import connectedOrigins from './features/connected-origins'
16
+ import enabledAssets from './features/enabled-assets'
17
+ import featureFlags from './features/feature-flags'
18
+ import fees from './features/fees'
19
+ import fiatBalances from './features/fiat-balances'
20
+ import geolocation from './features/geolocation'
21
+ import locale from './features/locale'
22
+ import marketHistory from './features/market-history'
23
+ import nfts from './features/nfts'
24
+ import pricing from './features/pricing'
25
+ import rates from './features/rates'
26
+ import remoteConfig from './features/remote-config'
27
+ import wallet from './features/wallet'
28
+ import walletAccounts from './features/wallet-accounts'
12
29
  import createIOC from './ioc'
13
- import balances from './modules/balances'
14
- import blockchainMetadata from './modules/blockchain-metadata'
15
- import connectedOrigins from './modules/connected-origins'
16
- import enabledAssets from './modules/enabled-assets'
17
- import featureFlags from './modules/feature-flags'
18
- import fees from './modules/fees'
19
- import fiatBalances from './modules/fiat-balances'
20
- import geolocation from './modules/geolocation'
21
- import locale from './modules/locale'
22
- import marketHistory from './modules/market-history'
23
- import nfts from './modules/nfts'
24
- import pricing from './modules/pricing'
25
- import rates from './modules/rates'
26
- import remoteConfig from './modules/remote-config'
27
- import wallet from './modules/wallet'
28
- import walletAccounts from './modules/wallet-accounts'
29
30
  import attachPlugins from './plugins/attach'
30
31
 
31
32
  const createExodus = ({ adapters, config, port }) => {
@@ -33,6 +34,7 @@ const createExodus = ({ adapters, config, port }) => {
33
34
  const { headless: headlessConfig, topMoversMonitor } = config
34
35
 
35
36
  ioc.use(wallet())
37
+ ioc.use(keychain(config.keychain))
36
38
  ioc.use(walletAccounts())
37
39
  ioc.use(blockchainMetadata())
38
40
  ioc.use(enabledAssets())
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes