@vapi-ai/web 1.0.251 → 1.0.253
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 -1
- package/dist/vapi.js +1 -1
- package/package.json +1 -1
- package/vapi.ts +1 -1
package/dist/vapi.d.ts
CHANGED
|
@@ -35,6 +35,6 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
35
35
|
private onAppMessage;
|
|
36
36
|
private handleRemoteParticipantsAudioLevel;
|
|
37
37
|
stop(): void;
|
|
38
|
-
|
|
38
|
+
send(message: VapiClientToServerMessage): void;
|
|
39
39
|
}
|
|
40
40
|
export {};
|
package/dist/vapi.js
CHANGED
|
@@ -193,7 +193,7 @@ class Vapi extends VapiEventEmitter {
|
|
|
193
193
|
(_a = this.call) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
194
194
|
this.call = null;
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
send(message) {
|
|
197
197
|
var _a;
|
|
198
198
|
(_a = this.call) === null || _a === void 0 ? void 0 : _a.sendAppMessage(JSON.stringify(message));
|
|
199
199
|
}
|
package/package.json
CHANGED
package/vapi.ts
CHANGED
|
@@ -244,7 +244,7 @@ export default class Vapi extends VapiEventEmitter {
|
|
|
244
244
|
this.call = null;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
|
|
247
|
+
send(message: VapiClientToServerMessage): void {
|
|
248
248
|
this.call?.sendAppMessage(JSON.stringify(message));
|
|
249
249
|
}
|
|
250
250
|
}
|