@paramms/chat-widget 1.7.0 → 1.9.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/dist/index.d.ts CHANGED
@@ -66,9 +66,10 @@ export interface MountOptions {
66
66
  /** Inbox scope: 'tenant' (default) lists the user's threads across ALL your
67
67
  * chatrooms; 'profile' limits to this chatroom. */
68
68
  inboxScope?: 'tenant' | 'profile';
69
- /** If set, shows a 🌐 translate button on incoming messages that translates
70
- * them into this language (ISO code or language name) via the server's
71
- * /translate endpoint. Omit to disable the feature. */
69
+ /** Target language for the 🌐 translate button shown under every incoming
70
+ * message (via the server's /translate endpoint). Defaults to the guest's
71
+ * own language (from `locale`/navigator.language) translation is ON by
72
+ * default. Set a specific ISO code to force it, or '' to disable. */
72
73
  translateLang?: string;
73
74
  /** If true, mount as a floating launcher button that opens/closes the chat */
74
75
  launcher?: boolean;