andy-widget-react 3.0.0-next.1 → 3.0.0-next.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/README.md CHANGED
@@ -8,7 +8,7 @@ The official React Widget for Andy. Its canonical source is
8
8
  Pin an exact reviewed release. 3.0 prereleases are on the npm `next` tag:
9
9
 
10
10
  ```bash
11
- bun add andy-widget-react@3.0.0-next.1
11
+ bun add andy-widget-react@3.0.0-next.2
12
12
  ```
13
13
 
14
14
  React and React DOM 18 or 19 are peer dependencies. `andy-widget-core` (the `<andy-chat>` element) comes with
@@ -42,7 +42,7 @@ and the host page is unaffected.
42
42
  | --- | --- | --- |
43
43
  | `agentId` | `string` | The Sales Agent ID, shown to anonymous Visitors |
44
44
  | `support` | `SupportOptions` | Support Mode for signed-in Requesters (see [Authenticated Support](#authenticated-support)) |
45
- | `lang` | `'en' \| 'es'` | The Widget's language, over the page's `<html lang>` and the Agent's `defaultLang` |
45
+ | `lang` | `'en' \| 'es'` | The Widget's language, over the page's `<html lang>`, the browser's language and the Agent's `defaultLang` |
46
46
  | `initialOpen` | `boolean` | Start with the panel open; defaults to `false` |
47
47
  | `orientation` | `'left' \| 'right'` | The Launcher's side |
48
48
  | `name` | `string` | Override the Agent's name |
@@ -61,7 +61,7 @@ and the host page is unaffected.
61
61
  | `mode` | `'support'` | Deprecated: `support` without `agentId`; logs one notice |
62
62
  | `tooltip` | `string` | Deprecated and ignored: the 3.x Launcher has no tooltip |
63
63
 
64
- The overrides replace the Agent's own values in every language, in Sales Mode only; an empty or invalid
64
+ The overrides replace the Agent's own values in the Widget's language, in Sales Mode only; an empty or invalid
65
65
  value leaves the Agent's. The server configuration controls **Powered by Andy**; no prop suppresses it.
66
66
 
67
67
  ## Authenticated Support
@@ -32,7 +32,7 @@ export interface SalesAndyChatProps {
32
32
  welcomeMessage?: string;
33
33
  /** The pill Launcher's label. */
34
34
  bubbleLabel?: string;
35
- /** The Widget's language, over the host page's `<html lang>` and the Agent's `defaultLang`. */
35
+ /** The Widget's language, over the host page's `<html lang>`, the browser's language and the Agent's `defaultLang`. */
36
36
  lang?: 'en' | 'es';
37
37
  /** The Starters. */
38
38
  predefinedQuestions?: PredefinedQuestion[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andy-widget-react",
3
- "version": "3.0.0-next.1",
3
+ "version": "3.0.0-next.2",
4
4
  "description": "The Andy Widget for React: a typed wrapper over <andy-chat>",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -60,6 +60,6 @@
60
60
  "react-dom": "^18.0.0 || ^19.0.0"
61
61
  },
62
62
  "dependencies": {
63
- "andy-widget-core": "3.0.0-next.1"
63
+ "andy-widget-core": "3.0.0-next.2"
64
64
  }
65
65
  }