@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.js
CHANGED
|
@@ -33198,6 +33198,9 @@
|
|
|
33198
33198
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33199
33199
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33200
33200
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33201
|
+
function onConversationEvent(event) {
|
|
33202
|
+
}
|
|
33203
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33201
33204
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33202
33205
|
}
|
|
33203
33206
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33205,9 +33208,6 @@
|
|
|
33205
33208
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33206
33209
|
}
|
|
33207
33210
|
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33208
|
-
function onConversationEvent(event) {
|
|
33209
|
-
}
|
|
33210
|
-
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33211
33211
|
function onAudioSay() {
|
|
33212
33212
|
}
|
|
33213
33213
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33217,7 +33217,7 @@
|
|
|
33217
33217
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33218
33218
|
}
|
|
33219
33219
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33220
|
-
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [
|
|
33220
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
|
|
33221
33221
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33222
33222
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33223
33223
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33351,7 +33351,7 @@
|
|
|
33351
33351
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33352
33352
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33353
33353
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33354
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33354
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
|
|
33355
33355
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33356
33356
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33357
33357
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33567,7 +33567,7 @@
|
|
|
33567
33567
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33568
33568
|
//endregion
|
|
33569
33569
|
function BuildKonfig() {
|
|
33570
|
-
this.g1d_1 = '1.6.
|
|
33570
|
+
this.g1d_1 = '1.6.1-alpha.0';
|
|
33571
33571
|
}
|
|
33572
33572
|
var BuildKonfig_instance;
|
|
33573
33573
|
function CoreClientWithMedia() {
|
|
@@ -74238,6 +74238,9 @@
|
|
|
74238
74238
|
function getPeerConnection(id) {
|
|
74239
74239
|
return this.media.getPeerConnection(id);
|
|
74240
74240
|
}
|
|
74241
|
+
function getAudioElement() {
|
|
74242
|
+
return this.media.getAudioElement();
|
|
74243
|
+
}
|
|
74241
74244
|
function serverCall(context) {
|
|
74242
74245
|
var tmp0_safe_receiver = get_jsonNullable(context);
|
|
74243
74246
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toMap_0(tmp0_safe_receiver);
|
|
@@ -80985,6 +80988,7 @@
|
|
|
80985
80988
|
protoOf(CombinedClientJS).getConversation = getConversation;
|
|
80986
80989
|
protoOf(CombinedClientJS).getUser = getUser;
|
|
80987
80990
|
protoOf(CombinedClientJS).getPeerConnection = getPeerConnection;
|
|
80991
|
+
protoOf(CombinedClientJS).getAudioElement = getAudioElement;
|
|
80988
80992
|
protoOf(CombinedClientJS).serverCall = serverCall;
|
|
80989
80993
|
protoOf(CombinedClientJS).reconnectCall = reconnectCall;
|
|
80990
80994
|
protoOf(CombinedClientJS).getLeg = getLeg;
|
|
@@ -85783,6 +85787,9 @@
|
|
|
85783
85787
|
}
|
|
85784
85788
|
});
|
|
85785
85789
|
}
|
|
85790
|
+
getAudioElement() {
|
|
85791
|
+
return this.audio;
|
|
85792
|
+
}
|
|
85786
85793
|
getPeerConnection(id) {
|
|
85787
85794
|
const pc = this.pcs.get(id);
|
|
85788
85795
|
return pc;
|
|
@@ -90231,6 +90238,16 @@
|
|
|
90231
90238
|
getPeerConnection(id) {
|
|
90232
90239
|
return super.getPeerConnection(id);
|
|
90233
90240
|
}
|
|
90241
|
+
/**
|
|
90242
|
+
* Get the HTML Audio Element for the SDK.
|
|
90243
|
+
* It can be used to route output to other devices.
|
|
90244
|
+
*
|
|
90245
|
+
* @experimental
|
|
90246
|
+
* @group Voice
|
|
90247
|
+
*/
|
|
90248
|
+
getAudioElement() {
|
|
90249
|
+
return super.getAudioElement();
|
|
90250
|
+
}
|
|
90234
90251
|
/**
|
|
90235
90252
|
* Get the Leg for a call
|
|
90236
90253
|
*
|