@vapi-ai/web 2.1.8 → 2.1.9
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/api.ts +11512 -4890
- package/dist/api.d.ts +7686 -2370
- package/dist/api.js +346 -313
- package/dist/vapi.js +1 -1
- package/package.json +1 -1
- package/vapi.ts +1 -1
package/dist/vapi.js
CHANGED
|
@@ -105,7 +105,6 @@ class Vapi extends VapiEventEmitter {
|
|
|
105
105
|
this.cleanup();
|
|
106
106
|
}
|
|
107
107
|
const isVideoRecordingEnabled = webCall?.artifactPlan?.videoRecordingEnabled ?? false;
|
|
108
|
-
// @ts-expect-error This exists
|
|
109
108
|
const isVideoEnabled = webCall.transport?.assistantVideoEnabled ?? false;
|
|
110
109
|
this.call = daily_js_1.default.createCallObject({
|
|
111
110
|
audioSource: this.dailyCallObject.audioSource ?? true,
|
|
@@ -160,6 +159,7 @@ class Vapi extends VapiEventEmitter {
|
|
|
160
159
|
await this.sleep(1000);
|
|
161
160
|
}
|
|
162
161
|
await this.call.join({
|
|
162
|
+
// @ts-expect-error This exists
|
|
163
163
|
url: webCall.webCallUrl,
|
|
164
164
|
subscribeToTracksAutomatically: false,
|
|
165
165
|
});
|
package/package.json
CHANGED
package/vapi.ts
CHANGED
|
@@ -217,7 +217,6 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
217
217
|
const isVideoRecordingEnabled =
|
|
218
218
|
webCall?.artifactPlan?.videoRecordingEnabled ?? false;
|
|
219
219
|
|
|
220
|
-
// @ts-expect-error This exists
|
|
221
220
|
const isVideoEnabled = webCall.transport?.assistantVideoEnabled ?? false;
|
|
222
221
|
|
|
223
222
|
this.call = DailyIframe.createCallObject({
|
|
@@ -284,6 +283,7 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
284
283
|
}
|
|
285
284
|
|
|
286
285
|
await this.call.join({
|
|
286
|
+
// @ts-expect-error This exists
|
|
287
287
|
url: webCall.webCallUrl,
|
|
288
288
|
subscribeToTracksAutomatically: false,
|
|
289
289
|
});
|