@exodus/balances 1.1.0 → 1.1.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/index.js +3 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -219,13 +219,14 @@ class Balances extends ExodusModule {
|
|
|
219
219
|
this._logger.log('balances updated')
|
|
220
220
|
|
|
221
221
|
const oldBalances = this.#oldBalances
|
|
222
|
+
const balances = cloneBalances(this.#balances)
|
|
222
223
|
this.emit('balances', {
|
|
223
|
-
balances
|
|
224
|
+
balances,
|
|
224
225
|
oldBalances,
|
|
225
226
|
changes,
|
|
226
227
|
})
|
|
227
228
|
|
|
228
|
-
this.#oldBalances =
|
|
229
|
+
this.#oldBalances = balances
|
|
229
230
|
}
|
|
230
231
|
}
|
|
231
232
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/balances",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "balances",
|
|
5
5
|
"author": "Exodus Movement Inc",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"@exodus/basic-utils": "^1.0.0",
|
|
32
32
|
"@exodus/models": "^8.9.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "cbca7f075af27af557d498dc6dc74f61909434ad"
|
|
35
35
|
}
|