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