@vonage/client-sdk 2.7.3 → 2.7.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/index.cjs +24 -24
- package/dist/client/index.mjs +24 -24
- package/dist/kotlin/JsUnions.d.ts +20 -20
- package/dist/vonageClientSDK.js +24 -24
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +24 -24
- package/package.json +1 -1
package/dist/vonageClientSDK.mjs
CHANGED
|
@@ -129,12 +129,6 @@ function requireKotlinKotlinStdlib () {
|
|
|
129
129
|
};
|
|
130
130
|
}(Math.log, Math.LN2);
|
|
131
131
|
}
|
|
132
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
133
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
134
|
-
position = position || 0;
|
|
135
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
136
|
-
}});
|
|
137
|
-
}
|
|
138
132
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
139
133
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
140
134
|
var subjectString = this.toString();
|
|
@@ -146,6 +140,12 @@ function requireKotlinKotlinStdlib () {
|
|
|
146
140
|
return lastIndex !== -1 && lastIndex === position;
|
|
147
141
|
}});
|
|
148
142
|
}
|
|
143
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
144
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
145
|
+
position = position || 0;
|
|
146
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
147
|
+
}});
|
|
148
|
+
}
|
|
149
149
|
//endregion
|
|
150
150
|
(function (factory) {
|
|
151
151
|
factory(module.exports);
|
|
@@ -24204,7 +24204,8 @@ function requireClientsdkClientcore () {
|
|
|
24204
24204
|
var createFailure = kotlin_kotlin.$_$.rb;
|
|
24205
24205
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.m2;
|
|
24206
24206
|
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.l2;
|
|
24207
|
-
var
|
|
24207
|
+
var emptyMap = kotlin_kotlin.$_$.b5;
|
|
24208
|
+
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
|
|
24208
24209
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
24209
24210
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.a1;
|
|
24210
24211
|
var lazy = kotlin_kotlin.$_$.wb;
|
|
@@ -24222,14 +24223,12 @@ function requireClientsdkClientcore () {
|
|
|
24222
24223
|
var isCharSequence = kotlin_kotlin.$_$.e8;
|
|
24223
24224
|
var trim = kotlin_kotlin.$_$.qa;
|
|
24224
24225
|
var charSequenceLength = kotlin_kotlin.$_$.k7;
|
|
24225
|
-
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
|
|
24226
24226
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
24227
24227
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
24228
24228
|
var to = kotlin_kotlin.$_$.cc;
|
|
24229
24229
|
var mapOf = kotlin_kotlin.$_$.v5;
|
|
24230
24230
|
var put = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.q;
|
|
24231
24231
|
var putJsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.p;
|
|
24232
|
-
var emptyMap = kotlin_kotlin.$_$.b5;
|
|
24233
24232
|
var JsonObjectBuilder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.h;
|
|
24234
24233
|
var removePrefix = kotlin_kotlin.$_$.s9;
|
|
24235
24234
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
@@ -25107,16 +25106,6 @@ function requireClientsdkClientcore () {
|
|
|
25107
25106
|
initMetadataForCompanion(Companion_150);
|
|
25108
25107
|
initMetadataForObject($serializer_173, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
25109
25108
|
initMetadataForClass(SessionTerminatedEvent, 'SessionTerminatedEvent', VOID, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_173});
|
|
25110
|
-
function onRTCHangup(conversationId, legId, hangup) {
|
|
25111
|
-
}
|
|
25112
|
-
function onRTCTransfer(conversationId, legId) {
|
|
25113
|
-
}
|
|
25114
|
-
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
25115
|
-
}
|
|
25116
|
-
initMetadataForInterface(RTCEventListener, 'RTCEventListener');
|
|
25117
|
-
function onConversationEvent(event) {
|
|
25118
|
-
}
|
|
25119
|
-
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
25120
25109
|
function onAudioSay() {
|
|
25121
25110
|
}
|
|
25122
25111
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -25126,7 +25115,17 @@ function requireClientsdkClientcore () {
|
|
|
25126
25115
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
25127
25116
|
}
|
|
25128
25117
|
initMetadataForInterface(AudioEventListener, 'AudioEventListener');
|
|
25129
|
-
|
|
25118
|
+
function onConversationEvent(event) {
|
|
25119
|
+
}
|
|
25120
|
+
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
25121
|
+
function onRTCHangup(conversationId, legId, hangup) {
|
|
25122
|
+
}
|
|
25123
|
+
function onRTCTransfer(conversationId, legId) {
|
|
25124
|
+
}
|
|
25125
|
+
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
25126
|
+
}
|
|
25127
|
+
initMetadataForInterface(RTCEventListener, 'RTCEventListener');
|
|
25128
|
+
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, ConversationEventListener, RTCEventListener]);
|
|
25130
25129
|
initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
|
|
25131
25130
|
initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
|
|
25132
25131
|
initMetadataForObject(DefaultConfig, 'DefaultConfig');
|
|
@@ -25265,7 +25264,7 @@ function requireClientsdkClientcore () {
|
|
|
25265
25264
|
initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
|
|
25266
25265
|
initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
|
|
25267
25266
|
initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
|
|
25268
|
-
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [
|
|
25267
|
+
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, ConversationEventListener, RTCEventListener]);
|
|
25269
25268
|
initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
|
|
25270
25269
|
initMetadataForInterface(CallEvent, 'CallEvent');
|
|
25271
25270
|
initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
|
|
@@ -25494,7 +25493,7 @@ function requireClientsdkClientcore () {
|
|
|
25494
25493
|
initMetadataForClass(runAfterDelay$1);
|
|
25495
25494
|
//endregion
|
|
25496
25495
|
function BuildKonfig() {
|
|
25497
|
-
this.i1i_1 = '2.7.
|
|
25496
|
+
this.i1i_1 = '2.7.5';
|
|
25498
25497
|
}
|
|
25499
25498
|
var BuildKonfig_instance;
|
|
25500
25499
|
function EmergencyCallOptions(ringbackTone) {
|
|
@@ -27957,12 +27956,13 @@ function requireClientsdkClientcore () {
|
|
|
27957
27956
|
};
|
|
27958
27957
|
protoOf(UpdateSessionRequest).z1s = function (encoder, store) {
|
|
27959
27958
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
27959
|
+
var value = new JsonObject(emptyMap());
|
|
27960
27960
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
27961
27961
|
var this_0 = encoder.mm();
|
|
27962
27962
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
27963
|
-
var this_1 = serializer(this_0, createKType(
|
|
27963
|
+
var this_1 = serializer(this_0, createKType(getKClass(JsonObject), arrayOf([]), false));
|
|
27964
27964
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
27965
|
-
return encoder.v13(tmp$ret$1,
|
|
27965
|
+
return encoder.v13(tmp$ret$1, value);
|
|
27966
27966
|
};
|
|
27967
27967
|
protoOf(UpdateSessionRequest).a1t = function (data, decoder) {
|
|
27968
27968
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|