@eshal-bot/chat-widget 0.1.109 → 0.1.110

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.
@@ -8523,8 +8523,11 @@
8523
8523
  // unlocks at last-token time) and delivers the chips afterwards
8524
8524
  // as their own {type:'follow_up_prompts'} chunk on the same
8525
8525
  // stream. Attach them to the already-finalized assistant
8526
- // message. Turns where chip generation timed out simply never
8527
- // send this chunk.
8526
+ // message. EV-3081: this chunk now arrives on EVERY outcome and
8527
+ // carries `promptsStatus` ("delivered" | "empty" | "timeout" |
8528
+ // "error"); a dropped set arrives as the chunk with no `prompts`,
8529
+ // where it used to be no chunk at all. The empty guard below is
8530
+ // what keeps that a no-op here rather than a chip-clearing write.
8528
8531
  if (parsed.type === 'follow_up_prompts') {
8529
8532
  const latePrompts = Array.isArray(parsed.prompts) ? parsed.prompts : [];
8530
8533
  if (latePrompts.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eshal-bot/chat-widget",
3
- "version": "0.1.109",
3
+ "version": "0.1.110",
4
4
  "description": "Beautiful, embeddable chat widget with dark mode support",
5
5
  "type": "module",
6
6
  "main": "dist/chat-widget.js",