@levo-so/site-runtime 0.3.14 → 0.3.16

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as e, n as t } from "./dist-CEdznbFW.js";
2
+ import { i as e, n as t } from "./dist-Y-Rc8Xqh.js";
3
3
  import { i as n, n as r, r as i } from "./LevoProvider-Bsjkcwc8.js";
4
4
  import { t as a } from "./inlineCollectionTheme-CWcMCUti.js";
5
5
  import { t as o } from "./inlineBaseTheme-BB9e6h5f.js";
@@ -700,7 +700,7 @@ var Y = ["levo-auth", "session"], He = () => {
700
700
  },
701
701
  clear: O(() => f("", 0), [f])
702
702
  };
703
- }, _t = D(() => import("./kbChat-BIzoQwEC.js")), vt = ({ site: e, path: t }) => {
703
+ }, _t = D(() => import("./kbChat-a2dXSeRc.js")), vt = ({ site: e, path: t }) => {
704
704
  let n = J(), r = e.workspace_id || void 0;
705
705
  return !n || !r ? null : /* @__PURE__ */ S(T, {
706
706
  fallback: null,
@@ -1817,7 +1817,7 @@ var Ln = "levo-made-with", Rn = `.${Ln}{opacity:.2;transition:opacity 150ms,tran
1817
1817
  if (typeof document > "u") return null;
1818
1818
  let e = document.querySelectorAll(`meta[name="${Bn}"]`);
1819
1819
  return e[e.length - 1]?.getAttribute("content")?.trim() || null;
1820
- }, Hn = D(() => import("./dist-6AIgW_iB.js").then((e) => e.n).then((e) => ({ default: e.PopupLoader }))), Un = ({ siteId: e, pageId: t }) => {
1820
+ }, Hn = D(() => import("./dist-B1BSD6Np.js").then((e) => e.n).then((e) => ({ default: e.PopupLoader }))), Un = ({ siteId: e, pageId: t }) => {
1821
1821
  let n = J(), r = i();
1822
1822
  return !n || !r ? null : /* @__PURE__ */ S(T, {
1823
1823
  fallback: null,
@@ -1875,7 +1875,10 @@ var Ln = "levo-made-with", Rn = `.${Ln}{opacity:.2;transition:opacity 150ms,tran
1875
1875
  cookie: typeof document > "u" ? null : document.cookie,
1876
1876
  hasRoute: n
1877
1877
  });
1878
- if (r.kind === "redirect" && r.path !== t.pathname) throw ee({ href: `${r.path}${t.searchStr ?? ""}` });
1878
+ if (r.kind === "redirect" && r.path !== t.pathname) throw ee({
1879
+ search: !0,
1880
+ to: r.path
1881
+ });
1879
1882
  };
1880
1883
  }, Zn = (e) => {
1881
1884
  let t = e.locales ?? [], n = e.domain?.trim().replace(/^https?:\/\//, "").replace(/\/+$/, "");
@@ -64,7 +64,7 @@ var x = (t) => e("active_agent", t), S = (e) => {
64
64
  e,
65
65
  r
66
66
  ]), i;
67
- }, T = (...e) => e.filter(Boolean).join(" "), E = () => import("./KBChatWidget-DCj3mo3P.js"), D = (e) => {
67
+ }, T = (...e) => e.filter(Boolean).join(" "), E = () => import("./KBChatWidget-GRi6sLpp.js"), D = (e) => {
68
68
  let [t, n] = v(null), [r, i] = v(!1), [a, o] = v("");
69
69
  return t ? /* @__PURE__ */ m(t, {
70
70
  initialOpen: !0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/site-runtime",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "description": "Runtime for Levo Studio v3 sites — the editor preview inspector, page head metadata, and the Levo data client.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -75,15 +75,15 @@
75
75
  "lowlight": "3.1.0",
76
76
  "@vanilla-extract/dynamic": "2.1.5",
77
77
  "sonner": "2.0.7",
78
- "@assistant-ui/react": "0.15.10",
79
- "@assistant-ui/react-ai-sdk": "1.4.4",
80
- "@assistant-ui/react-markdown": "0.14.9",
81
- "@assistant-ui/core": "0.3.9",
82
- "@assistant-ui/store": "0.3.7",
83
- "@assistant-ui/tap": "0.9.10",
78
+ "@assistant-ui/react": "0.15.19",
79
+ "@assistant-ui/react-ai-sdk": "1.4.10",
80
+ "@assistant-ui/react-markdown": "0.14.15",
81
+ "@assistant-ui/core": "0.3.18",
82
+ "@assistant-ui/store": "0.3.13",
83
+ "@assistant-ui/tap": "0.9.17",
84
84
  "remark-gfm": "4.0.1",
85
- "@levo-so/core": "0.3.14",
86
- "@levo-so/insights": "0.3.14",
85
+ "@levo-so/core": "0.3.16",
86
+ "@levo-so/insights": "0.3.16",
87
87
  "@stripe/react-stripe-js": "3.1.1",
88
88
  "@stripe/stripe-js": "5.5.0",
89
89
  "react-razorpay": "3.0.1"
package/popups.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./dist-6AIgW_iB.js";
1
+ import { t as e } from "./dist-B1BSD6Np.js";
2
2
  //#region src/popups/usePopup.ts
3
3
  var t = () => e();
4
4
  //#endregion