@commentkit/comment-kit 0.6.4 → 0.6.5

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.5] - 2026-10-11
11
+
12
+ ### Fixed
13
+
14
+ - The comments panel shows Log out only after a successful sign-in.
15
+
10
16
  ## [0.6.4] - 2026-10-11
11
17
 
12
18
  ### Changed
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-CmEq782M.js"), { ShadowContainer: s } = await import("./shadow-root-C7wgghDv.js"), { ErrorBoundary: c } = await import("./error-boundary-CxhCm8iF.js"), { CommentKitUI: l } = await import("./comment-kit-ui-DlWdgxZJ.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-CmEq782M.js"), { ShadowContainer: s } = await import("./shadow-root-C7wgghDv.js"), { ErrorBoundary: c } = await import("./error-boundary-CxhCm8iF.js"), { CommentKitUI: l } = await import("./comment-kit-ui-D8YIOzCe.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
@@ -2730,7 +2730,7 @@ var Z = typeof window < "u", xi = new Set([
2730
2730
  "screenshot",
2731
2731
  "select",
2732
2732
  null
2733
- ]), Ci = 256, wi = "0.6.4";
2733
+ ]), Ci = 256, wi = "0.6.5";
2734
2734
  function Ti(e) {
2735
2735
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2736
2736
  return t ? [
@@ -2860,7 +2860,7 @@ var Oi = class extends le {
2860
2860
  };
2861
2861
  }
2862
2862
  let n = e.project?.sdkLatestVersion;
2863
- n && Di(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${wi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2863
+ n && Di(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${wi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2864
2864
  current: wi,
2865
2865
  latest: n
2866
2866
  })), this.setState({
@@ -3602,7 +3602,7 @@ var $ = class {
3602
3602
  }
3603
3603
  async mountSharedUI(e, t, n) {
3604
3604
  try {
3605
- let { mountCommentKitUI: n } = await import("./angular/mount-ui-Q_U4OkMo.js");
3605
+ let { mountCommentKitUI: n } = await import("./angular/mount-ui-hhCRg_hE.js");
3606
3606
  if (this.core !== e || this.lifecycleId !== t) return;
3607
3607
  let r = await n(e);
3608
3608
  if (this.core !== e || this.lifecycleId !== t) {
@@ -2539,7 +2539,7 @@ var vi = typeof window < "u", yi = new Set([
2539
2539
  "screenshot",
2540
2540
  "select",
2541
2541
  null
2542
- ]), xi = 256, Q = "0.6.4";
2542
+ ]), xi = 256, Q = "0.6.5";
2543
2543
  function Si(e) {
2544
2544
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2545
2545
  return t ? [
@@ -2669,7 +2669,7 @@ var Ti = class extends it {
2669
2669
  };
2670
2670
  }
2671
2671
  let n = e.project?.sdkLatestVersion;
2672
- n && wi(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${Q}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2672
+ n && wi(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${Q}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2673
2673
  current: Q,
2674
2674
  latest: n
2675
2675
  })), this.setState({
@@ -3185,7 +3185,7 @@ var Ti = class extends it {
3185
3185
  async mount() {
3186
3186
  let e = this.core;
3187
3187
  try {
3188
- let { mountCommentKitUI: t } = await import("./core/mount-ui-D-pILMLR.js");
3188
+ let { mountCommentKitUI: t } = await import("./core/mount-ui-_GMxCfLy.js");
3189
3189
  if (this.destroyed) return;
3190
3190
  let n = await t(e);
3191
3191
  if (this.destroyed) {
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-Dzn_nEz7.js"), { ShadowContainer: s } = await import("./shadow-root-09zwHxly.js"), { ErrorBoundary: c } = await import("./error-boundary-CN_BGsYl.js"), { CommentKitUI: l } = await import("./comment-kit-ui-CwoXDJXR.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-Dzn_nEz7.js"), { ShadowContainer: s } = await import("./shadow-root-09zwHxly.js"), { ErrorBoundary: c } = await import("./error-boundary-CN_BGsYl.js"), { CommentKitUI: l } = await import("./comment-kit-ui-CYYImlEM.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-ECCK6Z_C.js"), { ShadowContainer: s } = await import("./shadow-root-DAhpHo_W.js"), { ErrorBoundary: c } = await import("./error-boundary-B4-Bfy3g.js"), { CommentKitUI: l } = await import("./comment-kit-ui-CIeAiL3D.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-ECCK6Z_C.js"), { ShadowContainer: s } = await import("./shadow-root-DAhpHo_W.js"), { ErrorBoundary: c } = await import("./error-boundary-B4-Bfy3g.js"), { CommentKitUI: l } = await import("./comment-kit-ui-fCVNh5Gq.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
package/dist/preact.es.js CHANGED
@@ -2728,7 +2728,7 @@ var $ = typeof window < "u", gi = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), vi = 256, yi = "0.6.4";
2731
+ ]), vi = 256, yi = "0.6.5";
2732
2732
  function bi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var Ci = class extends ae {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Si(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Si(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: yi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3398,7 +3398,7 @@ function wi(e) {
3398
3398
  }
3399
3399
  }, d = async (e) => {
3400
3400
  try {
3401
- let { mountCommentKitUI: r } = await import("./preact/mount-ui-8BL4DWNw.js");
3401
+ let { mountCommentKitUI: r } = await import("./preact/mount-ui-HWdd5qAJ.js");
3402
3402
  if (i || t.current !== e) return;
3403
3403
  let a = await r(e);
3404
3404
  if (i || t.current !== e) {
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-CMcDFAyE.js"), { ShadowContainer: s } = await import("./shadow-root-tLjXys-_.js"), { ErrorBoundary: c } = await import("./error-boundary-C4hlYQwS.js"), { CommentKitUI: l } = await import("./comment-kit-ui-CT3GZ8ry.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-CMcDFAyE.js"), { ShadowContainer: s } = await import("./shadow-root-tLjXys-_.js"), { ErrorBoundary: c } = await import("./error-boundary-C4hlYQwS.js"), { CommentKitUI: l } = await import("./comment-kit-ui-BVoctltC.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
package/dist/qwik.es.js CHANGED
@@ -2728,7 +2728,7 @@ var gi = typeof window < "u", _i = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), yi = 256, bi = "0.6.4";
2731
+ ]), yi = 256, bi = "0.6.5";
2732
2732
  function xi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var wi = class extends se {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Ci(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${bi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Ci(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${bi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: bi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3402,7 +3402,7 @@ function Ti(e) {
3402
3402
  }
3403
3403
  }, _ = async (e) => {
3404
3404
  try {
3405
- let { mountCommentKitUI: t } = await import("./qwik/mount-ui-DQ22eQbu.js");
3405
+ let { mountCommentKitUI: t } = await import("./qwik/mount-ui-KC4IJqjG.js");
3406
3406
  if (d || a.value !== e) return;
3407
3407
  let n = await t(e);
3408
3408
  if (d || a.value !== e) {
package/dist/react.es.js CHANGED
@@ -2725,7 +2725,7 @@ var Vi = typeof window < "u", Hi = new Set([
2725
2725
  "screenshot",
2726
2726
  "select",
2727
2727
  null
2728
- ]), Wi = 256, Gi = "0.6.4";
2728
+ ]), Wi = 256, Gi = "0.6.5";
2729
2729
  function Ki(e) {
2730
2730
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2731
2731
  return t ? [
@@ -2855,7 +2855,7 @@ var Yi = class extends H {
2855
2855
  };
2856
2856
  }
2857
2857
  let n = e.project?.sdkLatestVersion;
2858
- n && Ji(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${Gi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2858
+ n && Ji(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${Gi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2859
2859
  current: Gi,
2860
2860
  latest: n
2861
2861
  })), this.setState({
@@ -21085,9 +21085,9 @@ function CD({ core: e, state: t }) {
21085
21085
  onSaveEdit: async (t, n) => {
21086
21086
  xD(await oD(e, t, n));
21087
21087
  },
21088
- onLogout: () => {
21088
+ onLogout: t.isAuthenticated ? () => {
21089
21089
  e.logout();
21090
- }
21090
+ } : void 0
21091
21091
  }) : null] });
21092
21092
  }
21093
21093
  var wD = class extends _.Component {
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-Be_8-1ZV.js"), { ShadowContainer: s } = await import("./shadow-root-D5nErAFI.js"), { ErrorBoundary: c } = await import("./error-boundary-9mimpbZA.js"), { CommentKitUI: l } = await import("./comment-kit-ui-BXcJmq6H.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-Be_8-1ZV.js"), { ShadowContainer: s } = await import("./shadow-root-D5nErAFI.js"), { ErrorBoundary: c } = await import("./error-boundary-9mimpbZA.js"), { CommentKitUI: l } = await import("./comment-kit-ui-CnlHcwzZ.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
package/dist/solid.es.js CHANGED
@@ -2728,7 +2728,7 @@ var hi = typeof window < "u", gi = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), vi = 256, yi = "0.6.4";
2731
+ ]), vi = 256, yi = "0.6.5";
2732
2732
  function bi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var Ci = class extends oe {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Si(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Si(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: yi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3388,7 +3388,7 @@ function wi(e) {
3388
3388
  }
3389
3389
  }, ye = async (e) => {
3390
3390
  try {
3391
- let { mountCommentKitUI: t } = await import("./solid/mount-ui-DmrWIA8O.js");
3391
+ let { mountCommentKitUI: t } = await import("./solid/mount-ui-C1voqvrE.js");
3392
3392
  if (v || d !== e) return;
3393
3393
  let n = await t(e);
3394
3394
  if (v || d !== e) {
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-B863Tn5m.js"), { ShadowContainer: s } = await import("./shadow-root-Cz-v-rYe.js"), { ErrorBoundary: c } = await import("./error-boundary-C3GWI_IX.js"), { CommentKitUI: l } = await import("./comment-kit-ui-C-8rQmBN.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-B863Tn5m.js"), { ShadowContainer: s } = await import("./shadow-root-Cz-v-rYe.js"), { ErrorBoundary: c } = await import("./error-boundary-C3GWI_IX.js"), { CommentKitUI: l } = await import("./comment-kit-ui-BFWous-b.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
package/dist/svelte.es.js CHANGED
@@ -2729,7 +2729,7 @@ var _i = typeof window < "u", vi = new Set([
2729
2729
  "screenshot",
2730
2730
  "select",
2731
2731
  null
2732
- ]), bi = 256, xi = "0.6.4";
2732
+ ]), bi = 256, xi = "0.6.5";
2733
2733
  function Si(e) {
2734
2734
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2735
2735
  return t ? [
@@ -2859,7 +2859,7 @@ var Ti = class extends se {
2859
2859
  };
2860
2860
  }
2861
2861
  let n = e.project?.sdkLatestVersion;
2862
- n && wi(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${xi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
+ n && wi(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${xi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2863
2863
  current: xi,
2864
2864
  latest: n
2865
2865
  })), this.setState({
@@ -3387,7 +3387,7 @@ function $(e) {
3387
3387
  } catch {}
3388
3388
  }, de = async (e) => {
3389
3389
  try {
3390
- let { mountCommentKitUI: n } = await import("./svelte/mount-ui-CDgJuoAF.js");
3390
+ let { mountCommentKitUI: n } = await import("./svelte/mount-ui-dOE2KN0m.js");
3391
3391
  if (w || g(t) !== e) return;
3392
3392
  let r = await n(e);
3393
3393
  if (w || g(t) !== e) {
@@ -17723,9 +17723,9 @@ function iS({ core: e, state: t }) {
17723
17723
  onSaveEdit: async (t, n) => {
17724
17724
  nS(await Vx(e, t, n));
17725
17725
  },
17726
- onLogout: () => {
17726
+ onLogout: t.isAuthenticated ? () => {
17727
17727
  e.logout();
17728
- }
17728
+ } : void 0
17729
17729
  }) : null] });
17730
17730
  }
17731
17731
  var aS = {
@@ -11,7 +11,7 @@ function n(e) {
11
11
  }
12
12
  async function r(r) {
13
13
  e(r);
14
- let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-C4t8gcea.js"), { ShadowContainer: s } = await import("./shadow-root-SLTVf5yk.js"), { ErrorBoundary: c } = await import("./error-boundary-DW6uGR8U.js"), { CommentKitUI: l } = await import("./comment-kit-ui-Cq30Cmvs.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
14
+ let i = await import("react"), { createRoot: a } = await import("react-dom/client"), { default: o } = await import("./styles-C4t8gcea.js"), { ShadowContainer: s } = await import("./shadow-root-SLTVf5yk.js"), { ErrorBoundary: c } = await import("./error-boundary-DW6uGR8U.js"), { CommentKitUI: l } = await import("./comment-kit-ui-oPTLTwxG.js"), u = typeof r.getConfig == "function" ? r.getConfig() : void 0, d = s, f = c, p = t();
15
15
  if (p.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
16
16
  let m = document.createElement("div");
17
17
  m.setAttribute("data-commentkit", ""), p.appendChild(m);
package/dist/vue.es.js CHANGED
@@ -2534,7 +2534,7 @@ var ui = typeof window < "u", di = new Set([
2534
2534
  "screenshot",
2535
2535
  "select",
2536
2536
  null
2537
- ]), pi = 256, mi = "0.6.4";
2537
+ ]), pi = 256, mi = "0.6.5";
2538
2538
  function hi(e) {
2539
2539
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2540
2540
  return t ? [
@@ -2664,7 +2664,7 @@ var vi = class extends ee {
2664
2664
  };
2665
2665
  }
2666
2666
  let n = e.project?.sdkLatestVersion;
2667
- n && _i(n, "0.6.4") && (console.warn(`[CommentKit] You are using v${mi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2667
+ n && _i(n, "0.6.5") && (console.warn(`[CommentKit] You are using v${mi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2668
2668
  current: mi,
2669
2669
  latest: n
2670
2670
  })), this.setState({
@@ -3382,7 +3382,7 @@ function Ei(e) {
3382
3382
  } catch {}
3383
3383
  }, se = async (e) => {
3384
3384
  try {
3385
- let { mountCommentKitUI: t } = await import("./vue/mount-ui-Dqz0_jd_.js");
3385
+ let { mountCommentKitUI: t } = await import("./vue/mount-ui-CszzjVeF.js");
3386
3386
  if (T || o.value !== e) return;
3387
3387
  let n = await t(e);
3388
3388
  if (T || o.value !== e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commentkit/comment-kit",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Figma-style collaborative commenting, drawing, and feedback tools for any website. Works with React, Vue, Svelte, Angular, and Vanilla JS.",
5
5
  "keywords": [
6
6
  "angular",