@opencx/widget 5.4.3 → 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 +6 -6
- package/dist-embed/script.js +135 -135
- package/package.json +4 -4
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
|
-
##
|
|
26
|
+
## Delivery and v5 runtime features
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
40
|
-
|
|
39
|
+
Companion layout is selected separately with `displayMode: 'companion'`;
|
|
40
|
+
changing layout alone does not change delivery.
|