@cloudflare/realtimekit 1.1.4-staging.1 → 1.1.4-staging.2

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
@@ -9628,7 +9628,7 @@ function yC({ baseURI: s }) {
9628
9628
  return s.includes("preprod.dyte") || s.includes("preprod.realtime") ? ko.PREPROD : s.includes("devel.dyte") || s.includes("devel.realtime") ? ko.DEVEL : ko.PROD;
9629
9629
  }
9630
9630
  function la({ servicePrefix: s, baseURI: t }) {
9631
- return t.includes("preprod.realtime.cloudflare.com") || t.includes("devel.realtime.cloudflare.com") ? `${s}-${t}` : `${s}.${t}`;
9631
+ return `${s}.${t}`;
9632
9632
  }
9633
9633
  function rf(s) {
9634
9634
  const t = s.getValue("baseURI");
@@ -30251,7 +30251,7 @@ function eO(s, t) {
30251
30251
  throw Error(`Received V1 auth token ${s}`);
30252
30252
  let n = "dyte.io";
30253
30253
  t && (n = t);
30254
- const o = `https://${la({ servicePrefix: "rtk", baseURI: n })}`;
30254
+ const o = `https://${la({ servicePrefix: "api", baseURI: n })}`;
30255
30255
  return {
30256
30256
  meetingId: e,
30257
30257
  orgId: r,
@@ -30375,7 +30375,7 @@ let si = (Bg = class {
30375
30375
  video: true
30376
30376
  };
30377
30377
  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", yC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
30378
- })), n.setValue("cachedUserDetails", Ps(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.4-staging.1"), (u = e.modules) != null && u.experimentalAudioPlayback && n.setValue("audioPlayback", new sO()), n;
30378
+ })), n.setValue("cachedUserDetails", Ps(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.4-staging.2"), (u = e.modules) != null && u.experimentalAudioPlayback && n.setValue("audioPlayback", new sO()), n;
30379
30379
  }
30380
30380
  join() {
30381
30381
  return l(this, null, function* () {