@moveo-ai/web-client 0.113.0-true.3 → 0.113.0-true.5
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 +7 -0
- package/dist/63.min.js.LICENSE.txt +1 -1
- package/dist/752.min.js.LICENSE.txt +1 -1
- package/dist/882.min.js.LICENSE.txt +1 -1
- package/dist/929.min.js.LICENSE.txt +1 -1
- package/dist/audio-client.min.js +1 -1
- package/dist/audio-client.min.js.LICENSE.txt +1 -1
- package/dist/iframe.min.js +1 -1
- package/dist/iframe.min.js.LICENSE.txt +1 -1
- package/dist/index.html +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/preview.css.min.js.LICENSE.txt +1 -1
- package/dist/telnyx-client.min.js +1 -1
- package/dist/telnyx-client.min.js.LICENSE.txt +1 -1
- package/dist/web-client.min.js +1 -1
- package/dist/web-client.min.js.LICENSE.txt +1 -1
- package/dist/webrtc-client.min.js +1 -1
- package/dist/webrtc-client.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/web-client.d.ts +20 -8
package/README.md
CHANGED
|
@@ -197,6 +197,13 @@ Any other key passes through as a widget-config override for the loaded integrat
|
|
|
197
197
|
| `setLocale(locale)` | Switches the widget language |
|
|
198
198
|
| `destroy()` | Removes the widget from the page |
|
|
199
199
|
|
|
200
|
+
`updateContext` calls made inside a 300 ms window merge into one update, so a
|
|
201
|
+
burst of calls costs one round trip and the first call still ships at once.
|
|
202
|
+
Arrays such as `tags` replace the stored value rather than append, so
|
|
203
|
+
`tags: []` clears them. A call made before a conversation exists is held and
|
|
204
|
+
sent once the session opens. `closeConversation` sends any update still queued
|
|
205
|
+
before it ends the session.
|
|
206
|
+
|
|
200
207
|
### WidgetController Events
|
|
201
208
|
|
|
202
209
|
Register a callback per event. Every callback returns nothing and receives the
|