From 0321136ac00216e6e009f531ffcfb25a4b8f3e09 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 23 Jul 2023 12:01:10 -0400 Subject: [PATCH] feat: add synced event --- src/baseClient.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/baseClient.ts b/src/baseClient.ts index b6146e2..181b416 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -177,6 +177,7 @@ export default abstract class BaseClient extends EventEmitter { this.latestCommittee = await this.syncFromLastUpdate(); } this._latestPeriod = currentPeriod; + this.emit("synced"); } this.syncMutex.release();