diff --git a/src/node/client.ts b/src/node/client.ts index e85d024..a72d536 100644 --- a/src/node/client.ts +++ b/src/node/client.ts @@ -25,4 +25,14 @@ export default class Client extends BaseClient { this.beaconUrl = config.beaconUrl; this.http.defaults.baseURL = this.beaconUrl; } + + async sync(): Promise { + await super.sync(); + + if (!this.booted) { + this.subscribe(); + + this.booted = true; + } + } }