@vonage/client-sdk 1.1.0-alpha.3 → 1.1.0-alpha.5
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/client/VonageClient.d.ts +82 -4
- package/dist/client/index.cjs +390 -304
- package/dist/client/index.mjs +390 -304
- package/dist/coreExtend.d.ts +30 -3
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +1 -0
- package/dist/vonageClientSDK.js +387 -300
- package/dist/vonageClientSDK.min.js +2 -2
- package/dist/vonageClientSDK.min.mjs +2 -2
- package/dist/vonageClientSDK.mjs +387 -300
- package/package.json +1 -1
package/dist/coreExtend.d.ts
CHANGED
|
@@ -2,11 +2,38 @@ import './kotlin/clientsdk-clientcore_js';
|
|
|
2
2
|
declare module './kotlin/clientsdk-clientcore_js' {
|
|
3
3
|
namespace vonage {
|
|
4
4
|
interface CombinedClientJS {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Mute your leg of a call
|
|
7
|
+
* @param callId - Call ID
|
|
8
|
+
* @returns void
|
|
9
|
+
*/
|
|
10
|
+
mute(callId: string): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Unmute your leg of a call
|
|
13
|
+
* @param callId - Call ID
|
|
14
|
+
* @returns void
|
|
15
|
+
*/
|
|
16
|
+
unmute(callId: string): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Earmuff your leg of a call
|
|
19
|
+
* @param callId - Call ID
|
|
20
|
+
* @returns void
|
|
21
|
+
*/
|
|
22
|
+
enableEarmuff(callId: string): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Unearmuff your leg of a call
|
|
25
|
+
* @param callId - Call ID
|
|
26
|
+
* @returns void
|
|
27
|
+
*/
|
|
28
|
+
disableEarmuff(callId: string): Promise<void>;
|
|
8
29
|
}
|
|
9
30
|
interface CoreClientJS {
|
|
31
|
+
/**
|
|
32
|
+
* Get the peer connection for a call
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
* @param id - Call ID
|
|
36
|
+
*/
|
|
10
37
|
getPeerConnection(id: string): RTCPeerConnection;
|
|
11
38
|
}
|
|
12
39
|
}
|