@vonage/client-sdk 1.3.0-snapshot.87.0 → 1.3.0-snapshot.88.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.
@@ -20059,16 +20059,6 @@ function requireClientsdkClientcore () {
20059
20059
  setMetadataFor(Companion_121, 'Companion', objectMeta);
20060
20060
  setMetadataFor($serializer_143, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
20061
20061
  setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, {0: $serializer_getInstance_143});
20062
- function onConversationEvent(event) {
20063
- }
20064
- setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
20065
- function onRTCHangup(conversationId, legId, hangup) {
20066
- }
20067
- function onRTCTransfer(conversationId, legId) {
20068
- }
20069
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
20070
- }
20071
- setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
20072
20062
  function onAudioSay() {
20073
20063
  }
20074
20064
  function onAudioMuteUpdate(conversationId, legId, isMuted) {
@@ -20078,7 +20068,17 @@ function requireClientsdkClientcore () {
20078
20068
  function onAudioDTMFUpdate(conversationId, legId, digits) {
20079
20069
  }
20080
20070
  setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
20081
- setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
20071
+ function onRTCHangup(conversationId, legId, hangup) {
20072
+ }
20073
+ function onRTCTransfer(conversationId, legId) {
20074
+ }
20075
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
20076
+ }
20077
+ setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
20078
+ function onConversationEvent(event) {
20079
+ }
20080
+ setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
20081
+ setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
20082
20082
  setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
20083
20083
  setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
20084
20084
  setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
@@ -20207,7 +20207,7 @@ function requireClientsdkClientcore () {
20207
20207
  setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
20208
20208
  setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
20209
20209
  setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
20210
- setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
20210
+ setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
20211
20211
  setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
20212
20212
  setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
20213
20213
  setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
@@ -56029,10 +56029,8 @@ function requireClientsdkClientcore () {
56029
56029
  }
56030
56030
  function SocketClientDelegate() {
56031
56031
  }
56032
- function SocketConfig(query, forceNew, path, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
56033
- query = query === VOID ? '' : query;
56032
+ function SocketConfig(query, path, forceNew, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
56034
56033
  forceNew = forceNew === VOID ? true : forceNew;
56035
- path = path === VOID ? '/rtc/' : path;
56036
56034
  var tmp;
56037
56035
  if (transports === VOID) {
56038
56036
  // Inline function 'kotlin.arrayOf' call
@@ -56048,8 +56046,8 @@ function requireClientsdkClientcore () {
56048
56046
  reconnectionDelay = reconnectionDelay === VOID ? 5 : reconnectionDelay;
56049
56047
  randomizationFactor = randomizationFactor === VOID ? 0.75 : randomizationFactor;
56050
56048
  this.h39_1 = query;
56051
- this.i39_1 = forceNew;
56052
- this.j39_1 = path;
56049
+ this.i39_1 = path;
56050
+ this.j39_1 = forceNew;
56053
56051
  this.k39_1 = transports;
56054
56052
  this.l39_1 = reconnection;
56055
56053
  this.m39_1 = reconnectionAttempts;
@@ -56057,12 +56055,12 @@ function requireClientsdkClientcore () {
56057
56055
  this.o39_1 = randomizationFactor;
56058
56056
  }
56059
56057
  protoOf(SocketConfig).toString = function () {
56060
- return 'SocketConfig(query=' + this.h39_1 + ', forceNew=' + this.i39_1 + ', path=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
56058
+ return 'SocketConfig(query=' + this.h39_1 + ', path=' + this.i39_1 + ', forceNew=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
56061
56059
  };
56062
56060
  protoOf(SocketConfig).hashCode = function () {
56063
56061
  var result = getStringHashCode(this.h39_1);
56064
- result = imul(result, 31) + (this.i39_1 | 0) | 0;
56065
- result = imul(result, 31) + getStringHashCode(this.j39_1) | 0;
56062
+ result = imul(result, 31) + getStringHashCode(this.i39_1) | 0;
56063
+ result = imul(result, 31) + (this.j39_1 | 0) | 0;
56066
56064
  result = imul(result, 31) + hashCode(this.k39_1) | 0;
56067
56065
  result = imul(result, 31) + (this.l39_1 | 0) | 0;
56068
56066
  result = imul(result, 31) + hashCode(this.m39_1) | 0;
@@ -56205,7 +56203,7 @@ function requireClientsdkClientcore () {
56205
56203
  $logger.y2x(VOID, SocketConnectionMiddleware$lambda$lambda$lambda_2(host, path));
56206
56204
  tmp_9 = Unit_getInstance();
56207
56205
  } else {
56208
- var config = new SocketConfig(query);
56206
+ var config = new SocketConfig(query, path);
56209
56207
  $ws.x35(host, path, config.m39_1, config.n39_1, config.o39_1, token, sessionId, query);
56210
56208
  StaticConfig_getInstance();
56211
56209
  $ws.b36(5000, SocketConnectionMiddleware$lambda$lambda$lambda_3($store, action));
@@ -20035,16 +20035,6 @@ function requireClientsdkClientcore () {
20035
20035
  setMetadataFor(Companion_121, 'Companion', objectMeta);
20036
20036
  setMetadataFor($serializer_143, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
20037
20037
  setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, {0: $serializer_getInstance_143});
20038
- function onConversationEvent(event) {
20039
- }
20040
- setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
20041
- function onRTCHangup(conversationId, legId, hangup) {
20042
- }
20043
- function onRTCTransfer(conversationId, legId) {
20044
- }
20045
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
20046
- }
20047
- setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
20048
20038
  function onAudioSay() {
20049
20039
  }
20050
20040
  function onAudioMuteUpdate(conversationId, legId, isMuted) {
@@ -20054,7 +20044,17 @@ function requireClientsdkClientcore () {
20054
20044
  function onAudioDTMFUpdate(conversationId, legId, digits) {
20055
20045
  }
20056
20046
  setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
20057
- setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
20047
+ function onRTCHangup(conversationId, legId, hangup) {
20048
+ }
20049
+ function onRTCTransfer(conversationId, legId) {
20050
+ }
20051
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
20052
+ }
20053
+ setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
20054
+ function onConversationEvent(event) {
20055
+ }
20056
+ setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
20057
+ setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
20058
20058
  setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
20059
20059
  setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
20060
20060
  setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
@@ -20183,7 +20183,7 @@ function requireClientsdkClientcore () {
20183
20183
  setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
20184
20184
  setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
20185
20185
  setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
20186
- setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
20186
+ setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
20187
20187
  setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
20188
20188
  setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
20189
20189
  setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
@@ -56005,10 +56005,8 @@ function requireClientsdkClientcore () {
56005
56005
  }
56006
56006
  function SocketClientDelegate() {
56007
56007
  }
56008
- function SocketConfig(query, forceNew, path, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
56009
- query = query === VOID ? '' : query;
56008
+ function SocketConfig(query, path, forceNew, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
56010
56009
  forceNew = forceNew === VOID ? true : forceNew;
56011
- path = path === VOID ? '/rtc/' : path;
56012
56010
  var tmp;
56013
56011
  if (transports === VOID) {
56014
56012
  // Inline function 'kotlin.arrayOf' call
@@ -56024,8 +56022,8 @@ function requireClientsdkClientcore () {
56024
56022
  reconnectionDelay = reconnectionDelay === VOID ? 5 : reconnectionDelay;
56025
56023
  randomizationFactor = randomizationFactor === VOID ? 0.75 : randomizationFactor;
56026
56024
  this.h39_1 = query;
56027
- this.i39_1 = forceNew;
56028
- this.j39_1 = path;
56025
+ this.i39_1 = path;
56026
+ this.j39_1 = forceNew;
56029
56027
  this.k39_1 = transports;
56030
56028
  this.l39_1 = reconnection;
56031
56029
  this.m39_1 = reconnectionAttempts;
@@ -56033,12 +56031,12 @@ function requireClientsdkClientcore () {
56033
56031
  this.o39_1 = randomizationFactor;
56034
56032
  }
56035
56033
  protoOf(SocketConfig).toString = function () {
56036
- return 'SocketConfig(query=' + this.h39_1 + ', forceNew=' + this.i39_1 + ', path=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
56034
+ return 'SocketConfig(query=' + this.h39_1 + ', path=' + this.i39_1 + ', forceNew=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
56037
56035
  };
56038
56036
  protoOf(SocketConfig).hashCode = function () {
56039
56037
  var result = getStringHashCode(this.h39_1);
56040
- result = imul(result, 31) + (this.i39_1 | 0) | 0;
56041
- result = imul(result, 31) + getStringHashCode(this.j39_1) | 0;
56038
+ result = imul(result, 31) + getStringHashCode(this.i39_1) | 0;
56039
+ result = imul(result, 31) + (this.j39_1 | 0) | 0;
56042
56040
  result = imul(result, 31) + hashCode(this.k39_1) | 0;
56043
56041
  result = imul(result, 31) + (this.l39_1 | 0) | 0;
56044
56042
  result = imul(result, 31) + hashCode(this.m39_1) | 0;
@@ -56181,7 +56179,7 @@ function requireClientsdkClientcore () {
56181
56179
  $logger.y2x(VOID, SocketConnectionMiddleware$lambda$lambda$lambda_2(host, path));
56182
56180
  tmp_9 = Unit_getInstance();
56183
56181
  } else {
56184
- var config = new SocketConfig(query);
56182
+ var config = new SocketConfig(query, path);
56185
56183
  $ws.x35(host, path, config.m39_1, config.n39_1, config.o39_1, token, sessionId, query);
56186
56184
  StaticConfig_getInstance();
56187
56185
  $ws.b36(5000, SocketConnectionMiddleware$lambda$lambda$lambda_3($store, action));
@@ -19593,16 +19593,6 @@
19593
19593
  setMetadataFor(Companion_121, 'Companion', objectMeta);
19594
19594
  setMetadataFor($serializer_143, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
19595
19595
  setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, {0: $serializer_getInstance_143});
19596
- function onConversationEvent(event) {
19597
- }
19598
- setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
19599
- function onRTCHangup(conversationId, legId, hangup) {
19600
- }
19601
- function onRTCTransfer(conversationId, legId) {
19602
- }
19603
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
19604
- }
19605
- setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
19606
19596
  function onAudioSay() {
19607
19597
  }
19608
19598
  function onAudioMuteUpdate(conversationId, legId, isMuted) {
@@ -19612,7 +19602,17 @@
19612
19602
  function onAudioDTMFUpdate(conversationId, legId, digits) {
19613
19603
  }
19614
19604
  setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
19615
- setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
19605
+ function onRTCHangup(conversationId, legId, hangup) {
19606
+ }
19607
+ function onRTCTransfer(conversationId, legId) {
19608
+ }
19609
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
19610
+ }
19611
+ setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
19612
+ function onConversationEvent(event) {
19613
+ }
19614
+ setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
19615
+ setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
19616
19616
  setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
19617
19617
  setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
19618
19618
  setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
@@ -19721,7 +19721,7 @@
19721
19721
  setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
19722
19722
  setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
19723
19723
  setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
19724
- setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
19724
+ setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
19725
19725
  setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
19726
19726
  setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
19727
19727
  setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
@@ -54861,10 +54861,8 @@
54861
54861
  }
54862
54862
  function SocketClientDelegate() {
54863
54863
  }
54864
- function SocketConfig(query, forceNew, path, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
54865
- query = query === VOID ? '' : query;
54864
+ function SocketConfig(query, path, forceNew, transports, reconnection, reconnectionAttempts, reconnectionDelay, randomizationFactor) {
54866
54865
  forceNew = forceNew === VOID ? true : forceNew;
54867
- path = path === VOID ? '/rtc/' : path;
54868
54866
  var tmp;
54869
54867
  if (transports === VOID) {
54870
54868
  // Inline function 'kotlin.arrayOf' call
@@ -54880,8 +54878,8 @@
54880
54878
  reconnectionDelay = reconnectionDelay === VOID ? 5 : reconnectionDelay;
54881
54879
  randomizationFactor = randomizationFactor === VOID ? 0.75 : randomizationFactor;
54882
54880
  this.h39_1 = query;
54883
- this.i39_1 = forceNew;
54884
- this.j39_1 = path;
54881
+ this.i39_1 = path;
54882
+ this.j39_1 = forceNew;
54885
54883
  this.k39_1 = transports;
54886
54884
  this.l39_1 = reconnection;
54887
54885
  this.m39_1 = reconnectionAttempts;
@@ -54889,12 +54887,12 @@
54889
54887
  this.o39_1 = randomizationFactor;
54890
54888
  }
54891
54889
  protoOf(SocketConfig).toString = function () {
54892
- return 'SocketConfig(query=' + this.h39_1 + ', forceNew=' + this.i39_1 + ', path=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
54890
+ return 'SocketConfig(query=' + this.h39_1 + ', path=' + this.i39_1 + ', forceNew=' + this.j39_1 + ', transports=' + toString(this.k39_1) + ', reconnection=' + this.l39_1 + ', reconnectionAttempts=' + toString(this.m39_1) + ', reconnectionDelay=' + toString(this.n39_1) + ', randomizationFactor=' + toString(this.o39_1) + ')';
54893
54891
  };
54894
54892
  protoOf(SocketConfig).hashCode = function () {
54895
54893
  var result = getStringHashCode(this.h39_1);
54896
- result = imul(result, 31) + (this.i39_1 | 0) | 0;
54897
- result = imul(result, 31) + getStringHashCode(this.j39_1) | 0;
54894
+ result = imul(result, 31) + getStringHashCode(this.i39_1) | 0;
54895
+ result = imul(result, 31) + (this.j39_1 | 0) | 0;
54898
54896
  result = imul(result, 31) + hashCode(this.k39_1) | 0;
54899
54897
  result = imul(result, 31) + (this.l39_1 | 0) | 0;
54900
54898
  result = imul(result, 31) + hashCode(this.m39_1) | 0;
@@ -55037,7 +55035,7 @@
55037
55035
  $logger.y2x(VOID, SocketConnectionMiddleware$lambda$lambda$lambda_2(host, path));
55038
55036
  tmp_9 = Unit_getInstance();
55039
55037
  } else {
55040
- var config = new SocketConfig(query);
55038
+ var config = new SocketConfig(query, path);
55041
55039
  $ws.x35(host, path, config.m39_1, config.n39_1, config.o39_1, token, sessionId, query);
55042
55040
  StaticConfig_getInstance();
55043
55041
  $ws.b36(5000, SocketConnectionMiddleware$lambda$lambda$lambda_3($store, action));