@vapi-ai/web 1.1.7 → 1.3.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
@@ -99,6 +99,12 @@ vapi.setMuted(true);
99
99
  vapi.isMuted(); // true
100
100
  ```
101
101
 
102
+ The `say(message: string, endCallAfterSpoken?: boolean)` can be used to invoke speech and gracefully terminate the call if needed
103
+
104
+ ```javascript
105
+ vapi.say("Our time's up, goodbye!", true)
106
+ ```
107
+
102
108
  ## Events
103
109
 
104
110
  You can listen to the following events: