@vonage/client-sdk 1.6.2 → 1.6.3-snapshot.44.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/dist/client/index.cjs +29 -29
- package/dist/client/index.mjs +29 -29
- package/dist/vonageClientSDK.js +29 -29
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +29 -29
- package/package.json +1 -1
package/dist/client/index.cjs
CHANGED
|
@@ -33779,13 +33779,9 @@ function requireClientsdkClientcore () {
|
|
|
33779
33779
|
setMetadataFor(Companion_134, 'Companion', objectMeta);
|
|
33780
33780
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33781
33781
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33782
|
-
function
|
|
33783
|
-
}
|
|
33784
|
-
function onRTCTransfer(conversationId, legId) {
|
|
33785
|
-
}
|
|
33786
|
-
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33782
|
+
function onConversationEvent(event) {
|
|
33787
33783
|
}
|
|
33788
|
-
setMetadataFor(
|
|
33784
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33789
33785
|
function onAudioSay() {
|
|
33790
33786
|
}
|
|
33791
33787
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33795,10 +33791,14 @@ function requireClientsdkClientcore () {
|
|
|
33795
33791
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33796
33792
|
}
|
|
33797
33793
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33798
|
-
function
|
|
33794
|
+
function onRTCHangup(conversationId, legId, hangup) {
|
|
33799
33795
|
}
|
|
33800
|
-
|
|
33801
|
-
|
|
33796
|
+
function onRTCTransfer(conversationId, legId) {
|
|
33797
|
+
}
|
|
33798
|
+
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33799
|
+
}
|
|
33800
|
+
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33801
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33802
33802
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33803
33803
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33804
33804
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33955,7 +33955,7 @@ function requireClientsdkClientcore () {
|
|
|
33955
33955
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33956
33956
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33957
33957
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33958
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33958
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33959
33959
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33960
33960
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33961
33961
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -34171,7 +34171,7 @@ function requireClientsdkClientcore () {
|
|
|
34171
34171
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
34172
34172
|
//endregion
|
|
34173
34173
|
function BuildKonfig() {
|
|
34174
|
-
this.p1d_1 = '1.6.
|
|
34174
|
+
this.p1d_1 = '1.6.3-snapshot.44.0';
|
|
34175
34175
|
}
|
|
34176
34176
|
var BuildKonfig_instance;
|
|
34177
34177
|
function BuildKonfig_getInstance() {
|
|
@@ -39401,7 +39401,7 @@ function requireClientsdkClientcore () {
|
|
|
39401
39401
|
tmp = null;
|
|
39402
39402
|
} else {
|
|
39403
39403
|
// Inline function 'kotlin.text.contains' call
|
|
39404
|
-
tmp = Regex_init_$Create$('
|
|
39404
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
39405
39405
|
}
|
|
39406
39406
|
var tmp1_elvis_lhs = tmp;
|
|
39407
39407
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -39411,7 +39411,7 @@ function requireClientsdkClientcore () {
|
|
|
39411
39411
|
tmp_0 = null;
|
|
39412
39412
|
} else {
|
|
39413
39413
|
// Inline function 'kotlin.text.contains' call
|
|
39414
|
-
tmp_0 = Regex_init_$Create$('
|
|
39414
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
39415
39415
|
}
|
|
39416
39416
|
var tmp3_elvis_lhs = tmp_0;
|
|
39417
39417
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -39421,7 +39421,7 @@ function requireClientsdkClientcore () {
|
|
|
39421
39421
|
tmp_1 = null;
|
|
39422
39422
|
} else {
|
|
39423
39423
|
// Inline function 'kotlin.text.contains' call
|
|
39424
|
-
tmp_1 = Regex_init_$Create$('
|
|
39424
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
39425
39425
|
}
|
|
39426
39426
|
var tmp5_elvis_lhs = tmp_1;
|
|
39427
39427
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -39960,7 +39960,7 @@ function requireClientsdkClientcore () {
|
|
|
39960
39960
|
tmp = null;
|
|
39961
39961
|
} else {
|
|
39962
39962
|
// Inline function 'kotlin.text.contains' call
|
|
39963
|
-
tmp = Regex_init_$Create$('
|
|
39963
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
39964
39964
|
}
|
|
39965
39965
|
var tmp1_elvis_lhs = tmp;
|
|
39966
39966
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -39970,7 +39970,7 @@ function requireClientsdkClientcore () {
|
|
|
39970
39970
|
tmp_0 = null;
|
|
39971
39971
|
} else {
|
|
39972
39972
|
// Inline function 'kotlin.text.contains' call
|
|
39973
|
-
tmp_0 = Regex_init_$Create$('
|
|
39973
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
39974
39974
|
}
|
|
39975
39975
|
var tmp3_elvis_lhs = tmp_0;
|
|
39976
39976
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -39980,7 +39980,7 @@ function requireClientsdkClientcore () {
|
|
|
39980
39980
|
tmp_1 = null;
|
|
39981
39981
|
} else {
|
|
39982
39982
|
// Inline function 'kotlin.text.contains' call
|
|
39983
|
-
tmp_1 = Regex_init_$Create$('
|
|
39983
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
39984
39984
|
}
|
|
39985
39985
|
var tmp5_elvis_lhs = tmp_1;
|
|
39986
39986
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -42871,8 +42871,8 @@ function requireClientsdkClientcore () {
|
|
|
42871
42871
|
return true;
|
|
42872
42872
|
};
|
|
42873
42873
|
function Companion_51() {
|
|
42874
|
-
this.o1z_1 = '
|
|
42875
|
-
this.p1z_1 = '
|
|
42874
|
+
this.o1z_1 = '"|\'|<|>|&|\\|/';
|
|
42875
|
+
this.p1z_1 = '"|\'|<|>|\\|javascript:';
|
|
42876
42876
|
}
|
|
42877
42877
|
var Companion_instance_52;
|
|
42878
42878
|
function Companion_getInstance_53() {
|
|
@@ -54883,7 +54883,7 @@ function requireClientsdkClientcore () {
|
|
|
54883
54883
|
protoOf(TextBody).z1h = function () {
|
|
54884
54884
|
// Inline function 'kotlin.text.contains' call
|
|
54885
54885
|
var this_0 = this.e2h_1;
|
|
54886
|
-
return !Regex_init_$Create$('
|
|
54886
|
+
return !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0);
|
|
54887
54887
|
};
|
|
54888
54888
|
protoOf(TextBody).toString = function () {
|
|
54889
54889
|
return 'TextBody(text=' + this.e2h_1 + ', message_type=' + this.f2h_1 + ', timestamp=' + this.g2h_1 + ')';
|
|
@@ -54921,7 +54921,7 @@ function requireClientsdkClientcore () {
|
|
|
54921
54921
|
protoOf(ImageBody).z1h = function () {
|
|
54922
54922
|
// Inline function 'kotlin.text.contains' call
|
|
54923
54923
|
var this_0 = this.s2g_1.w2f_1;
|
|
54924
|
-
return !Regex_init_$Create$('
|
|
54924
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54925
54925
|
};
|
|
54926
54926
|
protoOf(ImageBody).toString = function () {
|
|
54927
54927
|
return 'ImageBody(image=' + this.s2g_1 + ', message_type=' + this.t2g_1 + ', timestamp=' + this.u2g_1 + ')';
|
|
@@ -54959,7 +54959,7 @@ function requireClientsdkClientcore () {
|
|
|
54959
54959
|
protoOf(VideoBody).z1h = function () {
|
|
54960
54960
|
// Inline function 'kotlin.text.contains' call
|
|
54961
54961
|
var this_0 = this.x2f_1.w2f_1;
|
|
54962
|
-
return !Regex_init_$Create$('
|
|
54962
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54963
54963
|
};
|
|
54964
54964
|
protoOf(VideoBody).toString = function () {
|
|
54965
54965
|
return 'VideoBody(video=' + this.x2f_1 + ', message_type=' + this.y2f_1 + ', timestamp=' + this.z2f_1 + ')';
|
|
@@ -54997,7 +54997,7 @@ function requireClientsdkClientcore () {
|
|
|
54997
54997
|
protoOf(AudioBody).z1h = function () {
|
|
54998
54998
|
// Inline function 'kotlin.text.contains' call
|
|
54999
54999
|
var this_0 = this.y2g_1.w2f_1;
|
|
55000
|
-
return !Regex_init_$Create$('
|
|
55000
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
55001
55001
|
};
|
|
55002
55002
|
protoOf(AudioBody).toString = function () {
|
|
55003
55003
|
return 'AudioBody(audio=' + this.y2g_1 + ', message_type=' + this.z2g_1 + ', timestamp=' + this.a2h_1 + ')';
|
|
@@ -55035,7 +55035,7 @@ function requireClientsdkClientcore () {
|
|
|
55035
55035
|
protoOf(FileBody).z1h = function () {
|
|
55036
55036
|
// Inline function 'kotlin.text.contains' call
|
|
55037
55037
|
var this_0 = this.v2g_1.w2f_1;
|
|
55038
|
-
return !Regex_init_$Create$('
|
|
55038
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
55039
55039
|
};
|
|
55040
55040
|
protoOf(FileBody).toString = function () {
|
|
55041
55041
|
return 'FileBody(file=' + this.v2g_1 + ', message_type=' + this.w2g_1 + ', timestamp=' + this.x2g_1 + ')';
|
|
@@ -55073,7 +55073,7 @@ function requireClientsdkClientcore () {
|
|
|
55073
55073
|
protoOf(VCardBody).z1h = function () {
|
|
55074
55074
|
// Inline function 'kotlin.text.contains' call
|
|
55075
55075
|
var this_0 = this.a2g_1.w2f_1;
|
|
55076
|
-
return !Regex_init_$Create$('
|
|
55076
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
55077
55077
|
};
|
|
55078
55078
|
protoOf(VCardBody).toString = function () {
|
|
55079
55079
|
return 'VCardBody(vcard=' + this.a2g_1 + ', message_type=' + this.b2g_1 + ', timestamp=' + this.c2g_1 + ')';
|
|
@@ -55184,10 +55184,10 @@ function requireClientsdkClientcore () {
|
|
|
55184
55184
|
var tmp_1;
|
|
55185
55185
|
// Inline function 'kotlin.text.contains' call
|
|
55186
55186
|
var this_0 = this.p2g_1.l2g_1;
|
|
55187
|
-
if (!Regex_init_$Create$('
|
|
55187
|
+
if (!Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0)) {
|
|
55188
55188
|
// Inline function 'kotlin.text.contains' call
|
|
55189
55189
|
var this_1 = this.p2g_1.m2g_1;
|
|
55190
|
-
tmp_1 = !Regex_init_$Create$('
|
|
55190
|
+
tmp_1 = !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_1);
|
|
55191
55191
|
} else {
|
|
55192
55192
|
tmp_1 = false;
|
|
55193
55193
|
}
|
|
@@ -55198,7 +55198,7 @@ function requireClientsdkClientcore () {
|
|
|
55198
55198
|
tmp_2 = null;
|
|
55199
55199
|
} else {
|
|
55200
55200
|
// Inline function 'kotlin.text.contains' call
|
|
55201
|
-
tmp_2 = Regex_init_$Create$('
|
|
55201
|
+
tmp_2 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
55202
55202
|
}
|
|
55203
55203
|
tmp_0 = tmp_2 === false;
|
|
55204
55204
|
} else {
|
|
@@ -55211,7 +55211,7 @@ function requireClientsdkClientcore () {
|
|
|
55211
55211
|
tmp_3 = null;
|
|
55212
55212
|
} else {
|
|
55213
55213
|
// Inline function 'kotlin.text.contains' call
|
|
55214
|
-
tmp_3 = Regex_init_$Create$('
|
|
55214
|
+
tmp_3 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp1_safe_receiver);
|
|
55215
55215
|
}
|
|
55216
55216
|
tmp = tmp_3 === false;
|
|
55217
55217
|
} else {
|
package/dist/client/index.mjs
CHANGED
|
@@ -33755,13 +33755,9 @@ function requireClientsdkClientcore () {
|
|
|
33755
33755
|
setMetadataFor(Companion_134, 'Companion', objectMeta);
|
|
33756
33756
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33757
33757
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33758
|
-
function
|
|
33759
|
-
}
|
|
33760
|
-
function onRTCTransfer(conversationId, legId) {
|
|
33761
|
-
}
|
|
33762
|
-
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33758
|
+
function onConversationEvent(event) {
|
|
33763
33759
|
}
|
|
33764
|
-
setMetadataFor(
|
|
33760
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33765
33761
|
function onAudioSay() {
|
|
33766
33762
|
}
|
|
33767
33763
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33771,10 +33767,14 @@ function requireClientsdkClientcore () {
|
|
|
33771
33767
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33772
33768
|
}
|
|
33773
33769
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33774
|
-
function
|
|
33770
|
+
function onRTCHangup(conversationId, legId, hangup) {
|
|
33775
33771
|
}
|
|
33776
|
-
|
|
33777
|
-
|
|
33772
|
+
function onRTCTransfer(conversationId, legId) {
|
|
33773
|
+
}
|
|
33774
|
+
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33775
|
+
}
|
|
33776
|
+
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33777
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33778
33778
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33779
33779
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33780
33780
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33931,7 +33931,7 @@ function requireClientsdkClientcore () {
|
|
|
33931
33931
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33932
33932
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33933
33933
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33934
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33934
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33935
33935
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33936
33936
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33937
33937
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -34147,7 +34147,7 @@ function requireClientsdkClientcore () {
|
|
|
34147
34147
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
34148
34148
|
//endregion
|
|
34149
34149
|
function BuildKonfig() {
|
|
34150
|
-
this.p1d_1 = '1.6.
|
|
34150
|
+
this.p1d_1 = '1.6.3-snapshot.44.0';
|
|
34151
34151
|
}
|
|
34152
34152
|
var BuildKonfig_instance;
|
|
34153
34153
|
function BuildKonfig_getInstance() {
|
|
@@ -39377,7 +39377,7 @@ function requireClientsdkClientcore () {
|
|
|
39377
39377
|
tmp = null;
|
|
39378
39378
|
} else {
|
|
39379
39379
|
// Inline function 'kotlin.text.contains' call
|
|
39380
|
-
tmp = Regex_init_$Create$('
|
|
39380
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
39381
39381
|
}
|
|
39382
39382
|
var tmp1_elvis_lhs = tmp;
|
|
39383
39383
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -39387,7 +39387,7 @@ function requireClientsdkClientcore () {
|
|
|
39387
39387
|
tmp_0 = null;
|
|
39388
39388
|
} else {
|
|
39389
39389
|
// Inline function 'kotlin.text.contains' call
|
|
39390
|
-
tmp_0 = Regex_init_$Create$('
|
|
39390
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
39391
39391
|
}
|
|
39392
39392
|
var tmp3_elvis_lhs = tmp_0;
|
|
39393
39393
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -39397,7 +39397,7 @@ function requireClientsdkClientcore () {
|
|
|
39397
39397
|
tmp_1 = null;
|
|
39398
39398
|
} else {
|
|
39399
39399
|
// Inline function 'kotlin.text.contains' call
|
|
39400
|
-
tmp_1 = Regex_init_$Create$('
|
|
39400
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
39401
39401
|
}
|
|
39402
39402
|
var tmp5_elvis_lhs = tmp_1;
|
|
39403
39403
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -39936,7 +39936,7 @@ function requireClientsdkClientcore () {
|
|
|
39936
39936
|
tmp = null;
|
|
39937
39937
|
} else {
|
|
39938
39938
|
// Inline function 'kotlin.text.contains' call
|
|
39939
|
-
tmp = Regex_init_$Create$('
|
|
39939
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
39940
39940
|
}
|
|
39941
39941
|
var tmp1_elvis_lhs = tmp;
|
|
39942
39942
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -39946,7 +39946,7 @@ function requireClientsdkClientcore () {
|
|
|
39946
39946
|
tmp_0 = null;
|
|
39947
39947
|
} else {
|
|
39948
39948
|
// Inline function 'kotlin.text.contains' call
|
|
39949
|
-
tmp_0 = Regex_init_$Create$('
|
|
39949
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
39950
39950
|
}
|
|
39951
39951
|
var tmp3_elvis_lhs = tmp_0;
|
|
39952
39952
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -39956,7 +39956,7 @@ function requireClientsdkClientcore () {
|
|
|
39956
39956
|
tmp_1 = null;
|
|
39957
39957
|
} else {
|
|
39958
39958
|
// Inline function 'kotlin.text.contains' call
|
|
39959
|
-
tmp_1 = Regex_init_$Create$('
|
|
39959
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
39960
39960
|
}
|
|
39961
39961
|
var tmp5_elvis_lhs = tmp_1;
|
|
39962
39962
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -42847,8 +42847,8 @@ function requireClientsdkClientcore () {
|
|
|
42847
42847
|
return true;
|
|
42848
42848
|
};
|
|
42849
42849
|
function Companion_51() {
|
|
42850
|
-
this.o1z_1 = '
|
|
42851
|
-
this.p1z_1 = '
|
|
42850
|
+
this.o1z_1 = '"|\'|<|>|&|\\|/';
|
|
42851
|
+
this.p1z_1 = '"|\'|<|>|\\|javascript:';
|
|
42852
42852
|
}
|
|
42853
42853
|
var Companion_instance_52;
|
|
42854
42854
|
function Companion_getInstance_53() {
|
|
@@ -54859,7 +54859,7 @@ function requireClientsdkClientcore () {
|
|
|
54859
54859
|
protoOf(TextBody).z1h = function () {
|
|
54860
54860
|
// Inline function 'kotlin.text.contains' call
|
|
54861
54861
|
var this_0 = this.e2h_1;
|
|
54862
|
-
return !Regex_init_$Create$('
|
|
54862
|
+
return !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0);
|
|
54863
54863
|
};
|
|
54864
54864
|
protoOf(TextBody).toString = function () {
|
|
54865
54865
|
return 'TextBody(text=' + this.e2h_1 + ', message_type=' + this.f2h_1 + ', timestamp=' + this.g2h_1 + ')';
|
|
@@ -54897,7 +54897,7 @@ function requireClientsdkClientcore () {
|
|
|
54897
54897
|
protoOf(ImageBody).z1h = function () {
|
|
54898
54898
|
// Inline function 'kotlin.text.contains' call
|
|
54899
54899
|
var this_0 = this.s2g_1.w2f_1;
|
|
54900
|
-
return !Regex_init_$Create$('
|
|
54900
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54901
54901
|
};
|
|
54902
54902
|
protoOf(ImageBody).toString = function () {
|
|
54903
54903
|
return 'ImageBody(image=' + this.s2g_1 + ', message_type=' + this.t2g_1 + ', timestamp=' + this.u2g_1 + ')';
|
|
@@ -54935,7 +54935,7 @@ function requireClientsdkClientcore () {
|
|
|
54935
54935
|
protoOf(VideoBody).z1h = function () {
|
|
54936
54936
|
// Inline function 'kotlin.text.contains' call
|
|
54937
54937
|
var this_0 = this.x2f_1.w2f_1;
|
|
54938
|
-
return !Regex_init_$Create$('
|
|
54938
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54939
54939
|
};
|
|
54940
54940
|
protoOf(VideoBody).toString = function () {
|
|
54941
54941
|
return 'VideoBody(video=' + this.x2f_1 + ', message_type=' + this.y2f_1 + ', timestamp=' + this.z2f_1 + ')';
|
|
@@ -54973,7 +54973,7 @@ function requireClientsdkClientcore () {
|
|
|
54973
54973
|
protoOf(AudioBody).z1h = function () {
|
|
54974
54974
|
// Inline function 'kotlin.text.contains' call
|
|
54975
54975
|
var this_0 = this.y2g_1.w2f_1;
|
|
54976
|
-
return !Regex_init_$Create$('
|
|
54976
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54977
54977
|
};
|
|
54978
54978
|
protoOf(AudioBody).toString = function () {
|
|
54979
54979
|
return 'AudioBody(audio=' + this.y2g_1 + ', message_type=' + this.z2g_1 + ', timestamp=' + this.a2h_1 + ')';
|
|
@@ -55011,7 +55011,7 @@ function requireClientsdkClientcore () {
|
|
|
55011
55011
|
protoOf(FileBody).z1h = function () {
|
|
55012
55012
|
// Inline function 'kotlin.text.contains' call
|
|
55013
55013
|
var this_0 = this.v2g_1.w2f_1;
|
|
55014
|
-
return !Regex_init_$Create$('
|
|
55014
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
55015
55015
|
};
|
|
55016
55016
|
protoOf(FileBody).toString = function () {
|
|
55017
55017
|
return 'FileBody(file=' + this.v2g_1 + ', message_type=' + this.w2g_1 + ', timestamp=' + this.x2g_1 + ')';
|
|
@@ -55049,7 +55049,7 @@ function requireClientsdkClientcore () {
|
|
|
55049
55049
|
protoOf(VCardBody).z1h = function () {
|
|
55050
55050
|
// Inline function 'kotlin.text.contains' call
|
|
55051
55051
|
var this_0 = this.a2g_1.w2f_1;
|
|
55052
|
-
return !Regex_init_$Create$('
|
|
55052
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
55053
55053
|
};
|
|
55054
55054
|
protoOf(VCardBody).toString = function () {
|
|
55055
55055
|
return 'VCardBody(vcard=' + this.a2g_1 + ', message_type=' + this.b2g_1 + ', timestamp=' + this.c2g_1 + ')';
|
|
@@ -55160,10 +55160,10 @@ function requireClientsdkClientcore () {
|
|
|
55160
55160
|
var tmp_1;
|
|
55161
55161
|
// Inline function 'kotlin.text.contains' call
|
|
55162
55162
|
var this_0 = this.p2g_1.l2g_1;
|
|
55163
|
-
if (!Regex_init_$Create$('
|
|
55163
|
+
if (!Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0)) {
|
|
55164
55164
|
// Inline function 'kotlin.text.contains' call
|
|
55165
55165
|
var this_1 = this.p2g_1.m2g_1;
|
|
55166
|
-
tmp_1 = !Regex_init_$Create$('
|
|
55166
|
+
tmp_1 = !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_1);
|
|
55167
55167
|
} else {
|
|
55168
55168
|
tmp_1 = false;
|
|
55169
55169
|
}
|
|
@@ -55174,7 +55174,7 @@ function requireClientsdkClientcore () {
|
|
|
55174
55174
|
tmp_2 = null;
|
|
55175
55175
|
} else {
|
|
55176
55176
|
// Inline function 'kotlin.text.contains' call
|
|
55177
|
-
tmp_2 = Regex_init_$Create$('
|
|
55177
|
+
tmp_2 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
55178
55178
|
}
|
|
55179
55179
|
tmp_0 = tmp_2 === false;
|
|
55180
55180
|
} else {
|
|
@@ -55187,7 +55187,7 @@ function requireClientsdkClientcore () {
|
|
|
55187
55187
|
tmp_3 = null;
|
|
55188
55188
|
} else {
|
|
55189
55189
|
// Inline function 'kotlin.text.contains' call
|
|
55190
|
-
tmp_3 = Regex_init_$Create$('
|
|
55190
|
+
tmp_3 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp1_safe_receiver);
|
|
55191
55191
|
}
|
|
55192
55192
|
tmp = tmp_3 === false;
|
|
55193
55193
|
} else {
|
package/dist/vonageClientSDK.js
CHANGED
|
@@ -33274,13 +33274,9 @@
|
|
|
33274
33274
|
setMetadataFor(Companion_134, 'Companion', objectMeta);
|
|
33275
33275
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33276
33276
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33277
|
-
function
|
|
33278
|
-
}
|
|
33279
|
-
function onRTCTransfer(conversationId, legId) {
|
|
33280
|
-
}
|
|
33281
|
-
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33277
|
+
function onConversationEvent(event) {
|
|
33282
33278
|
}
|
|
33283
|
-
setMetadataFor(
|
|
33279
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33284
33280
|
function onAudioSay() {
|
|
33285
33281
|
}
|
|
33286
33282
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33290,10 +33286,14 @@
|
|
|
33290
33286
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33291
33287
|
}
|
|
33292
33288
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33293
|
-
function
|
|
33289
|
+
function onRTCHangup(conversationId, legId, hangup) {
|
|
33294
33290
|
}
|
|
33295
|
-
|
|
33296
|
-
|
|
33291
|
+
function onRTCTransfer(conversationId, legId) {
|
|
33292
|
+
}
|
|
33293
|
+
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33294
|
+
}
|
|
33295
|
+
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33296
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33297
33297
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33298
33298
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33299
33299
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33428,7 +33428,7 @@
|
|
|
33428
33428
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33429
33429
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33430
33430
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33431
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33431
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, AudioEventListener, RTCEventListener]);
|
|
33432
33432
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33433
33433
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33434
33434
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33644,7 +33644,7 @@
|
|
|
33644
33644
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33645
33645
|
//endregion
|
|
33646
33646
|
function BuildKonfig() {
|
|
33647
|
-
this.p1d_1 = '1.6.
|
|
33647
|
+
this.p1d_1 = '1.6.3-snapshot.44.0';
|
|
33648
33648
|
}
|
|
33649
33649
|
var BuildKonfig_instance;
|
|
33650
33650
|
function CoreClientWithMedia() {
|
|
@@ -38771,7 +38771,7 @@
|
|
|
38771
38771
|
tmp = null;
|
|
38772
38772
|
} else {
|
|
38773
38773
|
// Inline function 'kotlin.text.contains' call
|
|
38774
|
-
tmp = Regex_init_$Create$('
|
|
38774
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
38775
38775
|
}
|
|
38776
38776
|
var tmp1_elvis_lhs = tmp;
|
|
38777
38777
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -38781,7 +38781,7 @@
|
|
|
38781
38781
|
tmp_0 = null;
|
|
38782
38782
|
} else {
|
|
38783
38783
|
// Inline function 'kotlin.text.contains' call
|
|
38784
|
-
tmp_0 = Regex_init_$Create$('
|
|
38784
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
38785
38785
|
}
|
|
38786
38786
|
var tmp3_elvis_lhs = tmp_0;
|
|
38787
38787
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -38791,7 +38791,7 @@
|
|
|
38791
38791
|
tmp_1 = null;
|
|
38792
38792
|
} else {
|
|
38793
38793
|
// Inline function 'kotlin.text.contains' call
|
|
38794
|
-
tmp_1 = Regex_init_$Create$('
|
|
38794
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
38795
38795
|
}
|
|
38796
38796
|
var tmp5_elvis_lhs = tmp_1;
|
|
38797
38797
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -39326,7 +39326,7 @@
|
|
|
39326
39326
|
tmp = null;
|
|
39327
39327
|
} else {
|
|
39328
39328
|
// Inline function 'kotlin.text.contains' call
|
|
39329
|
-
tmp = Regex_init_$Create$('
|
|
39329
|
+
tmp = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
39330
39330
|
}
|
|
39331
39331
|
var tmp1_elvis_lhs = tmp;
|
|
39332
39332
|
var nameSanitized = !(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
@@ -39336,7 +39336,7 @@
|
|
|
39336
39336
|
tmp_0 = null;
|
|
39337
39337
|
} else {
|
|
39338
39338
|
// Inline function 'kotlin.text.contains' call
|
|
39339
|
-
tmp_0 = Regex_init_$Create$('
|
|
39339
|
+
tmp_0 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp2_safe_receiver);
|
|
39340
39340
|
}
|
|
39341
39341
|
var tmp3_elvis_lhs = tmp_0;
|
|
39342
39342
|
var displayNameSanitized = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
@@ -39346,7 +39346,7 @@
|
|
|
39346
39346
|
tmp_1 = null;
|
|
39347
39347
|
} else {
|
|
39348
39348
|
// Inline function 'kotlin.text.contains' call
|
|
39349
|
-
tmp_1 = Regex_init_$Create$('
|
|
39349
|
+
tmp_1 = Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(tmp4_safe_receiver);
|
|
39350
39350
|
}
|
|
39351
39351
|
var tmp5_elvis_lhs = tmp_1;
|
|
39352
39352
|
var imageUrlSanitized = !(tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs);
|
|
@@ -42169,8 +42169,8 @@
|
|
|
42169
42169
|
return true;
|
|
42170
42170
|
};
|
|
42171
42171
|
function Companion_51() {
|
|
42172
|
-
this.o1z_1 = '
|
|
42173
|
-
this.p1z_1 = '
|
|
42172
|
+
this.o1z_1 = '"|\'|<|>|&|\\|/';
|
|
42173
|
+
this.p1z_1 = '"|\'|<|>|\\|javascript:';
|
|
42174
42174
|
}
|
|
42175
42175
|
function ApiRequest() {
|
|
42176
42176
|
}
|
|
@@ -53961,7 +53961,7 @@
|
|
|
53961
53961
|
protoOf(TextBody).z1h = function () {
|
|
53962
53962
|
// Inline function 'kotlin.text.contains' call
|
|
53963
53963
|
var this_0 = this.e2h_1;
|
|
53964
|
-
return !Regex_init_$Create$('
|
|
53964
|
+
return !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0);
|
|
53965
53965
|
};
|
|
53966
53966
|
protoOf(TextBody).toString = function () {
|
|
53967
53967
|
return 'TextBody(text=' + this.e2h_1 + ', message_type=' + this.f2h_1 + ', timestamp=' + this.g2h_1 + ')';
|
|
@@ -53999,7 +53999,7 @@
|
|
|
53999
53999
|
protoOf(ImageBody).z1h = function () {
|
|
54000
54000
|
// Inline function 'kotlin.text.contains' call
|
|
54001
54001
|
var this_0 = this.s2g_1.w2f_1;
|
|
54002
|
-
return !Regex_init_$Create$('
|
|
54002
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54003
54003
|
};
|
|
54004
54004
|
protoOf(ImageBody).toString = function () {
|
|
54005
54005
|
return 'ImageBody(image=' + this.s2g_1 + ', message_type=' + this.t2g_1 + ', timestamp=' + this.u2g_1 + ')';
|
|
@@ -54037,7 +54037,7 @@
|
|
|
54037
54037
|
protoOf(VideoBody).z1h = function () {
|
|
54038
54038
|
// Inline function 'kotlin.text.contains' call
|
|
54039
54039
|
var this_0 = this.x2f_1.w2f_1;
|
|
54040
|
-
return !Regex_init_$Create$('
|
|
54040
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54041
54041
|
};
|
|
54042
54042
|
protoOf(VideoBody).toString = function () {
|
|
54043
54043
|
return 'VideoBody(video=' + this.x2f_1 + ', message_type=' + this.y2f_1 + ', timestamp=' + this.z2f_1 + ')';
|
|
@@ -54075,7 +54075,7 @@
|
|
|
54075
54075
|
protoOf(AudioBody).z1h = function () {
|
|
54076
54076
|
// Inline function 'kotlin.text.contains' call
|
|
54077
54077
|
var this_0 = this.y2g_1.w2f_1;
|
|
54078
|
-
return !Regex_init_$Create$('
|
|
54078
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54079
54079
|
};
|
|
54080
54080
|
protoOf(AudioBody).toString = function () {
|
|
54081
54081
|
return 'AudioBody(audio=' + this.y2g_1 + ', message_type=' + this.z2g_1 + ', timestamp=' + this.a2h_1 + ')';
|
|
@@ -54113,7 +54113,7 @@
|
|
|
54113
54113
|
protoOf(FileBody).z1h = function () {
|
|
54114
54114
|
// Inline function 'kotlin.text.contains' call
|
|
54115
54115
|
var this_0 = this.v2g_1.w2f_1;
|
|
54116
|
-
return !Regex_init_$Create$('
|
|
54116
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54117
54117
|
};
|
|
54118
54118
|
protoOf(FileBody).toString = function () {
|
|
54119
54119
|
return 'FileBody(file=' + this.v2g_1 + ', message_type=' + this.w2g_1 + ', timestamp=' + this.x2g_1 + ')';
|
|
@@ -54151,7 +54151,7 @@
|
|
|
54151
54151
|
protoOf(VCardBody).z1h = function () {
|
|
54152
54152
|
// Inline function 'kotlin.text.contains' call
|
|
54153
54153
|
var this_0 = this.a2g_1.w2f_1;
|
|
54154
|
-
return !Regex_init_$Create$('
|
|
54154
|
+
return !Regex_init_$Create$('"|\'|<|>|\\|javascript:').v7(this_0);
|
|
54155
54155
|
};
|
|
54156
54156
|
protoOf(VCardBody).toString = function () {
|
|
54157
54157
|
return 'VCardBody(vcard=' + this.a2g_1 + ', message_type=' + this.b2g_1 + ', timestamp=' + this.c2g_1 + ')';
|
|
@@ -54262,10 +54262,10 @@
|
|
|
54262
54262
|
var tmp_1;
|
|
54263
54263
|
// Inline function 'kotlin.text.contains' call
|
|
54264
54264
|
var this_0 = this.p2g_1.l2g_1;
|
|
54265
|
-
if (!Regex_init_$Create$('
|
|
54265
|
+
if (!Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_0)) {
|
|
54266
54266
|
// Inline function 'kotlin.text.contains' call
|
|
54267
54267
|
var this_1 = this.p2g_1.m2g_1;
|
|
54268
|
-
tmp_1 = !Regex_init_$Create$('
|
|
54268
|
+
tmp_1 = !Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(this_1);
|
|
54269
54269
|
} else {
|
|
54270
54270
|
tmp_1 = false;
|
|
54271
54271
|
}
|
|
@@ -54276,7 +54276,7 @@
|
|
|
54276
54276
|
tmp_2 = null;
|
|
54277
54277
|
} else {
|
|
54278
54278
|
// Inline function 'kotlin.text.contains' call
|
|
54279
|
-
tmp_2 = Regex_init_$Create$('
|
|
54279
|
+
tmp_2 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp0_safe_receiver);
|
|
54280
54280
|
}
|
|
54281
54281
|
tmp_0 = tmp_2 === false;
|
|
54282
54282
|
} else {
|
|
@@ -54289,7 +54289,7 @@
|
|
|
54289
54289
|
tmp_3 = null;
|
|
54290
54290
|
} else {
|
|
54291
54291
|
// Inline function 'kotlin.text.contains' call
|
|
54292
|
-
tmp_3 = Regex_init_$Create$('
|
|
54292
|
+
tmp_3 = Regex_init_$Create$('"|\'|<|>|&|\\|/').v7(tmp1_safe_receiver);
|
|
54293
54293
|
}
|
|
54294
54294
|
tmp = tmp_3 === false;
|
|
54295
54295
|
} else {
|