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

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.
@@ -60418,7 +60418,7 @@ function $se(t, e) {
60418
60418
  });
60419
60419
  }), n;
60420
60420
  }
60421
- const qse = "1.0.20-alpha.41", Wse = ({ room: t, config: e }) => {
60421
+ const qse = "1.0.20-alpha.43", Wse = ({ room: t, config: e }) => {
60422
60422
  var zi, Qi, Xi, Ja, Go, Yo, eo;
60423
60423
  console.log(`[Ringg CDN] Version: ${qse}`);
60424
60424
  const [n, r] = G.useState({}), a = e, {
@@ -60882,11 +60882,12 @@ const qse = "1.0.20-alpha.41", Wse = ({ room: t, config: e }) => {
60882
60882
  /* @__PURE__ */ W.jsx(iG, {}),
60883
60883
  !1
60884
60884
  ] });
60885
- }, Gse = ({ config: t }) => {
60885
+ }, Gse = "1.0.20-alpha.43", Yse = ({ config: t }) => {
60886
60886
  const [e] = G.useState(() => new Zm({ dynacast: !0, adaptiveStream: !0 }));
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;");
60887
+ return G.useEffect(() => {
60888
+ console.log(`%c[Ringg CDN] v${Gse} initialized`, "background: #7c3aed; color: white; padding: 2px 8px; border-radius: 4px;"), console.log("[Ringg CDN] Config:", t);
60889
+ }, [t]), /* @__PURE__ */ W.jsx(LR.Provider, { value: e, children: /* @__PURE__ */ W.jsx(Wse, { config: t, room: e }) });
60890
+ };
60890
60891
  {
60891
60892
  const t = "ringg_ai_container";
60892
60893
  (function(e, n) {
@@ -60894,7 +60895,7 @@ console.log(`%c[Ringg CDN] Loaded v${Yse}`, "background: #7c3aed; color: white;
60894
60895
  console.log("%c[Ringg CDN] loadAgent called", "background: #22c55e; color: white; padding: 2px 8px; border-radius: 4px;", a);
60895
60896
  let s = n.getElementById(t);
60896
60897
  s || (s = n.createElement("div"), s.id = t, n.body.appendChild(s)), Ay.createRoot(s).render(
60897
- /* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(Gse, { config: a }) })
60898
+ /* @__PURE__ */ W.jsx(fr.StrictMode, { children: /* @__PURE__ */ W.jsx(Yse, { config: a }) })
60898
60899
  );
60899
60900
  }
60900
60901
  e.loadAgent = r;