@vonage/client-sdk 2.2.0-alpha.0 → 2.2.0-alpha.2
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/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
The Client SDK is intended to provide a ready solution for developers to build Programmable Conversation applications across multiple Channels including: Messages, Voice, SIP, websockets, and App.
|
|
4
4
|
|
|
5
|
-
> **⚠️ Warning:** Chat Functionality (
|
|
5
|
+
> **⚠️ Warning:** Chat Functionality (Deprecated)
|
|
6
6
|
>
|
|
7
|
-
> The chat functionality in our SDK is
|
|
7
|
+
> The chat functionality in our SDK is now deprecated and is scheduled for removal by the end of April 2026. While it remains available for the time being, we recommend avoiding the introduction of new dependencies on this feature. Existing methods may change or become unsupported as we progress toward its sunset. If you rely on this functionality, please begin planning your migration. Your feedback remains welcome during this transition period.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
package/dist/client/index.cjs
CHANGED
|
@@ -33658,6 +33658,9 @@ function requireClientsdkClientcore () {
|
|
|
33658
33658
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33659
33659
|
}
|
|
33660
33660
|
initMetadataForInterface(RTCEventListener, 'RTCEventListener');
|
|
33661
|
+
function onConversationEvent(event) {
|
|
33662
|
+
}
|
|
33663
|
+
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33661
33664
|
function onAudioSay() {
|
|
33662
33665
|
}
|
|
33663
33666
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33667,10 +33670,7 @@ function requireClientsdkClientcore () {
|
|
|
33667
33670
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33668
33671
|
}
|
|
33669
33672
|
initMetadataForInterface(AudioEventListener, 'AudioEventListener');
|
|
33670
|
-
|
|
33671
|
-
}
|
|
33672
|
-
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33673
|
-
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, AudioEventListener, ConversationEventListener]);
|
|
33673
|
+
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33674
33674
|
initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
|
|
33675
33675
|
initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
|
|
33676
33676
|
initMetadataForObject(DefaultConfig, 'DefaultConfig');
|
|
@@ -33823,7 +33823,7 @@ function requireClientsdkClientcore () {
|
|
|
33823
33823
|
initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
|
|
33824
33824
|
initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
|
|
33825
33825
|
initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
|
|
33826
|
-
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener,
|
|
33826
|
+
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33827
33827
|
initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
|
|
33828
33828
|
initMetadataForInterface(CallEvent, 'CallEvent');
|
|
33829
33829
|
initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
|
|
@@ -34041,7 +34041,7 @@ function requireClientsdkClientcore () {
|
|
|
34041
34041
|
initMetadataForClass(Failed, 'Failed', VOID, StateTransition);
|
|
34042
34042
|
//endregion
|
|
34043
34043
|
function BuildKonfig() {
|
|
34044
|
-
this.x1d_1 = '2.2.0-alpha.
|
|
34044
|
+
this.x1d_1 = '2.2.0-alpha.2';
|
|
34045
34045
|
}
|
|
34046
34046
|
var BuildKonfig_instance;
|
|
34047
34047
|
function BuildKonfig_getInstance() {
|
package/dist/client/index.mjs
CHANGED
|
@@ -33634,6 +33634,9 @@ function requireClientsdkClientcore () {
|
|
|
33634
33634
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33635
33635
|
}
|
|
33636
33636
|
initMetadataForInterface(RTCEventListener, 'RTCEventListener');
|
|
33637
|
+
function onConversationEvent(event) {
|
|
33638
|
+
}
|
|
33639
|
+
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33637
33640
|
function onAudioSay() {
|
|
33638
33641
|
}
|
|
33639
33642
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33643,10 +33646,7 @@ function requireClientsdkClientcore () {
|
|
|
33643
33646
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33644
33647
|
}
|
|
33645
33648
|
initMetadataForInterface(AudioEventListener, 'AudioEventListener');
|
|
33646
|
-
|
|
33647
|
-
}
|
|
33648
|
-
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33649
|
-
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, AudioEventListener, ConversationEventListener]);
|
|
33649
|
+
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33650
33650
|
initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
|
|
33651
33651
|
initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
|
|
33652
33652
|
initMetadataForObject(DefaultConfig, 'DefaultConfig');
|
|
@@ -33799,7 +33799,7 @@ function requireClientsdkClientcore () {
|
|
|
33799
33799
|
initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
|
|
33800
33800
|
initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
|
|
33801
33801
|
initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
|
|
33802
|
-
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener,
|
|
33802
|
+
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33803
33803
|
initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
|
|
33804
33804
|
initMetadataForInterface(CallEvent, 'CallEvent');
|
|
33805
33805
|
initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
|
|
@@ -34017,7 +34017,7 @@ function requireClientsdkClientcore () {
|
|
|
34017
34017
|
initMetadataForClass(Failed, 'Failed', VOID, StateTransition);
|
|
34018
34018
|
//endregion
|
|
34019
34019
|
function BuildKonfig() {
|
|
34020
|
-
this.x1d_1 = '2.2.0-alpha.
|
|
34020
|
+
this.x1d_1 = '2.2.0-alpha.2';
|
|
34021
34021
|
}
|
|
34022
34022
|
var BuildKonfig_instance;
|
|
34023
34023
|
function BuildKonfig_getInstance() {
|
package/dist/vonageClientSDK.js
CHANGED
|
@@ -33171,6 +33171,9 @@
|
|
|
33171
33171
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33172
33172
|
}
|
|
33173
33173
|
initMetadataForInterface(RTCEventListener, 'RTCEventListener');
|
|
33174
|
+
function onConversationEvent(event) {
|
|
33175
|
+
}
|
|
33176
|
+
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33174
33177
|
function onAudioSay() {
|
|
33175
33178
|
}
|
|
33176
33179
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33180,10 +33183,7 @@
|
|
|
33180
33183
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33181
33184
|
}
|
|
33182
33185
|
initMetadataForInterface(AudioEventListener, 'AudioEventListener');
|
|
33183
|
-
|
|
33184
|
-
}
|
|
33185
|
-
initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
|
|
33186
|
-
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, AudioEventListener, ConversationEventListener]);
|
|
33186
|
+
initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33187
33187
|
initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
|
|
33188
33188
|
initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
|
|
33189
33189
|
initMetadataForObject(DefaultConfig, 'DefaultConfig');
|
|
@@ -33314,7 +33314,7 @@
|
|
|
33314
33314
|
initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
|
|
33315
33315
|
initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
|
|
33316
33316
|
initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
|
|
33317
|
-
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener,
|
|
33317
|
+
initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33318
33318
|
initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
|
|
33319
33319
|
initMetadataForInterface(CallEvent, 'CallEvent');
|
|
33320
33320
|
initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
|
|
@@ -33532,7 +33532,7 @@
|
|
|
33532
33532
|
initMetadataForClass(Failed, 'Failed', VOID, StateTransition);
|
|
33533
33533
|
//endregion
|
|
33534
33534
|
function BuildKonfig() {
|
|
33535
|
-
this.x1d_1 = '2.2.0-alpha.
|
|
33535
|
+
this.x1d_1 = '2.2.0-alpha.2';
|
|
33536
33536
|
}
|
|
33537
33537
|
var BuildKonfig_instance;
|
|
33538
33538
|
function CoreClientWithMedia() {
|