@cimulate/copilot-widget 1.48.5 → 1.48.8
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 +13 -0
- package/dist/cimulate-copilot-widget.d.ts +11 -4
- package/dist/cimulate-copilot-widget.es.js +1432 -1427
- package/dist/cimulate-copilot-widget.umd.js +34 -34
- package/dist/copilot.es.js +1435 -1430
- package/dist/copilot.umd.js +34 -34
- package/dist/messaging.d.ts +14 -5
- package/dist/messaging.es.js +7544 -7499
- package/dist/messaging.umd.js +30 -30
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
`@cimulate/copilot-widget` follows [Semantic Versioning](https://semver.org/). Each entry is a released `package.json` version (deployed on merge to `master`), newest first.
|
|
4
4
|
|
|
5
|
+
## 1.48.8 — 2026-10-13
|
|
6
|
+
|
|
7
|
+
- Messaging mode: the in-chat order confirmation card is now overridable via the `OrderConfirmation` key in `ComponentOverrides`. Register a custom element (`window.CimulateOverrides.OrderConfirmation = "your-tag"`) and the widget mounts it in place of the built-in card, handing `{ name, payload: { order }, api }`. Leave the key unset and the default card keeps working. Customers implement their own replacement; this release only adds the slot.
|
|
8
|
+
|
|
9
|
+
## 1.48.7 — 2026-10-13
|
|
10
|
+
|
|
11
|
+
- Messaging telemetry (when enabled in a release) now also reports connection, routing, send, and session-recovery failures, render errors, failed cart actions, and empty product searches. Error text, message content, and cart contents are never included. Telemetry is not enabled in this release. No storefront action or configuration required.
|
|
12
|
+
|
|
13
|
+
## 1.48.6 — 2026-10-13
|
|
14
|
+
|
|
15
|
+
- Markdown phone links such as `[555-0100](tel:5550100)` keep their `tel:` href, so the number is clickable. `mailto:` and `https` links are unchanged, and unsafe protocols such as `javascript:` are still removed.
|
|
16
|
+
- A `tel:` link stays in the same tab when `openLinksInNewTab` is on, so the phone dialer can open. Other links still open in a new tab.
|
|
17
|
+
|
|
5
18
|
## 1.48.5 — 2026-10-09
|
|
6
19
|
|
|
7
20
|
- Order confirmation hides the "Ordered On" date when `orderedOn` is missing. Variant attributes fall back to `type` when `lbl` is missing.
|
|
@@ -110,10 +110,11 @@ declare interface CommonParams {
|
|
|
110
110
|
* One flat map from override key to custom-element tag name.
|
|
111
111
|
*
|
|
112
112
|
* `ProductTile`, `ProductCarousel`, `ProductDetailCard`, `ProductComparison`,
|
|
113
|
-
* `ProgressSteps`, `Suggestions`, and `Cart` are the named
|
|
114
|
-
* consults for its built-in UI: register one and the widget
|
|
115
|
-
* in place of the default tile/carousel/detail
|
|
116
|
-
* panel/follow-up buttons/
|
|
113
|
+
* `ProgressSteps`, `Suggestions`, `OrderConfirmation`, and `Cart` are the named
|
|
114
|
+
* keys the widget consults for its built-in UI: register one and the widget
|
|
115
|
+
* mounts your element in place of the default tile/carousel/detail
|
|
116
|
+
* card/comparison table/progress panel/follow-up buttons/order confirmation
|
|
117
|
+
* card/cart card (leave it unset and the built-in renders).
|
|
117
118
|
* Every other key is matched against a `type:"tool_results"` block's top-level
|
|
118
119
|
* `output_name` (never a field inside the arbitrary `data` payload); an
|
|
119
120
|
* unmatched block renders nothing. All of them receive the same `OverrideProps`.
|
|
@@ -131,6 +132,12 @@ declare interface ComponentOverrides {
|
|
|
131
132
|
ProductComparison?: OverrideTagName;
|
|
132
133
|
ProgressSteps?: OverrideTagName;
|
|
133
134
|
Suggestions?: OverrideTagName;
|
|
135
|
+
/**
|
|
136
|
+
* Replaces the in-chat order confirmation card. Receives generic
|
|
137
|
+
* {@link OverrideProps} with `payload.order` as the {@link OrderDetails}
|
|
138
|
+
* the agent emitted. Leave unset and the built-in card renders.
|
|
139
|
+
*/
|
|
140
|
+
OrderConfirmation?: OverrideTagName;
|
|
134
141
|
/**
|
|
135
142
|
* Replaces the in-chat cart BODY (items, totals, coupons) — a presentational
|
|
136
143
|
* slot. Checkout and the Apple/Google Pay iframe are NOT part of it: the widget
|