@exodus/assets-feature 5.11.2 → 5.11.3

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,10 @@
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.11.3](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@5.11.2...@exodus/assets-feature@5.11.3) (2024-09-09)
7
+
8
+ **Note:** Version bump only for package @exodus/assets-feature
9
+
6
10
  ## [5.11.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@5.11.1...@exodus/assets-feature@5.11.2) (2024-09-05)
7
11
 
8
12
  ### Bug Fixes
@@ -1,7 +1,6 @@
1
- import { pickBy } from '@exodus/basic-utils'
2
- import lodash from 'lodash'
1
+ import { pickBy, filterAsync } from '@exodus/basic-utils'
2
+ import lodash from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils
3
3
  import assert from 'minimalistic-assert'
4
- import { filterAsync } from '@exodus/basic-utils/src/async.js'
5
4
 
6
5
  const { isEmpty } = lodash
7
6
 
@@ -1,4 +1,3 @@
1
- /* eslint-disable unicorn/prefer-spread */
2
1
  import {
3
2
  createAssetRegistry,
4
3
  CT_DEFAULT_SERVER,
@@ -6,8 +5,7 @@ import {
6
5
  CT_UPDATEABLE_PROPERTIES,
7
6
  } from '@exodus/assets'
8
7
  import { keyBy, mapValues, partition, pick, pickBy } from '@exodus/basic-utils'
9
- // eslint-disable-next-line @exodus/restricted-imports/prefer-basic-utils
10
- import lodash from 'lodash'
8
+ import lodash from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils
11
9
  import assert from 'minimalistic-assert'
12
10
 
13
11
  import {
@@ -297,7 +295,7 @@ export class AssetsModule {
297
295
 
298
296
  this.#flushChanges({ added, updated })
299
297
 
300
- return added.concat(updated)
298
+ return [...added, ...updated]
301
299
  }
302
300
 
303
301
  addRemoteTokens = async ({ tokenNames }) => {
package/module/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CT_STATUS as STATUS } from '@exodus/assets'
2
- import lodash from 'lodash'
2
+ import lodash from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils
3
3
  import assert from 'minimalistic-assert'
4
4
 
5
5
  const { get } = lodash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/assets-feature",
3
- "version": "5.11.2",
3
+ "version": "5.11.3",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Assets module, clients and apis",
6
6
  "type": "module",
@@ -8,7 +8,7 @@
8
8
  "author": "Exodus Movement, Inc.",
9
9
  "scripts": {
10
10
  "test": "run -T exodus-test --jest --esbuild",
11
- "lint": "run -T eslint . --ignore-path ../../.gitignore",
11
+ "lint": "run -T eslint .",
12
12
  "lint:fix": "yarn lint --fix"
13
13
  },
14
14
  "files": [
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@exodus/assets": "^11.0.0",
37
- "@exodus/atoms": "^8.0.0",
37
+ "@exodus/atoms": "^8.1.1",
38
38
  "@exodus/basic-utils": "^3.0.1",
39
39
  "@exodus/fetch": "^1.3.0",
40
40
  "@exodus/module": "^1.2.2",
@@ -51,7 +51,7 @@
51
51
  "@exodus/bitcoin-plugin": "^1.0.3",
52
52
  "@exodus/bitcoinregtest-plugin": "^1.0.3",
53
53
  "@exodus/bitcointestnet-plugin": "^1.0.3",
54
- "@exodus/blockchain-metadata": "^15.4.0",
54
+ "@exodus/blockchain-metadata": "^15.5.0",
55
55
  "@exodus/cardano-lib": "^2.2.0",
56
56
  "@exodus/combined-assets-meta": "^3.0.0",
57
57
  "@exodus/cosmos-plugin": "^1.0.0",
@@ -62,14 +62,14 @@
62
62
  "@exodus/osmosis-plugin": "^1.0.0",
63
63
  "@exodus/public-key-provider": "^2.5.0",
64
64
  "@exodus/public-key-store": "^1.2.2",
65
- "@exodus/redux-dependency-injection": "^4.0.2",
65
+ "@exodus/redux-dependency-injection": "^4.0.3",
66
66
  "@exodus/storage-memory": "^2.2.0",
67
- "@exodus/wallet-accounts": "^16.10.1",
67
+ "@exodus/wallet-accounts": "^16.10.2",
68
68
  "@exodus/wild-emitter": "^1.0.0",
69
69
  "bip39": "^3.1.0",
70
70
  "events": "^3.3.0",
71
71
  "msw": "^2.0.0",
72
72
  "redux": "^4.0.0"
73
73
  },
74
- "gitHead": "a758fd2522b6a4b638f10a340cf87a6d64c814de"
74
+ "gitHead": "d64de7579b06afe91fbded3d1f7eb29950f82e5a"
75
75
  }
@@ -1,9 +1,9 @@
1
1
  import { keyBy } from '@exodus/basic-utils'
2
2
  import { createSelector } from 'reselect'
3
3
 
4
- import lodash from 'lodash'
4
+ import lodash from 'lodash' // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils
5
5
 
6
- const { memoize } = lodash // eslint-disable-line @exodus/restricted-imports/prefer-basic-utils -- TODO: fix next time we touch this file
6
+ const { memoize } = lodash
7
7
 
8
8
  // just a semantic alias for `data`
9
9
  const allAssetsSelectorDefinition = {