@cloudflare/realtimekit 1.4.0-staging.3 → 1.4.0-staging.4
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/browser.js +2 -2
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +14 -4
- package/dist/index.es5.js +3 -3
- package/dist/index.rn.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15236,15 +15236,25 @@ class l0 {
|
|
|
15236
15236
|
}
|
|
15237
15237
|
vi = new WeakMap();
|
|
15238
15238
|
class _h {
|
|
15239
|
-
constructor(t, e, r) {
|
|
15239
|
+
constructor(t, e, r, i) {
|
|
15240
|
+
/**
|
|
15241
|
+
* The participant authToken passed to `RealtimeKitClient.init()`.
|
|
15242
|
+
* Can be used for troubleshooting.
|
|
15243
|
+
*/
|
|
15244
|
+
h(this, "authToken");
|
|
15240
15245
|
h(this, "logger");
|
|
15241
15246
|
h(this, "features");
|
|
15242
15247
|
h(this, "browserSpecs");
|
|
15243
15248
|
h(this, "callStats");
|
|
15244
|
-
this.
|
|
15249
|
+
this.authToken = t, this.logger = e, this.features = r, this.browserSpecs = _e, this.callStats = i;
|
|
15245
15250
|
}
|
|
15246
15251
|
static init(t) {
|
|
15247
|
-
return new _h(
|
|
15252
|
+
return new _h(
|
|
15253
|
+
t.getValue("authToken"),
|
|
15254
|
+
t.getValue("logger"),
|
|
15255
|
+
new l0(t),
|
|
15256
|
+
t.getValue("callstats")
|
|
15257
|
+
);
|
|
15248
15258
|
}
|
|
15249
15259
|
}
|
|
15250
15260
|
class Ch {
|
|
@@ -28253,7 +28263,7 @@ let Qr = (Og = class {
|
|
|
28253
28263
|
video: !0
|
|
28254
28264
|
};
|
|
28255
28265
|
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 || (() => {
|
|
28256
|
-
})), n.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.4.0-staging.
|
|
28266
|
+
})), n.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), n.setValue("sdkVersion", "1.4.0-staging.4"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new PO()), n;
|
|
28257
28267
|
}
|
|
28258
28268
|
join() {
|
|
28259
28269
|
return u(this, null, function* () {
|
package/dist/index.es5.js
CHANGED
|
@@ -14606,11 +14606,11 @@ var ia = /* @__PURE__ */ E("context"), DI = /* @__PURE__ */ function() {
|
|
|
14606
14606
|
return c(this, ia)[ia].getValue("flagsmith").getAllFlags();
|
|
14607
14607
|
} }]);
|
|
14608
14608
|
}(), $I = /* @__PURE__ */ function() {
|
|
14609
|
-
function o(t, e, r) {
|
|
14610
|
-
w(this, o), this.logger = void 0, this.features = void 0, this.browserSpecs = void 0, this.callStats = void 0, this.
|
|
14609
|
+
function o(t, e, r, n) {
|
|
14610
|
+
w(this, o), this.authToken = void 0, this.logger = void 0, this.features = void 0, this.browserSpecs = void 0, this.callStats = void 0, this.authToken = t, this.logger = e, this.features = r, this.browserSpecs = Sr, this.callStats = n;
|
|
14611
14611
|
}
|
|
14612
14612
|
return P(o, null, [{ key: "init", value: function(e) {
|
|
14613
|
-
return new o(e.getValue("logger"), new DI(e), e.getValue("callstats"));
|
|
14613
|
+
return new o(e.getValue("authToken"), e.getValue("logger"), new DI(e), e.getValue("callstats"));
|
|
14614
14614
|
} }]);
|
|
14615
14615
|
}(), LI = /* @__PURE__ */ function() {
|
|
14616
14616
|
function o(t) {
|