@cloudflare/realtimekit-react 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
@@ -9635,7 +9635,7 @@ function yC({ baseURI: s }) {
9635
9635
  return s.includes("preprod.dyte") || s.includes("preprod.realtime") ? ko.PREPROD : s.includes("devel.dyte") || s.includes("devel.realtime") ? ko.DEVEL : ko.PROD;
9636
9636
  }
9637
9637
  function la({ servicePrefix: s, baseURI: t }) {
9638
- return t.includes("preprod.realtime.cloudflare.com") || t.includes("devel.realtime.cloudflare.com") ? `${s}-${t}` : `${s}.${t}`;
9638
+ return `${s}.${t}`;
9639
9639
  }
9640
9640
  function rf(s) {
9641
9641
  const t = s.getValue("baseURI");
@@ -30258,7 +30258,7 @@ function eO(s, t) {
30258
30258
  throw Error(`Received V1 auth token ${s}`);
30259
30259
  let n = "dyte.io";
30260
30260
  t && (n = t);
30261
- const o = `https://${la({ servicePrefix: "rtk", baseURI: n })}`;
30261
+ const o = `https://${la({ servicePrefix: "api", baseURI: n })}`;
30262
30262
  return {
30263
30263
  meetingId: e,
30264
30264
  orgId: r,
@@ -30382,7 +30382,7 @@ let si = (Bg = class {
30382
30382
  video: true
30383
30383
  };
30384
30384
  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 || (() => {
30385
- })), 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;
30385
+ })), 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;
30386
30386
  }
30387
30387
  join() {
30388
30388
  return l(this, null, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "1.1.4-staging.1",
3
+ "version": "1.1.4-staging.2",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "private": false,
19
19
  "dependencies": {
20
- "@cloudflare/realtimekit": "1.1.4-staging.1"
20
+ "@cloudflare/realtimekit": "1.1.4-staging.2"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"