@tavus/embed 0.19.1 → 0.19.3
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 +2 -2
- package/dist/index.iife.js +9 -9
- package/dist/index.mjs +811 -638
- package/dist/integration.d.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,8 +124,8 @@ Also `tavus:conversation-created`, `tavus:state-change` and `tavus:mode-change`.
|
|
|
124
124
|
Methods exist once `tavus:ready` has fired:
|
|
125
125
|
|
|
126
126
|
```js
|
|
127
|
-
el.startConversation(); // same path as the visitor pressing Start; never rejects.
|
|
128
|
-
// the daily limit, a busy PAL and a bot check that cannot run
|
|
127
|
+
el.startConversation(); // same path as the visitor pressing Start; never rejects. Failures arrive as tavus:error;
|
|
128
|
+
// the daily limit, a busy PAL and a bot check that cannot run also move the element to its unavailable screen (tavus:mode-change with mode "unavailable")
|
|
129
129
|
await el.createConversation(); // create the room now so the next start joins without the wait
|
|
130
130
|
el.endConversation();
|
|
131
131
|
el.sendMessage({
|