@vonage/client-sdk 1.6.0-rc.2 → 1.6.1-alpha.0
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_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/VonageClient.html +5 -2
- package/dist/client/VonageClient.d.ts +8 -0
- package/dist/client/index.cjs +23 -6
- package/dist/client/index.mjs +23 -6
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +3 -0
- package/dist/lib/MediaClient.d.ts +1 -0
- package/dist/vonageClientSDK.js +23 -6
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +23 -6
- package/package.json +1 -1
package/dist/vonageClientSDK.mjs
CHANGED
|
@@ -33192,6 +33192,9 @@ function requireClientsdkClientcore () {
|
|
|
33192
33192
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33193
33193
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33194
33194
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33195
|
+
function onConversationEvent(event) {
|
|
33196
|
+
}
|
|
33197
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33195
33198
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33196
33199
|
}
|
|
33197
33200
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33199,9 +33202,6 @@ function requireClientsdkClientcore () {
|
|
|
33199
33202
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33200
33203
|
}
|
|
33201
33204
|
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33202
|
-
function onConversationEvent(event) {
|
|
33203
|
-
}
|
|
33204
|
-
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33205
33205
|
function onAudioSay() {
|
|
33206
33206
|
}
|
|
33207
33207
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33211,7 +33211,7 @@ function requireClientsdkClientcore () {
|
|
|
33211
33211
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33212
33212
|
}
|
|
33213
33213
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33214
|
-
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [
|
|
33214
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
|
|
33215
33215
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33216
33216
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33217
33217
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33345,7 +33345,7 @@ function requireClientsdkClientcore () {
|
|
|
33345
33345
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33346
33346
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33347
33347
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33348
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33348
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
|
|
33349
33349
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33350
33350
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33351
33351
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33561,7 +33561,7 @@ function requireClientsdkClientcore () {
|
|
|
33561
33561
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33562
33562
|
//endregion
|
|
33563
33563
|
function BuildKonfig() {
|
|
33564
|
-
this.g1d_1 = '1.6.
|
|
33564
|
+
this.g1d_1 = '1.6.1-alpha.0';
|
|
33565
33565
|
}
|
|
33566
33566
|
var BuildKonfig_instance;
|
|
33567
33567
|
function CoreClientWithMedia() {
|
|
@@ -74232,6 +74232,9 @@ function requireClientsdkClientcore () {
|
|
|
74232
74232
|
function getPeerConnection(id) {
|
|
74233
74233
|
return this.media.getPeerConnection(id);
|
|
74234
74234
|
}
|
|
74235
|
+
function getAudioElement() {
|
|
74236
|
+
return this.media.getAudioElement();
|
|
74237
|
+
}
|
|
74235
74238
|
function serverCall(context) {
|
|
74236
74239
|
var tmp0_safe_receiver = get_jsonNullable(context);
|
|
74237
74240
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toMap_0(tmp0_safe_receiver);
|
|
@@ -80979,6 +80982,7 @@ function requireClientsdkClientcore () {
|
|
|
80979
80982
|
protoOf(CombinedClientJS).getConversation = getConversation;
|
|
80980
80983
|
protoOf(CombinedClientJS).getUser = getUser;
|
|
80981
80984
|
protoOf(CombinedClientJS).getPeerConnection = getPeerConnection;
|
|
80985
|
+
protoOf(CombinedClientJS).getAudioElement = getAudioElement;
|
|
80982
80986
|
protoOf(CombinedClientJS).serverCall = serverCall;
|
|
80983
80987
|
protoOf(CombinedClientJS).reconnectCall = reconnectCall;
|
|
80984
80988
|
protoOf(CombinedClientJS).getLeg = getLeg;
|
|
@@ -85777,6 +85781,9 @@ class MediaClient {
|
|
|
85777
85781
|
}
|
|
85778
85782
|
});
|
|
85779
85783
|
}
|
|
85784
|
+
getAudioElement() {
|
|
85785
|
+
return this.audio;
|
|
85786
|
+
}
|
|
85780
85787
|
getPeerConnection(id) {
|
|
85781
85788
|
const pc = this.pcs.get(id);
|
|
85782
85789
|
return pc;
|
|
@@ -90225,6 +90232,16 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90225
90232
|
getPeerConnection(id) {
|
|
90226
90233
|
return super.getPeerConnection(id);
|
|
90227
90234
|
}
|
|
90235
|
+
/**
|
|
90236
|
+
* Get the HTML Audio Element for the SDK.
|
|
90237
|
+
* It can be used to route output to other devices.
|
|
90238
|
+
*
|
|
90239
|
+
* @experimental
|
|
90240
|
+
* @group Voice
|
|
90241
|
+
*/
|
|
90242
|
+
getAudioElement() {
|
|
90243
|
+
return super.getAudioElement();
|
|
90244
|
+
}
|
|
90228
90245
|
/**
|
|
90229
90246
|
* Get the Leg for a call
|
|
90230
90247
|
*
|