@exodus/balances 13.0.0 → 13.0.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.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@13.0.0...@exodus/balances@13.0.1) (2024-04-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - dedupe funded-wallet-accounts ([#6399](https://github.com/ExodusMovement/exodus-hydra/issues/6399)) ([bb9c97f](https://github.com/ExodusMovement/exodus-hydra/commit/bb9c97f08aed19a4b3390c1ec9ba46a1459a249c))
11
+
6
12
  ## [13.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@12.6.1...@exodus/balances@13.0.0) (2024-03-21)
7
13
 
8
14
  ### ⚠ BREAKING CHANGES
@@ -1,4 +1,4 @@
1
- import { combine, compute } from '@exodus/atoms'
1
+ import { combine, compute, dedupe } from '@exodus/atoms'
2
2
  import { mapValues } from '@exodus/basic-utils'
3
3
 
4
4
  const computeFundedWalletAccounts = ({ walletAccounts, balances }) => {
@@ -14,10 +14,12 @@ const createFundedWalletAccountsAtom = ({ balancesAtom, enabledWalletAccountsAto
14
14
  balances: balancesAtom,
15
15
  })
16
16
 
17
- return compute({
18
- atom: walletAccountsBalanceAtom,
19
- selector: computeFundedWalletAccounts,
20
- })
17
+ return dedupe(
18
+ compute({
19
+ atom: walletAccountsBalanceAtom,
20
+ selector: computeFundedWalletAccounts,
21
+ })
22
+ )
21
23
  }
22
24
 
23
25
  export default createFundedWalletAccountsAtom
package/module/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { isNumberUnit } from '@exodus/currency'
2
2
  import { TxSet } from '@exodus/models'
3
- import ExodusModule from '@exodus/module'
3
+ import ExodusModule from '@exodus/module' // eslint-disable-line import/no-deprecated
4
4
  import { cloneDeepWith, isEmpty, merge, set, zipObject } from 'lodash'
5
5
  import { difference, flattenToPaths, pick } from '@exodus/basic-utils'
6
6
  import makeConcurrent from 'make-concurrent'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/balances",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "Tracks crypto balances across enabled wallet accounts.",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "license": "UNLICENSED",
@@ -58,5 +58,5 @@
58
58
  "events": "^3.3.0",
59
59
  "redux": "^4.2.1"
60
60
  },
61
- "gitHead": "d5391f8fcf4d672e46580928aedea0fb5d64dbd5"
61
+ "gitHead": "06d142f0b1d195bc7e0a13805becad04a1da5c52"
62
62
  }