@commentkit/comment-kit 0.6.2 → 0.6.4

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +63 -60
  3. package/dist/angular/comment-kit-ui-DlWdgxZJ.js +17929 -0
  4. package/dist/{qwik/dom-BjJ-QroQ.js → angular/dom-Cx1nMbdI.js} +9 -2
  5. package/dist/angular/{mount-ui-CxChSb8B.js → mount-ui-Q_U4OkMo.js} +1 -1
  6. package/dist/angular/{realtime-CfJZMEAi.js → realtime-VrKV0lPI.js} +11 -2
  7. package/dist/angular/styles-CmEq782M.js +2 -0
  8. package/dist/angular.es.js +23 -7
  9. package/dist/comment-kit.es.js +23 -7
  10. package/dist/core/comment-kit-ui-CwoXDJXR.js +17929 -0
  11. package/dist/core/{mount-ui-DrFjMJJu.js → mount-ui-D-pILMLR.js} +1 -1
  12. package/dist/core/{realtime-DYf6E_sN.js → realtime-C3_O7gi2.js} +2 -2
  13. package/dist/core/styles-Dzn_nEz7.js +2 -0
  14. package/dist/core/{websocket-manager-DorGPjR4.js → websocket-manager-D1_TEuy_.js} +9 -0
  15. package/dist/preact/comment-kit-ui-CIeAiL3D.js +17929 -0
  16. package/dist/{angular/dom-ON-u4y6t.js → preact/dom-_ULpq7rg.js} +9 -2
  17. package/dist/preact/{mount-ui-b9JcJQYE.js → mount-ui-8BL4DWNw.js} +1 -1
  18. package/dist/preact/{realtime-BFgP4BlB.js → realtime-COin_nJF.js} +11 -2
  19. package/dist/preact/styles-ECCK6Z_C.js +2 -0
  20. package/dist/preact.es.js +23 -7
  21. package/dist/qwik/comment-kit-ui-CT3GZ8ry.js +17929 -0
  22. package/dist/{solid/dom-Bpw1A0oz.js → qwik/dom-Dm3gzBBJ.js} +9 -2
  23. package/dist/qwik/{mount-ui-CaRrLb9u.js → mount-ui-DQ22eQbu.js} +1 -1
  24. package/dist/qwik/{realtime-DUhkZAVc.js → realtime-DhfcBrwF.js} +11 -2
  25. package/dist/qwik/styles-CMcDFAyE.js +2 -0
  26. package/dist/qwik.es.js +23 -7
  27. package/dist/react/{limits-Dflmuf1P.js → limits-CpprSem3.js} +10 -3
  28. package/dist/react/{realtime-C7h-Agwo.js → realtime-DGqScuox.js} +125 -116
  29. package/dist/react.es.js +12023 -3561
  30. package/dist/solid/comment-kit-ui-BXcJmq6H.js +17929 -0
  31. package/dist/{preact/dom-BAV8grk_.js → solid/dom-DqDH-Gml.js} +9 -2
  32. package/dist/solid/{mount-ui-bPWYgjmm.js → mount-ui-DmrWIA8O.js} +1 -1
  33. package/dist/solid/{realtime-DK86zDCJ.js → realtime-DbUJK4gU.js} +11 -2
  34. package/dist/solid/styles-Be_8-1ZV.js +2 -0
  35. package/dist/solid.es.js +23 -7
  36. package/dist/svelte/comment-kit-ui-C-8rQmBN.js +17929 -0
  37. package/dist/svelte/dom-MyTrWzy_.js +104 -0
  38. package/dist/svelte/{mount-ui-DtXWMEYn.js → mount-ui-CDgJuoAF.js} +1 -1
  39. package/dist/svelte/{realtime-zYOctwRk.js → realtime-M1CJbCBA.js} +11 -2
  40. package/dist/svelte/styles-B863Tn5m.js +2 -0
  41. package/dist/svelte.es.js +23 -7
  42. package/dist/types/core/comment-kit-core.d.ts +12 -0
  43. package/dist/types/core/websocket-manager.d.ts +5 -0
  44. package/dist/types/react/comments/comment-flow.d.ts +8 -0
  45. package/dist/types/react/comments/outcomes.d.ts +22 -0
  46. package/dist/types/react/comments/pin-geometry.d.ts +12 -0
  47. package/dist/types/react/comments/view-model.d.ts +59 -0
  48. package/dist/types/react/components/comment-actions.d.ts +20 -0
  49. package/dist/types/react/components/comment-body.d.ts +8 -0
  50. package/dist/types/react/components/comment-composer-actions.d.ts +26 -0
  51. package/dist/types/react/components/comment-composer-extras-fields.d.ts +35 -0
  52. package/dist/types/react/components/comment-composer-extras-toolbar.d.ts +28 -0
  53. package/dist/types/react/components/comment-composer-extras.d.ts +10 -0
  54. package/dist/types/react/components/comment-composer-hook.d.ts +53 -0
  55. package/dist/types/react/components/comment-composer-media.d.ts +30 -0
  56. package/dist/types/react/components/comment-composer.d.ts +4 -0
  57. package/dist/types/react/components/comment-connection-alert.d.ts +7 -0
  58. package/dist/types/react/components/comment-custom-cursor.d.ts +14 -0
  59. package/dist/types/react/components/comment-emoji-picker.d.ts +12 -0
  60. package/dist/types/react/components/comment-error-banner.d.ts +8 -0
  61. package/dist/types/react/components/comment-format-toolbar.d.ts +6 -0
  62. package/dist/types/react/components/comment-header.d.ts +41 -0
  63. package/dist/types/react/components/comment-image-lightbox.d.ts +18 -0
  64. package/dist/types/react/components/comment-images.d.ts +15 -0
  65. package/dist/types/react/components/comment-item.d.ts +25 -0
  66. package/dist/types/react/components/comment-login-modal.d.ts +20 -0
  67. package/dist/types/react/components/comment-marker-layer-composer.d.ts +21 -0
  68. package/dist/types/react/components/comment-marker-layer.d.ts +26 -0
  69. package/dist/types/react/components/comment-marker-popover.d.ts +12 -0
  70. package/dist/types/react/components/comment-marker.d.ts +14 -0
  71. package/dist/types/react/components/comment-page-ref.d.ts +9 -0
  72. package/dist/types/react/components/comment-panel.d.ts +17 -0
  73. package/dist/types/react/components/comment-quoted-text.d.ts +9 -0
  74. package/dist/types/react/components/comment-reactions.d.ts +11 -0
  75. package/dist/types/react/components/comment-thread-detail-badges.d.ts +16 -0
  76. package/dist/types/react/components/comment-thread-detail-meta.d.ts +8 -0
  77. package/dist/types/react/components/comment-thread-detail-replies.d.ts +13 -0
  78. package/dist/types/react/components/comment-thread-detail.d.ts +10 -0
  79. package/dist/types/react/components/comment-thread-footer.d.ts +12 -0
  80. package/dist/types/react/components/comment-thread-list-item.d.ts +14 -0
  81. package/dist/types/react/components/comment-thread-list.d.ts +8 -0
  82. package/dist/types/react/components/comment-user-avatar-tooltip.d.ts +12 -0
  83. package/dist/types/react/ui/primitives/alert/alert.d.ts +8 -0
  84. package/dist/types/react/ui/primitives/alert/index.d.ts +1 -0
  85. package/dist/vue/comment-kit-ui-Cq30Cmvs.js +17929 -0
  86. package/dist/vue/dom-C7krZAR8.js +104 -0
  87. package/dist/vue/{mount-ui-DdTYzv6J.js → mount-ui-Dqz0_jd_.js} +1 -1
  88. package/dist/vue/{realtime-YJKvS2eB.js → realtime-B0B5cE-E.js} +11 -2
  89. package/dist/vue/styles-C4t8gcea.js +2 -0
  90. package/dist/vue.es.js +23 -7
  91. package/package.json +3 -6
  92. package/dist/angular/comment-kit-ui-wEJfMh4T.js +0 -9483
  93. package/dist/angular/styles-CvndAWRF.js +0 -2
  94. package/dist/core/comment-kit-ui-DjWARy4X.js +0 -9483
  95. package/dist/core/styles-D19zARBi.js +0 -2
  96. package/dist/preact/comment-kit-ui-BKi15Z4Q.js +0 -9483
  97. package/dist/preact/styles-Dwd4AJR8.js +0 -2
  98. package/dist/qwik/comment-kit-ui-CRmJhZlX.js +0 -9483
  99. package/dist/qwik/styles-BB1B91hh.js +0 -2
  100. package/dist/solid/comment-kit-ui-Dw_67h_e.js +0 -9483
  101. package/dist/solid/styles-CtYBghRP.js +0 -2
  102. package/dist/svelte/comment-kit-ui-DhCWlEd8.js +0 -9483
  103. package/dist/svelte/dom-mfioQqLy.js +0 -97
  104. package/dist/svelte/styles-DKCGeARl.js +0 -2
  105. package/dist/vue/comment-kit-ui-BX1wDZ2c.js +0 -9483
  106. package/dist/vue/dom-eo0P9Z6Z.js +0 -97
  107. package/dist/vue/styles-BrHt1-ia.js +0 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.4] - 2026-10-11
11
+
12
+ ### Changed
13
+
14
+ - Production, staging, and preview hosts keep the toolbar and comments hidden until the keyboard shortcut and a successful login. Local development still shows the widget.
15
+
16
+ ### Added
17
+
18
+ - Log out control in the comments panel.
19
+
20
+ ## [0.6.3] - 2026-10-11
21
+
22
+ ### Changed
23
+
24
+ - Package name is `@commentkit/comment-kit`.
25
+ - Default API host is `https://api.commentkit.dev/api`.
26
+
10
27
  ## [0.6.1] - 2026-06-19
11
28
 
12
29
  ### Fixed
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  **Figma-style comments, drawing, and feedback for any website.**
4
4
  Drop-in SDK for React, Vue, Svelte, Angular, Solid.js, Qwik, Preact, and vanilla JavaScript.
5
5
 
6
- [npm version](https://www.npmjs.com/package/comment-kit)
7
- [downloads](https://www.npmjs.com/package/comment-kit)
6
+ [npm version](https://www.npmjs.com/package/@commentkit/comment-kit)
7
+ [downloads](https://www.npmjs.com/package/@commentkit/comment-kit)
8
8
  [license](https://github.com/commentkit/comment-kit/blob/main/LICENSE)
9
- [docs](https://commentkit.com/docs)
9
+ [docs](https://commentkit.dev/docs)
10
10
 
11
11
  ---
12
12
 
@@ -49,12 +49,12 @@ Drop-in SDK for React, Vue, Svelte, Angular, Solid.js, Qwik, Preact, and vanilla
49
49
  ### 1. Install
50
50
 
51
51
  ```bash
52
- npm install comment-kit
52
+ npm install @commentkit/comment-kit
53
53
  ```
54
54
 
55
55
  ### 2. Get Your API Key
56
56
 
57
- 1. Sign up at [commentkit.com](https://commentkit.com)
57
+ 1. Sign up at [commentkit.dev](https://commentkit.dev)
58
58
  2. Create an organization
59
59
  3. Create a project inside the organization
60
60
  4. Copy the **API key** from the project dashboard
@@ -72,9 +72,12 @@ Next.js 16 with Turbopack prerenders `/_not-found` during `next build`. CommentK
72
72
  "use client";
73
73
  import dynamic from "next/dynamic";
74
74
 
75
- const CommentKit = dynamic(() => import("comment-kit/react").then((m) => m.CommentKit), {
76
- ssr: false,
77
- });
75
+ const CommentKit = dynamic(
76
+ () => import("@commentkit/comment-kit/react").then((m) => m.CommentKit),
77
+ {
78
+ ssr: false,
79
+ },
80
+ );
78
81
 
79
82
  export function CommentKitClient(props: { apiKey: string }) {
80
83
  return <CommentKit apiKey={props.apiKey} />;
@@ -101,7 +104,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
101
104
 
102
105
  ```tsx
103
106
  // pages/_app.tsx
104
- import { CommentKit } from "comment-kit/react";
107
+ import { CommentKit } from "@commentkit/comment-kit/react";
105
108
  import type { AppProps } from "next/app";
106
109
 
107
110
  export default function App({ Component, pageProps }: AppProps) {
@@ -123,7 +126,7 @@ export default function App({ Component, pageProps }: AppProps) {
123
126
 
124
127
  ```tsx
125
128
  // app/root.tsx
126
- import { CommentKit } from "comment-kit/react";
129
+ import { CommentKit } from "@commentkit/comment-kit/react";
127
130
 
128
131
  export default function App() {
129
132
  return (
@@ -147,7 +150,7 @@ export default function App() {
147
150
 
148
151
  ```tsx
149
152
  // main.tsx or App.tsx
150
- import { CommentKit } from "comment-kit/react";
153
+ import { CommentKit } from "@commentkit/comment-kit/react";
151
154
 
152
155
  export default function App() {
153
156
  return (
@@ -163,7 +166,7 @@ export default function App() {
163
166
 
164
167
  ```vue
165
168
  <script setup>
166
- import { useCommentKit } from "comment-kit/vue";
169
+ import { useCommentKit } from "@commentkit/comment-kit/vue";
167
170
 
168
171
  // Reactive refs — auto-update when state changes.
169
172
  // Theme auto-detects. Tooltips built into the toolbar.
@@ -178,7 +181,7 @@ Or register as a plugin:
178
181
 
179
182
  ```ts
180
183
  // main.ts — makes useCommentKit available app-wide via provide/inject
181
- import { CommentKitPlugin } from "comment-kit/vue";
184
+ import { CommentKitPlugin } from "@commentkit/comment-kit/vue";
182
185
 
183
186
  app.use(CommentKitPlugin);
184
187
  ```
@@ -191,7 +194,7 @@ CommentKit must never load on the Nitro server. The cleanest pattern is a compon
191
194
  <!-- components/CommentKitClient.client.vue -->
192
195
  <script setup lang="ts">
193
196
  import { onMounted } from "vue";
194
- import { useCommentKit } from "comment-kit/vue";
197
+ import { useCommentKit } from "@commentkit/comment-kit/vue";
195
198
 
196
199
  onMounted(() => {
197
200
  useCommentKit({ apiKey: "your-api-key" });
@@ -215,7 +218,7 @@ onMounted(() => {
215
218
 
216
219
  ```svelte
217
220
  <script>
218
- import { useCommentKit } from "comment-kit/svelte";
221
+ import { useCommentKit } from "@commentkit/comment-kit/svelte";
219
222
 
220
223
  // Svelte stores — use $store syntax for reactivity.
221
224
  // Theme auto-detects. Tooltips built into the toolbar.
@@ -231,7 +234,7 @@ onMounted(() => {
231
234
 
232
235
  **SvelteKit**
233
236
 
234
- SvelteKit prerenders pages on the server, so dynamic-import inside `onMount` (which is client-only by definition) keeps `comment-kit/svelte` off the SSR module graph entirely.
237
+ SvelteKit prerenders pages on the server, so dynamic-import inside `onMount` (which is client-only by definition) keeps `@commentkit/comment-kit/svelte` off the SSR module graph entirely.
235
238
 
236
239
  ```svelte
237
240
  <!-- src/routes/+layout.svelte -->
@@ -241,7 +244,7 @@ SvelteKit prerenders pages on the server, so dynamic-import inside `onMount` (wh
241
244
 
242
245
  onMount(async () => {
243
246
  if (!browser) return;
244
- const { useCommentKit } = await import("comment-kit/svelte");
247
+ const { useCommentKit } = await import("@commentkit/comment-kit/svelte");
245
248
  useCommentKit({ apiKey: "your-api-key" });
246
249
  });
247
250
  </script>
@@ -253,7 +256,7 @@ SvelteKit prerenders pages on the server, so dynamic-import inside `onMount` (wh
253
256
 
254
257
  ```typescript
255
258
  // app.config.ts
256
- import { provideCommentKit } from "comment-kit/angular";
259
+ import { provideCommentKit } from "@commentkit/comment-kit/angular";
257
260
 
258
261
  export const appConfig = {
259
262
  providers: [
@@ -269,7 +272,7 @@ export const appConfig = {
269
272
 
270
273
  ```typescript
271
274
  // app.component.ts
272
- import { CommentKitService } from "comment-kit/angular";
275
+ import { CommentKitService } from "@commentkit/comment-kit/angular";
273
276
 
274
277
  @Component({ ... })
275
278
  export class AppComponent {
@@ -283,7 +286,7 @@ export class AppComponent {
283
286
  **Solid.js / SolidStart**
284
287
 
285
288
  ```tsx
286
- import { useCommentKit } from "comment-kit/solid";
289
+ import { useCommentKit } from "@commentkit/comment-kit/solid";
287
290
 
288
291
  function App() {
289
292
  // Solid signals — auto-track dependencies, fine-grained reactivity.
@@ -300,7 +303,7 @@ function App() {
300
303
 
301
304
  ```tsx
302
305
  import { component$ } from "@builder.io/qwik";
303
- import { useCommentKit$ } from "comment-kit/qwik";
306
+ import { useCommentKit$ } from "@commentkit/comment-kit/qwik";
304
307
 
305
308
  export default component$(() => {
306
309
  // Qwik signals — serializable, resumable.
@@ -316,7 +319,7 @@ export default component$(() => {
316
319
  **Preact**
317
320
 
318
321
  ```tsx
319
- import { useCommentKit } from "comment-kit/preact";
322
+ import { useCommentKit } from "@commentkit/comment-kit/preact";
320
323
 
321
324
  function App() {
322
325
  // Preact hooks — lightweight React alternative.
@@ -340,7 +343,7 @@ import { useEffect, useState } from "react";
340
343
  export default function CommentKitClient({ apiKey }: { apiKey: string }) {
341
344
  const [Cmp, setCmp] = useState<React.ComponentType<{ apiKey: string }> | null>(null);
342
345
  useEffect(() => {
343
- import("comment-kit/react").then((m) => setCmp(() => m.CommentKit));
346
+ import("@commentkit/comment-kit/react").then((m) => setCmp(() => m.CommentKit));
344
347
  }, []);
345
348
  return Cmp ? <Cmp apiKey={apiKey} /> : null;
346
349
  }
@@ -363,7 +366,7 @@ Or use vanilla JS in any `.astro` page:
363
366
 
364
367
  ```html
365
368
  <script>
366
- import { CommentKit } from "comment-kit";
369
+ import { CommentKit } from "@commentkit/comment-kit";
367
370
  new CommentKit({ apiKey: "your-api-key" });
368
371
  </script>
369
372
  ```
@@ -375,7 +378,7 @@ Or use vanilla JS in any `.astro` page:
375
378
  Theme follows .dark class on <html> or system preference.
376
379
  Tooltips, dialogs, and panels are built-in. -->
377
380
  <script type="module">
378
- import { CommentKit } from "comment-kit";
381
+ import { CommentKit } from "@commentkit/comment-kit";
379
382
 
380
383
  const ck = new CommentKit({
381
384
  apiKey: "your-api-key",
@@ -404,7 +407,7 @@ The SDK auto-detects `?ck_invite=` from the URL — no code changes needed.
404
407
 
405
408
  Every framework and meta-framework gets the full CommentKit UI — identical toolbar, sidebar, login, and comments panel rendered in Shadow DOM.
406
409
 
407
- **React family** — `comment-kit/react`
410
+ **React family** — `@commentkit/comment-kit/react`
408
411
 
409
412
  | Framework / Tool | Notes |
410
413
  | ----------------------- | --------------------------------------------------------------------- |
@@ -424,7 +427,7 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
424
427
  | Nextra | Drop into `theme.config.tsx` layout |
425
428
  | Laravel Inertia (React) | Mount in `app.tsx` |
426
429
 
427
- **Vue family** — `comment-kit/vue`
430
+ **Vue family** — `@commentkit/comment-kit/vue`
428
431
 
429
432
  | Framework / Tool | Notes |
430
433
  | --------------------- | ------------------------------------------------------------------ |
@@ -435,7 +438,7 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
435
438
  | Vike-Vue | Mount in `_default.page.client.ts` |
436
439
  | Laravel Inertia (Vue) | Mount in `app.ts` |
437
440
 
438
- **Svelte family** — `comment-kit/svelte`
441
+ **Svelte family** — `@commentkit/comment-kit/svelte`
439
442
 
440
443
  | Framework / Tool | Notes |
441
444
  | ------------------------ | ------------------------------------------------------- |
@@ -443,7 +446,7 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
443
446
  | SvelteKit | Gate on `browser` from `$app/environment` (see snippet) |
444
447
  | Laravel Inertia (Svelte) | Mount in `app.ts` |
445
448
 
446
- **Angular family** — `comment-kit/angular`
449
+ **Angular family** — `@commentkit/comment-kit/angular`
447
450
 
448
451
  | Framework / Tool | Notes |
449
452
  | ------------------------ | -------------------------------------------------- |
@@ -451,7 +454,7 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
451
454
  | Analog | Angular-based meta-framework; same provider |
452
455
  | Angular Universal | Provider is browser-only-safe (SSR-aware) |
453
456
 
454
- **Solid family** — `comment-kit/solid`
457
+ **Solid family** — `@commentkit/comment-kit/solid`
455
458
 
456
459
  | Framework / Tool | Notes |
457
460
  | ---------------- | ------------------------------------ |
@@ -459,28 +462,28 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
459
462
  | SolidStart | Use inside a `<ClientOnly>` boundary |
460
463
  | Vike-Solid | Same as SolidStart |
461
464
 
462
- **Qwik family** — `comment-kit/qwik`
465
+ **Qwik family** — `@commentkit/comment-kit/qwik`
463
466
 
464
467
  | Framework / Tool | Notes |
465
468
  | ---------------- | ---------------------------------------------------- |
466
469
  | Qwik | Inside `useVisibleTask$` (client-only by definition) |
467
470
  | QwikCity | Same; mount in `root.tsx` |
468
471
 
469
- **Preact family** — `comment-kit/preact`
472
+ **Preact family** — `@commentkit/comment-kit/preact`
470
473
 
471
474
  | Framework / Tool | Notes |
472
475
  | ---------------- | ------------------------------ |
473
476
  | Preact | Vite, esbuild — same import |
474
477
  | Fresh (Deno) | Use in an `islands/` component |
475
478
 
476
- **Multi-framework / unified** — `comment-kit/react`, `comment-kit/vue`, `comment-kit/svelte`, `comment-kit/preact`, or `comment-kit/solid` depending on island
479
+ **Multi-framework / unified** — `@commentkit/comment-kit/react`, `@commentkit/comment-kit/vue`, `@commentkit/comment-kit/svelte`, `@commentkit/comment-kit/preact`, or `@commentkit/comment-kit/solid` depending on island
477
480
 
478
481
  | Framework / Tool | Notes |
479
482
  | ---------------------- | ------------------------------------------------------- |
480
483
  | Astro | Use any adapter under `client:only` matching the island |
481
484
  | Vike (multi-framework) | Pick adapter matching your selected framework |
482
485
 
483
- **Vanilla / Web Components / HTML-first** — `comment-kit`
486
+ **Vanilla / Web Components / HTML-first** — `@commentkit/comment-kit`
484
487
 
485
488
  | Framework / Tool | Notes |
486
489
  | -------------------------- | ------------------------------------------------------- |
@@ -496,7 +499,7 @@ Every framework and meta-framework gets the full CommentKit UI — identical too
496
499
  | Laravel Filament | Drop the `<script>` into a custom page layout |
497
500
  | Mitosis | Mount in the compiled framework's init |
498
501
 
499
- **WebView / hybrid shells** — `comment-kit` (vanilla), works the same as a normal page
502
+ **WebView / hybrid shells** — `@commentkit/comment-kit` (vanilla), works the same as a normal page
500
503
 
501
504
  | Shell | Notes |
502
505
  | ----------------- | ---------------------------------------------- |
@@ -661,22 +664,22 @@ To disable in production:
661
664
 
662
665
  CommentKit is designed to be safe for production use on customer-facing websites.
663
666
 
664
- | Concern | How CommentKit handles it |
665
- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
666
- | **No telemetry** | The SDK sends zero analytics, tracking, or telemetry data. No data is collected from your users. |
667
- | **No phone-home** | The SDK only communicates with `api.commentkit.com` (your backend) by default. Google Fonts (`fonts.googleapis.com`) is contacted only when you opt in via `ui.loadRemoteFonts: true`. No other third-party services. |
668
- | **No install scripts** | `npm install` runs zero code. No `postinstall`, `preinstall`, or lifecycle scripts. |
669
- | **No dynamic code execution** | Zero `eval()`, `new Function()`, `innerHTML`, or `document.write`. |
670
- | **Shadow DOM isolation** | All UI renders inside Shadow DOM. CommentKit cannot read or modify your page's DOM, CSS, or JavaScript. Your page cannot interfere with CommentKit. |
671
- | **Source maps disabled** | No `.map` files ship. No `sourceMappingURL` in built files. |
672
- | **OTP authentication** | All commenters verify via email OTP. No passwords stored. |
667
+ | Concern | How CommentKit handles it |
668
+ | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
669
+ | **No telemetry** | The SDK sends zero analytics, tracking, or telemetry data. No data is collected from your users. |
670
+ | **No phone-home** | The SDK only communicates with `api.commentkit.dev` (your backend) by default. Google Fonts (`fonts.googleapis.com`) is contacted only when you opt in via `ui.loadRemoteFonts: true`. No other third-party services. |
671
+ | **No install scripts** | `npm install` runs zero code. No `postinstall`, `preinstall`, or lifecycle scripts. |
672
+ | **No dynamic code execution** | Zero `eval()`, `new Function()`, `innerHTML`, or `document.write`. |
673
+ | **Shadow DOM isolation** | All UI renders inside Shadow DOM. CommentKit cannot read or modify your page's DOM, CSS, or JavaScript. Your page cannot interfere with CommentKit. |
674
+ | **Source maps disabled** | No `.map` files ship. No `sourceMappingURL` in built files. |
675
+ | **OTP authentication** | All commenters verify via email OTP. No passwords stored. |
673
676
  | **Session persistence** | Sanctum Bearer token is kept in **sessionStorage** (tab-scoped) so in-tab refresh keeps auth and the offline queue can drain. Closing the tab clears the session; logout / auth-expiry also clear the offline queue. Prefer Bearer over `X-User-Email` (spoofable). |
674
- | **Origin allowlist** | Browser requests must match the project's `allowed_domains` (wildcards like `*.example.com` supported). Empty allowlists deny browser traffic unless the backend enables `COMMENTKIT_ALLOW_EMPTY_ALLOWED_DOMAINS`. Server/MCP clients may omit `Origin`. |
675
- | **GDPR** | CommentKit stores only email and display name for authenticated commenters. No cookies. No fingerprinting. No cross-site tracking. |
677
+ | **Origin allowlist** | Browser requests must match the project's `allowed_domains` (wildcards like `*.example.com` supported). Empty allowlists deny browser traffic unless the backend enables `COMMENTKIT_ALLOW_EMPTY_ALLOWED_DOMAINS`. Server/MCP clients may omit `Origin`. |
678
+ | **GDPR** | CommentKit stores only email and display name for authenticated commenters. No cookies. No fingerprinting. No cross-site tracking. |
676
679
 
677
680
  ### Backend API contract (SDK ↔ backend-v2)
678
681
 
679
- - Base path is `/api` (not `/api/v1`). Default host: `https://api.commentkit.com/api`.
682
+ - Base path is `/api` (not `/api/v1`). Default host: `https://api.commentkit.dev/api`.
680
683
  - Auth: `X-API-Key` on every route; user identity via `Authorization: Bearer` (Sanctum ability `sdk`). Prefer Bearer over `X-User-Email` (only honored when `COMMENTKIT_ALLOW_EMAIL_AUTH=true`).
681
684
  - Attachments: create a comment then `POST .../files` with `comment_id`, **or** upload first and pass `attachment_ids` on create/update. Unlinked orphans do not appear on comments.
682
685
  - MCP comment reads may use API key only when `COMMENTKIT_MACHINE_READ_ENABLED` is on; mutations still need Bearer.
@@ -702,16 +705,16 @@ See [SECURITY.md](./SECURITY.md) for how to report security issues and our suppo
702
705
 
703
706
  ## Bundle Size
704
707
 
705
- | Entry | Raw | Gzipped |
706
- | ------------------------------- | ------ | ------- |
707
- | Core (`comment-kit`) | 101 KB | ~25 KB |
708
- | React (`comment-kit/react`) | 450 KB | ~117 KB |
709
- | Vue (`comment-kit/vue`) | 104 KB | ~25 KB |
710
- | Svelte (`comment-kit/svelte`) | 104 KB | ~25 KB |
711
- | Angular (`comment-kit/angular`) | 111 KB | ~26 KB |
712
- | Solid.js (`comment-kit/solid`) | 103 KB | ~25 KB |
713
- | Qwik (`comment-kit/qwik`) | 102 KB | ~25 KB |
714
- | Preact (`comment-kit/preact`) | 102 KB | ~25 KB |
708
+ | Entry | Raw | Gzipped |
709
+ | ------------------------------------------- | ------ | ------- |
710
+ | Core (`@commentkit/comment-kit`) | 101 KB | ~25 KB |
711
+ | React (`@commentkit/comment-kit/react`) | 450 KB | ~117 KB |
712
+ | Vue (`@commentkit/comment-kit/vue`) | 104 KB | ~25 KB |
713
+ | Svelte (`@commentkit/comment-kit/svelte`) | 104 KB | ~25 KB |
714
+ | Angular (`@commentkit/comment-kit/angular`) | 111 KB | ~26 KB |
715
+ | Solid.js (`@commentkit/comment-kit/solid`) | 103 KB | ~25 KB |
716
+ | Qwik (`@commentkit/comment-kit/qwik`) | 102 KB | ~25 KB |
717
+ | Preact (`@commentkit/comment-kit/preact`) | 102 KB | ~25 KB |
715
718
 
716
719
  Tree-shakeable ESM. Only the entry point you import is bundled.
717
720
 
@@ -758,10 +761,10 @@ CommentKit is proprietary software. See [LICENSE](./LICENSE) for details.
758
761
 
759
762
  ## Links
760
763
 
761
- - [Documentation](https://commentkit.com/docs)
762
- - [Dashboard](https://commentkit.com/dashboard)
764
+ - [Documentation](https://commentkit.dev/docs)
765
+ - [Dashboard](https://commentkit.dev/dashboard)
763
766
  - [Changelog](./CHANGELOG.md)
764
767
  - [GitHub](https://github.com/commentkit/comment-kit)
765
- - [npm](https://www.npmjs.com/package/comment-kit)
768
+ - [npm](https://www.npmjs.com/package/@commentkit/comment-kit)
766
769
  - [Twitter / X](https://x.com/commentkit)
767
770
  - [Discord](https://discord.gg/commentkit)