Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: livekit/client-sdk-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.9.7
Choose a base ref
...
head repository: livekit/client-sdk-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.9.8
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 16, 2025

  1. Use string instead of passing url object to WebSocket constructor (#1443

    )
    davidliu authored Mar 16, 2025
    Copy the full SHA
    c13b845 View commit details
  2. Version Packages (#1444)

    github-actions[bot] authored Mar 16, 2025
    Copy the full SHA
    851aae0 View commit details
Showing with 8 additions and 2 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +1 −1 src/api/SignalClient.ts
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 2.9.8

### Patch Changes

- Use string instead of passing url object to WebSocket constructor - [#1443](https://github.com/livekit/client-sdk-js/pull/1443) ([@davidliu](https://github.com/davidliu))

## 2.9.7

### Patch Changes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "livekit-client",
"version": "2.9.7",
"version": "2.9.8",
"description": "JavaScript/TypeScript client SDK for LiveKit",
"main": "./dist/livekit-client.umd.js",
"unpkg": "./dist/livekit-client.umd.js",
2 changes: 1 addition & 1 deletion src/api/SignalClient.ts
Original file line number Diff line number Diff line change
@@ -310,7 +310,7 @@ export class SignalClient {
if (this.ws) {
await this.close(false);
}
this.ws = new WebSocket(urlObj);
this.ws = new WebSocket(urlObj.toString());
this.ws.binaryType = 'arraybuffer';

this.ws.onopen = () => {