@exodus/balances
Advanced tools
Comparing version 11.0.1 to 11.0.2
@@ -6,2 +6,8 @@ # Change Log | ||
## [11.0.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@11.0.1...@exodus/balances@11.0.2) (2023-09-07) | ||
### Bug Fixes | ||
- ignore changes ([#3881](https://github.com/ExodusMovement/exodus-hydra/issues/3881)) ([7a8e069](https://github.com/ExodusMovement/exodus-hydra/commit/7a8e0695d2c20f76c7bc1d496bfea22c23256a5c)) | ||
## [11.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/balances@11.0.0...@exodus/balances@11.0.1) (2023-09-06) | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "@exodus/balances", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"description": "Tracks crypto balances across enabled wallet accounts.", | ||
@@ -61,3 +61,3 @@ "author": "Exodus Movement Inc.", | ||
}, | ||
"gitHead": "dff17ef7b4c9f0335502b8dc7ad0cc59f6f4ac5a" | ||
"gitHead": "5394fbc03fca18726262bd1cb1ff418eccb5d4dc" | ||
} |
@@ -41,3 +41,4 @@ import id from './id' | ||
balances: (state, payload) => { | ||
if (payload.changes && Object.keys(payload.changes).length > 0) { | ||
const ignoreChanges = state === initialState | ||
if (!ignoreChanges && payload.changes && Object.keys(payload.changes).length > 0) { | ||
return mergeChanges(state, payload.changes) | ||
@@ -44,0 +45,0 @@ } |
34162
520