@desivocal/agents-cdn 1.0.20-alpha.3 → 1.0.20-alpha.41

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.
@@ -13164,7 +13164,7 @@ Check the render method of \`` + i + "`." : "";
13164
13164
  };
13165
13165
  }
13166
13166
  }
13167
- function Gse(i) {
13167
+ function Kse(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 Yse(i, o, f) {
15397
+ function Zse(i, o, f) {
15398
15398
  }
15399
- function Kse(i, o, f) {
15399
+ function Qse(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 Qse extends au.EventEmitter {
27739
+ class Jse 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 Xse extends au.EventEmitter {
36603
+ class ele 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,8 +60418,9 @@ function $se(t, e) {
60418
60418
  });
60419
60419
  }), n;
60420
60420
  }
60421
- const qse = ({ room: t, config: e }) => {
60421
+ const qse = "1.0.20-alpha.41", Wse = ({ room: t, config: e }) => {
60422
60422
  var zi, Qi, Xi, Ja, Go, Yo, eo;
60423
+ console.log(`[Ringg CDN] Version: ${qse}`);
60423
60424
  const [n, r] = G.useState({}), a = e, {
60424
60425
  mode: s = Em.mode,
60425
60426
  title: l = Em.title,
@@ -60881,17 +60882,19 @@ const qse = ({ room: t, config: e }) => {
60881
60882
  /* @__PURE__ */ W.jsx(iG, {}),
60882
60883
  !1
60883
60884
  ] });
60884
- }, Wse = ({ config: t }) => {
60885
+ }, Gse = ({ config: t }) => {
60885
60886
  const [e] = G.useState(() => new Zm({ dynacast: !0, adaptiveStream: !0 }));
60886
- return /* @__PURE__ */ W.jsx(LR.Provider, { value: e, children: /* @__PURE__ */ W.jsx(qse, { config: t, room: e }) });
60887
- };
60887
+ return /* @__PURE__ */ W.jsx(LR.Provider, { value: e, children: /* @__PURE__ */ W.jsx(Wse, { config: t, room: e }) });
60888
+ }, Yse = "1.0.20-alpha.41";
60889
+ console.log(`%c[Ringg CDN] Loaded v${Yse}`, "background: #7c3aed; color: white; padding: 2px 8px; border-radius: 4px;");
60888
60890
  {
60889
60891
  const t = "ringg_ai_container";
60890
60892
  (function(e, n) {
60891
60893
  function r(a) {
60894
+ console.log("%c[Ringg CDN] loadAgent called", "background: #22c55e; color: white; padding: 2px 8px; border-radius: 4px;", a);
60892
60895
  let s = n.getElementById(t);
60893
60896
  s || (s = n.createElement("div"), s.id = t, n.body.appendChild(s)), Ay.createRoot(s).render(
60894
- /* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(Wse, { config: a }) })
60897
+ /* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(Gse, { config: a }) })
60895
60898
  );
60896
60899
  }
60897
60900
  e.loadAgent = r;