@gearbox-protocol/sdk 3.0.0-vfour.194 → 3.0.0-vfour.195

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.
@@ -72376,7 +72376,7 @@ var GearboxSDK = class _GearboxSDK {
72376
72376
  if (redstoneHistoricTimestamp) {
72377
72377
  this.priceFeeds.redstoneUpdater.historicalTimestamp = redstoneHistoricTimestamp === true ? Number(block.timestamp) * 1e3 : redstoneHistoricTimestamp;
72378
72378
  }
72379
- if (redstoneGateways) {
72379
+ if (redstoneGateways?.length) {
72380
72380
  this.priceFeeds.redstoneUpdater.gateways = redstoneGateways;
72381
72381
  }
72382
72382
  this.logger?.info(
@@ -72369,7 +72369,7 @@ var GearboxSDK = class _GearboxSDK {
72369
72369
  if (redstoneHistoricTimestamp) {
72370
72370
  this.priceFeeds.redstoneUpdater.historicalTimestamp = redstoneHistoricTimestamp === true ? Number(block.timestamp) * 1e3 : redstoneHistoricTimestamp;
72371
72371
  }
72372
- if (redstoneGateways) {
72372
+ if (redstoneGateways?.length) {
72373
72373
  this.priceFeeds.redstoneUpdater.gateways = redstoneGateways;
72374
72374
  }
72375
72375
  this.logger?.info(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-vfour.194",
3
+ "version": "3.0.0-vfour.195",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.cjs",