@exodus/assets-feature 5.0.0 → 5.1.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,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
+ ## [5.1.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@5.0.0...@exodus/assets-feature@5.1.0) (2024-04-23)
7
+
8
+ ### Features
9
+
10
+ - type remaining API methods shipped with headless ([#6619](https://github.com/ExodusMovement/exodus-hydra/issues/6619)) ([d1ec08e](https://github.com/ExodusMovement/exodus-hydra/commit/d1ec08e695f0df2c9e63b01169c746ef872fe541))
11
+
6
12
  ## [5.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@4.1.2...@exodus/assets-feature@5.0.0) (2024-03-11)
7
13
 
8
14
  ### ⚠ BREAKING CHANGES
package/api/index.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ declare const assetsApiDefinition: {
2
+ id: 'assetsApi'
3
+ type: 'api'
4
+ factory(): {
5
+ assets: {
6
+ enableMultiAddressMode(params: { assetNames: string[] }): Promise<void>
7
+ disableMultiAddressMode(params: { assetNames: string[] }): Promise<void>
8
+ disablePurpose(params: { assetName: string; purpose: number }): Promise<void>
9
+ enablePurpose(params: { assetName: string; purpose: number }): Promise<void>
10
+ }
11
+ }
12
+ }
13
+
14
+ export default assetsApiDefinition
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import assetsApiDefinition from './api'
2
+
3
+ declare const assets: () => {
4
+ id: 'assets'
5
+ definitions: [{ definition: typeof assetsApiDefinition }]
6
+ }
7
+
8
+ export default assets
@@ -1,4 +1,4 @@
1
- import ExodusModule from '@exodus/module'
1
+ import ExodusModule from '@exodus/module' // eslint-disable-line import/no-deprecated
2
2
  import { omit } from '@exodus/basic-utils'
3
3
 
4
4
  const MODULE_ID = 'assetPreferences'
@@ -46,8 +46,8 @@ const _isDisabledCustomToken = (token) => token.lifecycleStatus === STATUS.DISAB
46
46
  const normalizeToken = (token) => ({
47
47
  ...token,
48
48
  name: token.name || token.assetName,
49
- displayName: token.displayName || token.properName,
50
- displayTicker: token.displayTicker || token.properTicker,
49
+ displayName: token.displayName || token.properName, // eslint-disable-line @exodus/hydra/no-asset-proper
50
+ displayTicker: token.displayTicker || token.properTicker, // eslint-disable-line @exodus/hydra/no-asset-proper
51
51
  })
52
52
 
53
53
  const initialAssetRegistry = {
package/package.json CHANGED
@@ -1,25 +1,26 @@
1
1
  {
2
2
  "name": "@exodus/assets-feature",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Assets module, clients and apis",
6
6
  "main": "index.js",
7
- "author": "Exodus Movement Inc.",
7
+ "author": "Exodus Movement, Inc.",
8
8
  "scripts": {
9
9
  "test": "run -T jest",
10
10
  "lint": "run -T eslint . --ignore-path ../../.gitignore",
11
11
  "lint:fix": "yarn lint --fix"
12
12
  },
13
13
  "files": [
14
+ "api",
15
+ "atoms",
14
16
  "client",
15
17
  "module",
16
18
  "monitor",
17
19
  "plugin",
18
20
  "redux",
19
- "api",
20
- "atoms",
21
- "README.md",
21
+ "index.d.ts",
22
22
  "CHANGELOG.md",
23
+ "README.md",
23
24
  "!**/__tests__/**"
24
25
  ],
25
26
  "homepage": "https://github.com/ExodusMovement/exodus-hydra/tree/master/features/assets-feature",
@@ -43,13 +44,13 @@
43
44
  "reselect": "^3.0.1"
44
45
  },
45
46
  "devDependencies": {
46
- "@exodus/available-assets": "^8.0.0",
47
+ "@exodus/available-assets": "^8.1.0",
47
48
  "@exodus/bip44-constants": "^195.0.0",
48
49
  "@exodus/bitcoin-meta": "^1.0.1",
49
50
  "@exodus/bitcoin-plugin": "^1.0.3",
50
51
  "@exodus/bitcoinregtest-plugin": "^1.0.3",
51
52
  "@exodus/bitcointestnet-plugin": "^1.0.3",
52
- "@exodus/blockchain-metadata": "^15.1.0",
53
+ "@exodus/blockchain-metadata": "^15.3.0",
53
54
  "@exodus/combined-assets-meta": "^1.2.5",
54
55
  "@exodus/cosmos-plugin": "^1.0.0",
55
56
  "@exodus/ethereum-lib": "^4.2.7",
@@ -57,15 +58,15 @@
57
58
  "@exodus/keychain": "^6.1.1",
58
59
  "@exodus/models": "^9.1.1",
59
60
  "@exodus/osmosis-plugin": "^1.0.0",
60
- "@exodus/public-key-provider": "^2.0.0",
61
+ "@exodus/public-key-provider": "^2.0.1",
61
62
  "@exodus/redux-dependency-injection": "^3.0.0",
62
63
  "@exodus/storage-memory": "^2.1.1",
63
- "@exodus/wallet-accounts": "^16.2.0",
64
+ "@exodus/wallet-accounts": "^16.3.1",
64
65
  "@exodus/wild-emitter": "^1.0.0",
65
66
  "bip39": "^3.1.0",
66
67
  "events": "^3.3.0",
67
68
  "msw": "^2.0.0",
68
69
  "redux": "^4.0.0"
69
70
  },
70
- "gitHead": "d3a937080fe613b640536d3378eb002b4a1838a6"
71
+ "gitHead": "34f1dab70f6c2fc0062d946f5c74ae84e5379539"
71
72
  }