@ai-vyumi/livecall 1.1.2 → 1.1.3
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/VyumiLiveCall.d.ts +1 -1
- package/dist/VyumiLiveCall.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/kit/index.js +0 -2
- package/package.json +1 -1
package/dist/VyumiLiveCall.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare class VyumiLiveCall {
|
|
|
27
27
|
* @param call_type Type of call to initiate (audio or video).
|
|
28
28
|
* @param sessionCallback Callback used to monitor call session events.
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
makeInstantCall(payload: Record<string, any>, call_type: MediaType, sessionCallback: CallSessionCallback): Promise<void>;
|
|
31
31
|
/**
|
|
32
32
|
* Joins the active call room.
|
|
33
33
|
*
|
package/dist/VyumiLiveCall.js
CHANGED
|
@@ -46,7 +46,7 @@ class VyumiLiveCall {
|
|
|
46
46
|
* @param call_type Type of call to initiate (audio or video).
|
|
47
47
|
* @param sessionCallback Callback used to monitor call session events.
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
makeInstantCall(payload, call_type, sessionCallback) {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
51
51
|
yield CallService_1.default.initiateCall(payload, call_type, sessionCallback);
|
|
52
52
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as VyumiLiveCall } from './VyumiLiveCall';
|
|
2
2
|
export { default as VyumiPrebuildCall } from './kit/index';
|
|
3
|
+
export { MediaType, Message } from './types/types';
|
|
3
4
|
export type { CallInteractionCallback, CallSessionCallback, VyumiLiveCallCallback, } from './callbacks/callbacks';
|
package/dist/kit/index.js
CHANGED
|
@@ -200,7 +200,6 @@ const VyumiPrebuildCall = ({ vyumiLiveCallCallBacks, }) => {
|
|
|
200
200
|
name: message.name,
|
|
201
201
|
},
|
|
202
202
|
]);
|
|
203
|
-
console.log('Message received:', message);
|
|
204
203
|
},
|
|
205
204
|
onRemoteMicUpdate: (muted) => {
|
|
206
205
|
setRemoteUserMicOn(!muted);
|
|
@@ -218,7 +217,6 @@ const VyumiPrebuildCall = ({ vyumiLiveCallCallBacks, }) => {
|
|
|
218
217
|
vyumiLiveCallCallBacks === null || vyumiLiveCallCallBacks === void 0 ? void 0 : vyumiLiveCallCallBacks.onError(message);
|
|
219
218
|
},
|
|
220
219
|
onAgentNetworkQuality: (quality) => {
|
|
221
|
-
console.log('Network quality:', quality);
|
|
222
220
|
},
|
|
223
221
|
};
|
|
224
222
|
const joinCall = () => {
|