From ae487a27e5ce0583652258672bf6f462e7f4698d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 17 Feb 2023 16:50:42 -0500 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 681f4af..1ef9da9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -44,7 +44,7 @@ export class SwarmClient extends Client { this._ready = undefined; } async start() { - this._connectBackoff.run(() => this.init()); + await this._connectBackoff.run(() => this.init()); this._connectBackoff.on("retry", (error) => { this.logErr(error); });