@vapi-ai/web 1.0.210 → 1.0.212
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 -4
- package/package.json +2 -2
- package/vapi.ts +3 -3
package/dist/vapi.js
CHANGED
|
@@ -117,10 +117,9 @@ class Vapi extends events_1.default {
|
|
|
117
117
|
});
|
|
118
118
|
}))
|
|
119
119
|
.catch((res) => {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
this.emit("error", msg);
|
|
120
|
+
console.error(res.error);
|
|
121
|
+
this.emit("error", res.error);
|
|
122
|
+
this.started = false;
|
|
124
123
|
});
|
|
125
124
|
}
|
|
126
125
|
handleRemoteParticipantsAudioLevel(e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vapi-ai/web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.212",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/vapi.js",
|
|
6
6
|
"types": "dist/vapi.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/VapiAI/snippet#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@daily-co/daily-js": "^0.
|
|
25
|
+
"@daily-co/daily-js": "^0.53.0",
|
|
26
26
|
"events": "^3.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
package/vapi.ts
CHANGED
|
@@ -119,9 +119,9 @@ export default class Vapi extends EventEmitter {
|
|
|
119
119
|
});
|
|
120
120
|
})
|
|
121
121
|
.catch((res) => {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
this.
|
|
122
|
+
console.error(res.error);
|
|
123
|
+
this.emit("error", res.error);
|
|
124
|
+
this.started = false;
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
|