@exodus/balances 13.2.0 → 13.2.1

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
+ ## [13.2.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@13.2.0...@exodus/balances@13.2.1) (2024-06-26)
7
+
8
+ ### Bug Fixes
9
+
10
+ - using right currency on fuelThreshold ([#7522](https://github.com/ExodusMovement/exodus-hydra/issues/7522)) ([1c87c6e](https://github.com/ExodusMovement/exodus-hydra/commit/1c87c6e67c8d930bbb0e1605173da138c1ef1be5))
11
+
6
12
  ## [13.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@13.1.2...@exodus/balances@13.2.0) (2024-05-29)
7
13
 
8
14
  ### Features
package/module/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { isNumberUnit } from '@exodus/currency'
2
2
  import { TxSet } from '@exodus/models'
3
3
  import ExodusModule from '@exodus/module' // eslint-disable-line import/no-deprecated
4
- import { cloneDeepWith, isEmpty, merge, set, zipObject } from 'lodash'
5
- import { difference, flattenToPaths, pick } from '@exodus/basic-utils'
4
+ import { cloneDeepWith, isEmpty, merge, zipObject } from 'lodash'
5
+ import { difference, flattenToPaths, pick, set } from '@exodus/basic-utils'
6
6
  import makeConcurrent from 'make-concurrent'
7
7
  import { processAssetBalances, validateBalances } from './balances-utils'
8
8
  import defaultConfig from '../default-config'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/balances",
3
- "version": "13.2.0",
3
+ "version": "13.2.1",
4
4
  "description": "Tracks crypto balances across enabled wallet accounts.",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "license": "UNLICENSED",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@exodus/atoms": "^7.0.5",
34
- "@exodus/basic-utils": "^2.1.0",
34
+ "@exodus/basic-utils": "^2.5.1",
35
35
  "@exodus/core-selectors": "^1.5.0",
36
36
  "@exodus/currency": "^2.1.2",
37
37
  "@exodus/models": "^10.1.0",
@@ -49,17 +49,17 @@
49
49
  "devDependencies": {
50
50
  "@exodus/assets": "^8.0.94",
51
51
  "@exodus/assets-base": "^8.1.10",
52
- "@exodus/assets-feature": "^5.4.0",
53
- "@exodus/available-assets": "^8.2.1",
52
+ "@exodus/assets-feature": "^5.6.0",
53
+ "@exodus/available-assets": "^8.3.0",
54
54
  "@exodus/bitcoin-meta": "^1.0.1",
55
55
  "@exodus/blockchain-metadata": "^9.0.1",
56
56
  "@exodus/ethereum-meta": "^1.0.30",
57
57
  "@exodus/fee-data-monitors": "^4.2.0",
58
58
  "@exodus/redux-dependency-injection": "workspace:^",
59
59
  "@exodus/storage-memory": "*",
60
- "@exodus/wallet-accounts": "^16.5.2",
60
+ "@exodus/wallet-accounts": "^16.7.1",
61
61
  "events": "^3.3.0",
62
62
  "redux": "^4.2.1"
63
63
  },
64
- "gitHead": "b6bca3dcc61f45b06963efa491682875261362c5"
64
+ "gitHead": "7c12959ab914cce84a1ba3cce64253185599eefe"
65
65
  }
@@ -11,9 +11,10 @@ const selectorFactory = (getFeeDataSelector, assetsSelector) =>
11
11
  return null
12
12
  }
13
13
 
14
- const baseAsset = asset.baseAsset
15
- const feeData = getFeeData(baseAsset.name)
16
- return isNumberUnit(feeData?.fuelThreshold) ? feeData.fuelThreshold : baseAsset.currency.ZERO
14
+ const feeData = getFeeData(asset.baseAsset.name)
15
+ return isNumberUnit(feeData?.fuelThreshold)
16
+ ? feeData.fuelThreshold
17
+ : asset.feeAsset.currency.ZERO
17
18
  })
18
19
  )
19
20