@vapi-ai/web 1.0.188 → 1.0.189

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.
Files changed (3) hide show
  1. package/dist/vapi.js +3 -0
  2. package/package.json +1 -1
  3. package/vapi.ts +4 -0
package/dist/vapi.js CHANGED
@@ -45,6 +45,9 @@ class Vapi extends events_1.default {
45
45
  this.call.on("left-meeting", () => {
46
46
  this.emit("call-end");
47
47
  });
48
+ this.call.on("error", () => {
49
+ // Don't print to console
50
+ });
48
51
  this.call.on("participant-updated", (e) => this.handleParticipantUpdated(e));
49
52
  yield this.call.join({ url });
50
53
  this.call.startRemoteParticipantsAudioLevelObserver();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-ai/web",
3
- "version": "1.0.188",
3
+ "version": "1.0.189",
4
4
  "description": "",
5
5
  "main": "dist/vapi.js",
6
6
  "types": "dist/vapi.d.ts",
package/vapi.ts CHANGED
@@ -45,6 +45,10 @@ export default class Vapi extends EventEmitter {
45
45
  this.emit("call-end");
46
46
  });
47
47
 
48
+ this.call.on("error", () => {
49
+ // Don't print to console
50
+ });
51
+
48
52
  this.call.on("participant-updated", (e) =>
49
53
  this.handleParticipantUpdated(e)
50
54
  );