@cimulate/copilot-widget 1.55.0 → 1.55.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 +4 -0
- package/dist/messaging.d.ts +2 -1
- package/dist/messaging.es.js +8774 -8760
- package/dist/messaging.umd.js +32 -32
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.55.1 — 2026-11-06
|
|
6
|
+
|
|
7
|
+
- With page context enabled, queued messages wait for the agent welcome before sending. If welcome does not arrive within 12 seconds, the send fails with a welcome timeout instead of waiting indefinitely. Integrations without page context keep the existing fallback.
|
|
8
|
+
|
|
5
9
|
## 1.55.0 — 2026-11-06
|
|
6
10
|
|
|
7
11
|
- Messaging mode: `eventHandlers.cart.update` updates the latest cart message in the chat and does not emit `cimulate:cart-update`. The next agent cart result is compared with that basket. Cart messages restored while the conversation is resuming do not emit `cimulate:cart-update`.
|
package/dist/messaging.d.ts
CHANGED
|
@@ -857,7 +857,7 @@ export declare interface MessagingModeConfig {
|
|
|
857
857
|
connectingMessages?: readonly string[] | null;
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
export declare const MessagingProvider: ({ scrt2Url, orgId, esDeveloperName, routingAttributes, conversationId: configConversationId, continuationToken: configContinuationToken, lastEventId: configLastEventId, capabilitiesVersion, enablePageContext, enableLogging, onConnect, onMessage, onError, onProductResult, onEndConversation, onSessionUpdate, children, }: MessagingProviderProps) => JSX_2.Element;
|
|
860
|
+
export declare const MessagingProvider: ({ scrt2Url, orgId, esDeveloperName, routingAttributes, conversationId: configConversationId, continuationToken: configContinuationToken, lastEventId: configLastEventId, capabilitiesVersion, enablePageContext, enableLogging, onConnect, onMessage, onError, onProductResult, onEndConversation, onSessionUpdate, onWelcomeTimeout, children, }: MessagingProviderProps) => JSX_2.Element;
|
|
861
861
|
|
|
862
862
|
declare interface MessagingProviderProps {
|
|
863
863
|
scrt2Url: string;
|
|
@@ -877,6 +877,7 @@ declare interface MessagingProviderProps {
|
|
|
877
877
|
onProductResult?: (detail: ProductResultDetail) => void;
|
|
878
878
|
onEndConversation?: (conversationId: string | null) => Promise<void> | void;
|
|
879
879
|
onSessionUpdate?: (update: MessagingSessionUpdate) => void;
|
|
880
|
+
onWelcomeTimeout?: () => void;
|
|
880
881
|
children: ReactNode;
|
|
881
882
|
}
|
|
882
883
|
|