livekit-client 2.9.7 → 2.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "description": "JavaScript/TypeScript client SDK for LiveKit",
5
5
  "main": "./dist/livekit-client.umd.js",
6
6
  "unpkg": "./dist/livekit-client.umd.js",
@@ -310,7 +310,7 @@ export class SignalClient {
310
310
  if (this.ws) {
311
311
  await this.close(false);
312
312
  }
313
- this.ws = new WebSocket(urlObj);
313
+ this.ws = new WebSocket(urlObj.toString());
314
314
  this.ws.binaryType = 'arraybuffer';
315
315
 
316
316
  this.ws.onopen = () => {