diff --git a/src/common/lib/transport/connectionmanager.ts b/src/common/lib/transport/connectionmanager.ts index 92c87d1a0c..f149f32662 100644 --- a/src/common/lib/transport/connectionmanager.ts +++ b/src/common/lib/transport/connectionmanager.ts @@ -99,6 +99,8 @@ function decodeRecoveryKey(recoveryKey: string): RecoveryContext | null { } } +const supportedTransports: Record = {}; + export class TransportParams { options: ClientOptions; host: string | null; @@ -402,7 +404,9 @@ class ConnectionManager extends EventEmitter { * transport management *********************/ - static supportedTransports: Record = {}; + static get supportedTransports() { + return supportedTransports; + } static initTransports() { WebSocketTransport(ConnectionManager);