@gearbox-protocol/sdk 1.15.2 → 1.15.4

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.
@@ -125,7 +125,9 @@ var PoolRewards = /** @class */ (function () {
125
125
  balancesRange = {};
126
126
  totalSupply = ethers_1.BigNumber.from(0);
127
127
  balances = {};
128
- query.forEach(function (e) {
128
+ query
129
+ .filter(function (e) { return !e.args.value.isZero(); })
130
+ .forEach(function (e) {
129
131
  var from = e.args.from.toLowerCase();
130
132
  if (from === constants_1.ADDRESS_0X0) {
131
133
  totalSupply = totalSupply.add(e.args.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.15.2",
3
+ "version": "1.15.4",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",