From 1a9ec90c45edd70667f4429cfeab1050139ae61d Mon Sep 17 00:00:00 2001 From: Med Mouine Date: Thu, 14 Oct 2021 05:17:12 -0400 Subject: [PATCH] Fix undefined options on connection when code is minified --- client/base_client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/base_client.ts b/client/base_client.ts index cac1334..9e35fe7 100644 --- a/client/base_client.ts +++ b/client/base_client.ts @@ -977,7 +977,7 @@ export abstract class Client { } protected startReconnectTimer() { - const options = this.options; + const options = this.options || {}; let reconnectOptions; let defaultOptions;