@vapi-ai/web 2.1.0 → 2.1.1
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.d.ts +1 -0
- package/dist/vapi.js +3 -0
- package/package.json +1 -1
- package/update.sh +1 -1
- package/vapi.ts +4 -0
package/dist/vapi.d.ts
CHANGED
|
@@ -52,5 +52,6 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
52
52
|
say(message: string, endCallAfterSpoken?: boolean): void;
|
|
53
53
|
setInputDevicesAsync(options: Parameters<DailyCall['setInputDevicesAsync']>[0]): void;
|
|
54
54
|
setOutputDeviceAsync(options: Parameters<DailyCall['setOutputDeviceAsync']>[0]): void;
|
|
55
|
+
getDailyCallObject(): DailyCall | null;
|
|
55
56
|
}
|
|
56
57
|
export {};
|
package/dist/vapi.js
CHANGED
package/package.json
CHANGED
package/update.sh
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
npm version
|
|
1
|
+
npm version patch && npm run build && npm publish && cd ../landing && npm install @vapi-ai/web@latest && cd -
|
package/vapi.ts
CHANGED
|
@@ -357,4 +357,8 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
357
357
|
public setOutputDeviceAsync(options: Parameters<DailyCall['setOutputDeviceAsync']>[0]) {
|
|
358
358
|
this.call?.setOutputDeviceAsync(options);
|
|
359
359
|
}
|
|
360
|
+
|
|
361
|
+
public getDailyCallObject(): DailyCall | null {
|
|
362
|
+
return this.call;
|
|
363
|
+
}
|
|
360
364
|
}
|