@cimulate/copilot-widget 1.62.3 → 1.63.0

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 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.63.0 — 2026-11-30
6
+
7
+ - Add `anchorUserMessage`, a messaging-only option that is on by default and anchors a live shopper message to the top of the transcript while the reply renders underneath. Set it to false to disable.
8
+
9
+ ## 1.62.4 — 2026-11-30
10
+
11
+ - Resolve prechat fields for the new Shopper Agent conversation when the shopper sends a message after a human agent ends the chat.
12
+
5
13
  ## 1.62.3 — 2026-11-30
6
14
 
7
15
  - Fix several widget UI strings (menu labels, button labels, loading text) that were not translating when a non-English locale was active.
package/README.md CHANGED
@@ -700,7 +700,7 @@ Optionally set `messagingConfig.storefrontCartPageUrl` to embed your cart page,
700
700
 
701
701
  ## Localization
702
702
 
703
- > **Coming soon.** Multi-locale support is under active development and is not yet available in a released version. The widget currently renders English (`en-US`) only. This section documents the planned API — do not use it in production yet.
703
+ > **Coming soon.** Multi-locale support is under active development and is not yet available in a released version. The widget currently renders English (`en-US`) only. This section documents the planned API — do not use it in production yet.
704
704
 
705
705
  The widget will ship with English (`en-US`) copy embedded in the bundle. All visible and accessible labels will fall back to English when no catalog is supplied. A `translations` prop will let you switch languages or override individual strings.
706
706
 
@@ -255,6 +255,10 @@ declare interface CopilotWidgetProps extends CimCopilotSdkConfig {
255
255
  suggestionButtonConfig?: SuggestionButtonConfig;
256
256
  messageAlignment?: MessageAlignment;
257
257
  autoScroll?: boolean;
258
+ /**
259
+ * Anchors the latest live shopper message to the top of the transcript. On by default.
260
+ */
261
+ anchorUserMessage?: boolean;
258
262
  showProductDescription?: boolean;
259
263
  theme?: ThemeInput;
260
264
  openLinksInNewTab?: boolean;
@@ -375,7 +379,7 @@ declare interface CopilotWidgetProps extends CimCopilotSdkConfig {
375
379
  * PromptsExtensionContext >
376
380
  * CopilotProvider (SocketSdk: copilot-sdk)
377
381
  */
378
- declare const CopilotWidgetProvider: ({ mode, apiKey, apiToken, baseUrl, customerId, tenantId, logoUrl, headerText, headerConfig, theme, openLinksInNewTab, onNavigate, globalClassName, isDevelopment, componentType, componentConfig, entryType, initialEntry, entryMessage, disclaimerText, disclaimerMarkdown, clientContext, baseCatalogParams, searchPlaceholder, searchButtonLabel, searchConfig, suggestionButtonConfig, messageAlignment, autoScroll, promptsConfig, resetConversationMessage, conversationHistory, onConnect, onCopilotEvent, onRefinedSearch, onRefinedBrowse, locale, translations, translationOverrides, __features, children, }: CopilotWidgetProps & {
382
+ declare const CopilotWidgetProvider: ({ mode, apiKey, apiToken, baseUrl, customerId, tenantId, logoUrl, headerText, headerConfig, theme, openLinksInNewTab, onNavigate, globalClassName, isDevelopment, componentType, componentConfig, entryType, initialEntry, entryMessage, disclaimerText, disclaimerMarkdown, clientContext, baseCatalogParams, searchPlaceholder, searchButtonLabel, searchConfig, suggestionButtonConfig, messageAlignment, autoScroll, anchorUserMessage, promptsConfig, resetConversationMessage, conversationHistory, onConnect, onCopilotEvent, onRefinedSearch, onRefinedBrowse, locale, translations, translationOverrides, __features, children, }: CopilotWidgetProps & {
379
383
  children: ReactNode;
380
384
  }) => JSX_2.Element;
381
385