@squadico/chatbot 1.5.0 → 1.5.1

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/README.md CHANGED
@@ -312,7 +312,7 @@ and [unpkg](https://unpkg.com) as soon as a version is published — there is
312
312
  nothing else to deploy. Add the script, then the tag, anywhere in the page:
313
313
 
314
314
  ```html
315
- <script src="https://cdn.jsdelivr.net/npm/@squadico/chatbot@1.5.0/dist/chatbot.global.js"></script>
315
+ <script src="https://cdn.jsdelivr.net/npm/@squadico/chatbot@1.5.1/dist/chatbot.global.js"></script>
316
316
  <squadico-chatbot
317
317
  embed-key="sq_pub_paste_yours_here"
318
318
  context='{"workspaceId":"WS-1"}'
@@ -320,7 +320,7 @@ nothing else to deploy. Add the script, then the tag, anywhere in the page:
320
320
  ```
321
321
 
322
322
  unpkg works the same way:
323
- `https://unpkg.com/@squadico/chatbot@1.5.0/dist/chatbot.global.js`.
323
+ `https://unpkg.com/@squadico/chatbot@1.5.1/dist/chatbot.global.js`.
324
324
 
325
325
  The form an agent may ask the visitor to fill in, the charts it draws and the
326
326
  Yes / No card of a tool call waiting on the visitor's approval live
@@ -328,14 +328,14 @@ in a second file, `chatbot-widgets.global.js`, published next to
328
328
  `chatbot.global.js` in `dist/`. The chat loads it on its own, from the same
329
329
  folder as its own script, the first time an answer holds a form, a chart or an approval — so it is never fetched by a conversation that does
330
330
  not need it. A self-hosted copy must therefore keep both files side by side.
331
- The short CDN URL (`https://cdn.jsdelivr.net/npm/@squadico/chatbot@1.5.0`,
331
+ The short CDN URL (`https://cdn.jsdelivr.net/npm/@squadico/chatbot@1.5.1`,
332
332
  served through the package's `jsdelivr` / `unpkg` fields) works too: a script URL
333
333
  that does not end in `.js` is taken as the package root, and the extras file is
334
334
  fetched from its `dist/` folder. The injected script carries the main script's
335
335
  `nonce`, so a CSP built on nonces covers it. Until the file arrives — or if it
336
336
  cannot — a form shows its field labels and a chart its filename, as plain text.
337
337
 
338
- **Pin the version.** `@1.5.0` never changes, so a release cannot alter a
338
+ **Pin the version.** `@1.5.1` never changes, so a release cannot alter a
339
339
  customer page. Leaving it out (`@squadico/chatbot/dist/…`) serves the latest
340
340
  version, cached by jsDelivr for up to 12 hours; a range such as `@1` follows the
341
341
  newest `1.x.y`. Prefer a pinned version in production.