@cloudflare/realtimekit 1.2.1-staging.4 → 1.2.1-staging.5

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.es.js CHANGED
@@ -16849,7 +16849,6 @@ let Id = class extends Ua {
16849
16849
  * @param mediaTrack
16850
16850
  */
16851
16851
  constructor(t, e, r, i) {
16852
- var o;
16853
16852
  const a = t.getValue("logger");
16854
16853
  super(a);
16855
16854
  h(this, "constructorName", this.constructor.name);
@@ -16874,7 +16873,7 @@ let Id = class extends Ua {
16874
16873
  ));
16875
16874
  h(this, "isCustomTrack", !1);
16876
16875
  h(this, "context");
16877
- this.context = t, this.mediaInterface = e, r && this.setMediaTrack(r), this.userSelectedDevice = (o = this.getUserPreferredDevice()) != null ? o : void 0, this.isNonPreferredDevice = i, this.onTrackEnded = this.onTrackEnded.bind(this), this.onTrackMuted = this.onTrackMuted.bind(this);
16876
+ this.context = t, this.mediaInterface = e, r && this.setMediaTrack(r), this.userSelectedDevice = void 0, this.isNonPreferredDevice = i, this.onTrackEnded = this.onTrackEnded.bind(this), this.onTrackMuted = this.onTrackMuted.bind(this);
16878
16877
  }
16879
16878
  /**
16880
16879
  * @access private
@@ -28362,7 +28361,7 @@ let ti = (Kg = class {
28362
28361
  video: !0
28363
28362
  };
28364
28363
  return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", lw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
28365
- })), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.1-staging.4"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new YO()), a;
28364
+ })), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.1-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new YO()), a;
28366
28365
  }
28367
28366
  join() {
28368
28367
  return u(this, null, function* () {