@signalwire/js 3.23.0 → 3.23.1-dev.202307191630.ad9e84d.0

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/dist/index.esm.js CHANGED
@@ -1602,7 +1602,7 @@ var JWTSession = class extends BaseJWTSession {
1602
1602
  this.options = options;
1603
1603
  __publicField(this, "WebSocketConstructor", WebSocket);
1604
1604
  __publicField(this, "CloseEventConstructor", SwCloseEvent);
1605
- __publicField(this, "agent", "@signalwire/js/browser/3.23.0");
1605
+ __publicField(this, "agent", "@signalwire/js/browser/3.23.1-dev.202307191630.ad9e84d.0");
1606
1606
  __publicField(this, "tokenTyp");
1607
1607
  this.tokenTyp = (_a = decodedJwt.typ) != null ? _a : "VRT";
1608
1608
  }
@@ -2277,6 +2277,7 @@ var WSClient = class {
2277
2277
  });
2278
2278
  call.attachPreConnectWorkers();
2279
2279
  call.emitter.once("verto.display", () => resolve(call));
2280
+ call.once("room.subscribed", () => resolve(call));
2280
2281
  await call.join();
2281
2282
  } catch (error) {
2282
2283
  getLogger11().error("WSClient dial", error);