@cimulate/copilot-widget 1.58.0 → 1.58.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/CHANGELOG.md +5 -0
- package/README.md +1 -1
- package/dist/client-DaAK0txn.js +1979 -0
- package/dist/collectors-CegqX1Vu.js +2793 -0
- package/dist/messaging.css +1 -1
- package/dist/messaging.d.ts +6 -1
- package/dist/messaging.es.js +8803 -8711
- package/dist/messaging.umd.js +33 -33
- package/dist/sf_embeddedMessaging-B3h7hoYD.js +18 -0
- package/dist/shared-v_qZLEbr.js +678 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
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.58.1 — 2026-11-18
|
|
6
|
+
|
|
7
|
+
- Add the selected product variant and quantity through the storefront adapter in direct mode, with in-card feedback.
|
|
8
|
+
- Notify the storefront after confirmed agent cart mutations in direct mode so an open cart page can refresh.
|
|
9
|
+
|
|
5
10
|
## 1.58.0 — 2026-11-17
|
|
6
11
|
|
|
7
12
|
- Add themed hover states for cart controls and keep cart loading, empty, and populated views mutually exclusive. Use native coupon form submission.
|
package/README.md
CHANGED
|
@@ -674,7 +674,7 @@ addCartActionListener((event) => {
|
|
|
674
674
|
});
|
|
675
675
|
```
|
|
676
676
|
|
|
677
|
-
Implement `get`, `quantity`, `remove`, and `coupon` in `storefrontCartAction`, returning the full basket. Supply `expressPaymentUrl` and `checkoutButtonUrl` on the basket to show express payment controls and checkout in the latest in-chat summary and the built-in cart pane.
|
|
677
|
+
Implement `get`, `add`, `quantity`, `remove`, and `coupon` in `storefrontCartAction`, returning the full basket. The in-chat product detail button sends `add` with the selected purchasable `productId` and `quantity`. Typed cart requests go through the agent. On `cimulate:cart-update`, re-fetch the basket and refresh any visible storefront cart. Supply `expressPaymentUrl` and `checkoutButtonUrl` on the basket to show express payment controls and checkout in the latest in-chat summary and the built-in cart pane.
|
|
678
678
|
|
|
679
679
|
Optionally set `messagingConfig.storefrontCartPageUrl` to embed your cart page, or `headerConfig.actions.cart: false` to hide the header cart button; the summary’s View Cart still works. A registered `overrides.Cart` replaces the iframe and built-in cart, including the widget’s express pay and checkout.
|
|
680
680
|
|