@desivocal/agents-cdn 1.0.20-alpha.43 → 1.0.20-alpha.44
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/dv-agent.es.js +10 -11
- package/dist/dv-agent.umd.js +23 -23
- package/package.json +1 -1
package/dist/dv-agent.es.js
CHANGED
|
@@ -13164,7 +13164,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13164
13164
|
};
|
|
13165
13165
|
}
|
|
13166
13166
|
}
|
|
13167
|
-
function
|
|
13167
|
+
function Yse(i) {
|
|
13168
13168
|
return i;
|
|
13169
13169
|
}
|
|
13170
13170
|
function A6(i) {
|
|
@@ -15394,9 +15394,9 @@ Incoming: %s`, Ae, "[" + o.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15394
15394
|
}
|
|
15395
15395
|
return [P, C];
|
|
15396
15396
|
}
|
|
15397
|
-
function
|
|
15397
|
+
function Kse(i, o, f) {
|
|
15398
15398
|
}
|
|
15399
|
-
function
|
|
15399
|
+
function Zse(i, o, f) {
|
|
15400
15400
|
}
|
|
15401
15401
|
function nx(i, o, f) {
|
|
15402
15402
|
var m = lr, y = jl(), C, w = oa();
|
|
@@ -27736,7 +27736,7 @@ function LH() {
|
|
|
27736
27736
|
return typeof window.RTCRtpSender < "u" && // @ts-ignore
|
|
27737
27737
|
typeof window.RTCRtpSender.prototype.createEncodedStreams < "u";
|
|
27738
27738
|
}
|
|
27739
|
-
class
|
|
27739
|
+
class Xse extends au.EventEmitter {
|
|
27740
27740
|
constructor() {
|
|
27741
27741
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
27742
27742
|
super(), this.onKeyRatcheted = (n, r) => {
|
|
@@ -36600,7 +36600,7 @@ class mq extends zd {
|
|
|
36600
36600
|
});
|
|
36601
36601
|
}
|
|
36602
36602
|
}
|
|
36603
|
-
class
|
|
36603
|
+
class Jse extends au.EventEmitter {
|
|
36604
36604
|
constructor(e, n) {
|
|
36605
36605
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
36606
36606
|
super(), this.options = {}, this.checkResults = /* @__PURE__ */ new Map(), this.url = e, this.token = n, this.options = r;
|
|
@@ -60418,9 +60418,8 @@ function $se(t, e) {
|
|
|
60418
60418
|
});
|
|
60419
60419
|
}), n;
|
|
60420
60420
|
}
|
|
60421
|
-
const qse =
|
|
60421
|
+
const qse = ({ room: t, config: e }) => {
|
|
60422
60422
|
var zi, Qi, Xi, Ja, Go, Yo, eo;
|
|
60423
|
-
console.log(`[Ringg CDN] Version: ${qse}`);
|
|
60424
60423
|
const [n, r] = G.useState({}), a = e, {
|
|
60425
60424
|
mode: s = Em.mode,
|
|
60426
60425
|
title: l = Em.title,
|
|
@@ -60882,11 +60881,11 @@ const qse = "1.0.20-alpha.43", Wse = ({ room: t, config: e }) => {
|
|
|
60882
60881
|
/* @__PURE__ */ W.jsx(iG, {}),
|
|
60883
60882
|
!1
|
|
60884
60883
|
] });
|
|
60885
|
-
},
|
|
60884
|
+
}, Wse = "1.0.20-alpha.44", Gse = ({ config: t }) => {
|
|
60886
60885
|
const [e] = G.useState(() => new Zm({ dynacast: !0, adaptiveStream: !0 }));
|
|
60887
60886
|
return G.useEffect(() => {
|
|
60888
|
-
console.log(`%c[Ringg CDN] v${
|
|
60889
|
-
}, [t]), /* @__PURE__ */ W.jsx(LR.Provider, { value: e, children: /* @__PURE__ */ W.jsx(
|
|
60887
|
+
console.log(`%c[Ringg CDN] v${Wse} initialized`, "background: #7c3aed; color: white; padding: 2px 8px; border-radius: 4px;"), console.log("[Ringg CDN] Config:", t);
|
|
60888
|
+
}, [t]), /* @__PURE__ */ W.jsx(LR.Provider, { value: e, children: /* @__PURE__ */ W.jsx(qse, { config: t, room: e }) });
|
|
60890
60889
|
};
|
|
60891
60890
|
{
|
|
60892
60891
|
const t = "ringg_ai_container";
|
|
@@ -60895,7 +60894,7 @@ const qse = "1.0.20-alpha.43", Wse = ({ room: t, config: e }) => {
|
|
|
60895
60894
|
console.log("%c[Ringg CDN] loadAgent called", "background: #22c55e; color: white; padding: 2px 8px; border-radius: 4px;", a);
|
|
60896
60895
|
let s = n.getElementById(t);
|
|
60897
60896
|
s || (s = n.createElement("div"), s.id = t, n.body.appendChild(s)), Ay.createRoot(s).render(
|
|
60898
|
-
/* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(
|
|
60897
|
+
/* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(Gse, { config: a }) })
|
|
60899
60898
|
);
|
|
60900
60899
|
}
|
|
60901
60900
|
e.loadAgent = r;
|