@cloudflare/realtimekit 1.4.0-staging.2 → 1.4.0-staging.3

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
@@ -5709,7 +5709,8 @@ class P {
5709
5709
  fetch(this.logsEndpoint, {
5710
5710
  method: "POST",
5711
5711
  headers: {
5712
- "Content-Type": "application/json"
5712
+ "Content-Type": "application/json",
5713
+ Authorization: `Bearer ${e.getValue("authToken")}`
5713
5714
  },
5714
5715
  body: JSON.stringify({
5715
5716
  meetingMetadata: wp(
@@ -25391,7 +25392,8 @@ const vS = (Ag = class {
25391
25392
  flags: s.getValue("flagsmith").getAllFlags(),
25392
25393
  logger: l,
25393
25394
  apiHostnames: GC(s),
25394
- skipConnectivityChecks: p
25395
+ skipConnectivityChecks: p,
25396
+ authToken: s.getValue("authToken")
25395
25397
  }), l.info("Callstats:: initialized");
25396
25398
  } catch (f) {
25397
25399
  l.error("Callstats:: initialization failed", { error: f });
@@ -28251,7 +28253,7 @@ let Qr = (Og = class {
28251
28253
  video: !0
28252
28254
  };
28253
28255
  return n.setValue("options", e), n.setValue("peerId", t), n.setValue("modules", o), n.setValue("sdkName", "web-core"), n.setValue("meetingId", r), n.setValue("apiBase", i.apiBase), n.setValue("baseURI", i.baseURI), n.setValue("userId", i.participantId), n.setValue("organizationId", i.orgId), n.setValue("authToken", e.authToken), n.setValue("overrides", (d = e.overrides) != null ? d : {}), n.setValue("env", jC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
28254
- })), n.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.4.0-staging.2"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new PO()), n;
28256
+ })), n.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.4.0-staging.3"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new PO()), n;
28255
28257
  }
28256
28258
  join() {
28257
28259
  return u(this, null, function* () {