livekit-client 1.2.6 → 1.2.7

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": "1.2.6",
3
+ "version": "1.2.7",
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",
package/src/room/Room.ts CHANGED
@@ -648,8 +648,8 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
648
648
  if (this.connectFuture === this.reconnectFuture) {
649
649
  this.connectFuture?.reject(undefined);
650
650
  this.connectFuture = undefined;
651
- this.reconnectFuture = undefined;
652
651
  }
652
+ this.reconnectFuture = undefined;
653
653
 
654
654
  this.participants.forEach((p) => {
655
655
  p.tracks.forEach((pub) => {