@opencx/widget 5.4.4 → 5.5.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/README.md CHANGED
@@ -23,18 +23,18 @@ Repeated script loads reuse the first loaded widget runtime and its React root.
23
23
  Calling `initOpenScript` again updates its options. To switch widget versions,
24
24
  reload the page.
25
25
 
26
- ## Opt into v5 runtime features
26
+ ## Delivery and v5 runtime features
27
27
 
28
- An unchanged configuration keeps classic send/poll delivery. To enable streaming
29
- and personal service connections, declare both explicitly:
28
+ The script streams replies when your organization supports streaming and uses
29
+ classic send/poll delivery otherwise. Set `streaming: false` to keep send/poll.
30
+ Personal service connections stay off until declared:
30
31
 
31
32
  ```js
32
33
  initOpenScript({
33
34
  token: 'YOUR_WIDGET_TOKEN',
34
- streaming: true,
35
35
  capabilities: { connections: true },
36
36
  });
37
37
  ```
38
38
 
39
- Streaming also requires backend support. Companion layout is selected separately
40
- with `displayMode: 'companion'`; changing layout alone does not change delivery.
39
+ Companion layout is selected separately with `displayMode: 'companion'`;
40
+ changing layout alone does not change delivery.