@cimulate/copilot-widget 1.38.0 → 1.38.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.
- package/CHANGELOG.md +8 -0
- package/dist/messaging.d.ts +1 -1
- package/dist/messaging.es.js +3468 -3439
- package/dist/messaging.umd.js +28 -28
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.38.2 — 2026-09-15
|
|
6
|
+
|
|
7
|
+
- Fixed product detail cards showing no gallery when a catalog doesn't expose a `large` image view type. The card previously read gallery images only from `large` image groups; it now selects the best available view type in priority order (`hi-res`, `large`, `medium`, `small`) — mirroring the backend's image-selection logic — and commits to that single view type without cascading to a lower one. Within the chosen view type it still prefers the selected color's images, then the color-less default group, then the first usable group, and falls back to the product's primary image when none are usable. Image groups that omit their variation-attribute field are now treated the same as those explicitly marked as having none (as SCAPI emits default groups), so those default images are picked up correctly.
|
|
8
|
+
|
|
9
|
+
## 1.38.1 — 2026-09-14
|
|
10
|
+
|
|
11
|
+
- Latest-cart detection now follows the same content shapes the renderer draws (`{response:[cart]}`, a flattened top-level cart block, or cart JSON nested in markdown), so the live cart stays editable when the agent reply is not wrapped as `{response:[cart]}`.
|
|
12
|
+
|
|
5
13
|
## 1.38.0 — 2026-09-11
|
|
6
14
|
|
|
7
15
|
- Agentforce messaging mode now attaches the PDP context from `initialEntry` to main-chat sends, matching the existing Prompts extension behavior.
|
package/dist/messaging.d.ts
CHANGED