Skip to content

Commit 9501268

Browse files
committed
Update AbstractLiveClient.ts
1 parent a5f0bda commit 9501268

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/packages/AbstractLiveClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export abstract class AbstractLiveClient extends AbstractClient {
127127
this.conn = new this.transport(requestUrl, undefined, {
128128
headers: this.headers,
129129
});
130+
this.setupConnection();
130131
return;
131132
}
132133

@@ -143,6 +144,7 @@ export abstract class AbstractLiveClient extends AbstractClient {
143144
});
144145
console.log(`Using WS package`);
145146
});
147+
this.setupConnection();
146148
return;
147149
}
148150

@@ -154,6 +156,7 @@ export abstract class AbstractLiveClient extends AbstractClient {
154156
requestUrl,
155157
accessToken ? ["bearer", accessToken] : ["token", apiKey!]
156158
);
159+
this.setupConnection();
157160
return;
158161
}
159162

0 commit comments

Comments
 (0)