@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 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. Most failures arrive as tavus:error;
128
- // the daily limit, a busy PAL and a bot check that cannot run arrive as tavus:mode-change with mode "unavailable"
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({