@kitn.ai/ui 0.25.1 → 0.25.2

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 (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,11 +30,7 @@ npm install solid-js
30
30
 
31
31
  ### Option A — Web components (any framework / plain HTML)
32
32
 
33
- Build the bundle, then import it as a side-effect (it registers the custom elements):
34
-
35
- ```bash
36
- npm run build # emits dist/kai.es.js
37
- ```
33
+ `npm install` ships the built bundle, so there is nothing to compile. Import it once as a side effect and every element registers itself:
38
34
 
39
35
  ```html
40
36
  <body style="height: 100vh; margin: 0;">
@@ -78,7 +74,9 @@ The element bundle is a self-contained ES module — load it directly from [jsDe
78
74
  <kai-chat></kai-chat>
79
75
  ```
80
76
 
81
- The URLs above track the **latest** release — handy for trying things out. **For production, pin an exact version** (e.g. `@kitn.ai/ui@0.25.0/dist/kai.es.js`): pinned URLs are immutable and cached far more aggressively, and — since this package is pre-1.0 — pinning shields you from breaking changes in a future minor release.
77
+ <!-- x-release-please-start-version -->
78
+ The URLs above track the **latest** release — handy for trying things out. **For production, pin an exact version** (e.g. `@kitn.ai/ui@0.25.2/dist/kai.es.js`): pinned URLs are immutable and cached far more aggressively, and — since this package is pre-1.0 — pinning shields you from breaking changes in a future minor release.
79
+ <!-- x-release-please-end -->
82
80
 
83
81
  > **Pin `0.25.0` or newer.** Every version from `0.14.1` through `0.24.0` is covered by a [critical security advisory](https://github.com/kitn-ai/ui/security/advisories) and is deprecated on npm. `npm install` warns you about a deprecated version; **a CDN fetch does not**, so an old pinned URL in a page keeps serving the vulnerable bundle silently.
84
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitn.ai/ui",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "nx": {
5
5
  "name": "ui",
6
6
  "targets": {
@@ -182,7 +182,7 @@
182
182
  "verify:pack": "node scripts/verify-pack-weight.mjs",
183
183
  "verify:starters": "node scripts/verify-starters.mjs",
184
184
  "lint:attachment-object-urls": "node scripts/lint-attachment-object-urls.mjs --self-test && node scripts/lint-attachment-object-urls.mjs",
185
- "lint:cdn-pins": "node scripts/lint-cdn-pins.mjs --self-test && node scripts/lint-cdn-pins.mjs",
185
+ "lint:cdn-pins": "node scripts/lint-cdn-pins.mjs --self-test && node scripts/lint-cdn-pins.mjs --check-release-wiring && node scripts/lint-cdn-pins.mjs",
186
186
  "fix:cdn-pins": "node scripts/lint-cdn-pins.mjs --fix",
187
187
  "lint:silent-drops": "node scripts/lint-silent-drops.mjs --self-test && node scripts/lint-silent-drops.mjs",
188
188
  "test": "vitest run",