@exodus/fiat-balances 10.4.0 → 10.5.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,18 @@
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
+ ## [10.5.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@10.4.1...@exodus/fiat-balances@10.5.0) (2024-03-21)
7
+
8
+ ### Features
9
+
10
+ - new balances selectors ([#6083](https://github.com/ExodusMovement/exodus-hydra/issues/6083)) ([cd369d2](https://github.com/ExodusMovement/exodus-hydra/commit/cd369d2a9dab3666bcb789c3ebf9e13b8059e634))
11
+
12
+ ## [10.4.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@10.4.0...@exodus/fiat-balances@10.4.1) (2024-03-08)
13
+
14
+ ### Bug Fixes
15
+
16
+ - re-calc fiat balances ([#6037](https://github.com/ExodusMovement/exodus-hydra/issues/6037)) ([846b255](https://github.com/ExodusMovement/exodus-hydra/commit/846b25581c07928a2d4775b0f2e8fdd674b45981))
17
+
6
18
  ## [10.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@10.3.0...@exodus/fiat-balances@10.4.0) (2024-02-28)
7
19
 
8
20
  ### Features
@@ -142,6 +142,7 @@ class FiatBalances extends ExodusModule {
142
142
 
143
143
  #setBalances = ({ balances, changes }) => {
144
144
  const needsRecompute =
145
+ !this.#balances.byWalletAccount ||
145
146
  !changes ||
146
147
  // adding/removing walletAccounts is fairly rare, recompute to reduce code complexity
147
148
  (this.#latestAssetBalances && !areKeysSame(this.#latestAssetBalances, balances))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/fiat-balances",
3
- "version": "10.4.0",
3
+ "version": "10.5.0",
4
4
  "description": "Track asset and portfolio fiat balances based on changes in crypto balances and the user's preferred fiat currency",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "license": "UNLICENSED",
@@ -42,12 +42,12 @@
42
42
  "devDependencies": {
43
43
  "@exodus/assets": "^9.1.0",
44
44
  "@exodus/assets-base": "^8.1.17",
45
- "@exodus/assets-feature": "^4.1.2",
46
- "@exodus/available-assets": "^8.0.0",
47
- "@exodus/balances": "^12.6.1",
45
+ "@exodus/assets-feature": "^5.0.0",
46
+ "@exodus/available-assets": "^8.0.1",
47
+ "@exodus/balances": "^13.0.0",
48
48
  "@exodus/blockchain-metadata": "*",
49
- "@exodus/enabled-assets": "^10.1.1",
50
- "@exodus/favorite-assets": "^2.3.0",
49
+ "@exodus/enabled-assets": "^10.1.2",
50
+ "@exodus/favorite-assets": "^2.4.0",
51
51
  "@exodus/models": "^8.9.0",
52
52
  "@exodus/rates-monitor": "^4.1.1",
53
53
  "@exodus/redux-dependency-injection": "^3.0.0",
@@ -57,5 +57,5 @@
57
57
  "events": "^3.3.0",
58
58
  "redux": "^4.2.1"
59
59
  },
60
- "gitHead": "5a659f1b268b93a3eae271d86375258652bdc184"
60
+ "gitHead": "d5391f8fcf4d672e46580928aedea0fb5d64dbd5"
61
61
  }