@gearbox-protocol/sdk 9.14.0 → 9.14.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.
|
@@ -458,7 +458,11 @@ class GearboxSDK {
|
|
|
458
458
|
this.#currentBlock = blockNumber;
|
|
459
459
|
this.#timestamp = timestamp;
|
|
460
460
|
await this.marketRegister.syncState(ignoreUpdateablePrices);
|
|
461
|
-
await this.#hooks.triggerHooks("syncState", {
|
|
461
|
+
await this.#hooks.triggerHooks("syncState", {
|
|
462
|
+
blockNumber,
|
|
463
|
+
timestamp,
|
|
464
|
+
ignoreUpdateablePrices
|
|
465
|
+
});
|
|
462
466
|
const pluginsList = import_utils.TypedObjectUtils.entries(this.plugins);
|
|
463
467
|
const pluginResponse = await Promise.allSettled(
|
|
464
468
|
pluginsList.map(([name, plugin]) => {
|
|
@@ -456,7 +456,11 @@ class GearboxSDK {
|
|
|
456
456
|
this.#currentBlock = blockNumber;
|
|
457
457
|
this.#timestamp = timestamp;
|
|
458
458
|
await this.marketRegister.syncState(ignoreUpdateablePrices);
|
|
459
|
-
await this.#hooks.triggerHooks("syncState", {
|
|
459
|
+
await this.#hooks.triggerHooks("syncState", {
|
|
460
|
+
blockNumber,
|
|
461
|
+
timestamp,
|
|
462
|
+
ignoreUpdateablePrices
|
|
463
|
+
});
|
|
460
464
|
const pluginsList = TypedObjectUtils.entries(this.plugins);
|
|
461
465
|
const pluginResponse = await Promise.allSettled(
|
|
462
466
|
pluginsList.map(([name, plugin]) => {
|