@exodus/fiat-balances 6.2.0 → 6.2.2
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 +12 -0
- package/module/index.js +2 -1
- package/package.json +5 -5
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
|
+
## [6.2.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@6.2.1...@exodus/fiat-balances@6.2.2) (2023-06-21)
|
|
7
|
+
|
|
8
|
+
### Performance Improvements
|
|
9
|
+
|
|
10
|
+
- dont set same value on observable again ([#2007](https://github.com/ExodusMovement/exodus-hydra/issues/2007)) ([3582c76](https://github.com/ExodusMovement/exodus-hydra/commit/3582c76fcfaebfc447c5ceb4d8be73ab28286047))
|
|
11
|
+
|
|
12
|
+
## [6.2.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@6.2.0...@exodus/fiat-balances@6.2.1) (2023-05-24)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- fiat-balances test ([#1665](https://github.com/ExodusMovement/exodus-hydra/issues/1665)) ([b16a8ec](https://github.com/ExodusMovement/exodus-hydra/commit/b16a8ec2b06049fd59f177fbfb65145bf384f579))
|
|
17
|
+
|
|
6
18
|
## [6.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/fiat-balances@6.1.0...@exodus/fiat-balances@6.2.0) (2023-05-12)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/module/index.js
CHANGED
|
@@ -226,7 +226,8 @@ class FiatBalances extends ExodusModule {
|
|
|
226
226
|
|
|
227
227
|
#flush = () => {
|
|
228
228
|
this._logger.log('fiat balances updated')
|
|
229
|
-
|
|
229
|
+
const data = { balances: this.#balances }
|
|
230
|
+
this.#fiatBalancesAtom.set((current) => (isEqual(current, data) ? current : data))
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
233
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/fiat-balances",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "module to track fiat balances based on changes in crypto balances and fiat currency",
|
|
5
5
|
"author": "Exodus Movement Inc",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"lodash": "^4.17.21"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@exodus/atoms": "^
|
|
35
|
-
"@exodus/balances": "^6.0.
|
|
34
|
+
"@exodus/atoms": "^5.0.0",
|
|
35
|
+
"@exodus/balances": "^6.0.1",
|
|
36
36
|
"@exodus/basic-utils": "^2.0.0",
|
|
37
37
|
"@exodus/blockchain-metadata": "*",
|
|
38
|
-
"@exodus/enabled-assets": "^6.0.
|
|
38
|
+
"@exodus/enabled-assets": "^6.0.2",
|
|
39
39
|
"@exodus/models": "^8.9.0",
|
|
40
40
|
"@exodus/storage-memory": "^2.1.0",
|
|
41
41
|
"@exodus/wallet-accounts": "*",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"events": "^3.3.0",
|
|
44
44
|
"jest": "^29.1.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "00336e775ad930e0dc21b38552f0df39c77a20e5"
|
|
47
47
|
}
|