@vapi-ai/web 1.0.209 → 1.0.211
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/dist/vapi.js +3 -3
- package/package.json +1 -1
- package/vapi.ts +3 -3
package/dist/vapi.js
CHANGED
|
@@ -116,9 +116,9 @@ class Vapi extends events_1.default {
|
|
|
116
116
|
},
|
|
117
117
|
});
|
|
118
118
|
}))
|
|
119
|
-
.catch((
|
|
120
|
-
console.error(error);
|
|
121
|
-
this.emit("error", error);
|
|
119
|
+
.catch((res) => {
|
|
120
|
+
console.error(res.error);
|
|
121
|
+
this.emit("error", res.error);
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
handleRemoteParticipantsAudioLevel(e) {
|
package/package.json
CHANGED
package/vapi.ts
CHANGED
|
@@ -118,9 +118,9 @@ export default class Vapi extends EventEmitter {
|
|
|
118
118
|
},
|
|
119
119
|
});
|
|
120
120
|
})
|
|
121
|
-
.catch((
|
|
122
|
-
console.error(error);
|
|
123
|
-
this.emit("error", error);
|
|
121
|
+
.catch((res) => {
|
|
122
|
+
console.error(res.error);
|
|
123
|
+
this.emit("error", res.error);
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
|