@vonage/client-sdk 0.1.5 → 0.2.0-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/dist/client/VonageClient.d.ts +21 -0
- package/dist/{voice → client}/index.cjs +17617 -10595
- package/dist/client/index.d.ts +2 -0
- package/dist/{voice → client}/index.mjs +17614 -10593
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +315 -26
- package/dist/lib/HttpClient.d.ts +1 -1
- package/dist/lib/MediaClient.d.ts +1 -1
- package/dist/lib/SocketClient.d.ts +1 -1
- package/dist/utils/ClientConfig.d.ts +5 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/logging.d.ts +3 -0
- package/dist/utils/vonage.d.ts +2 -0
- package/dist/vonageClientSDK.js +17621 -10596
- package/dist/vonageClientSDK.min.js +2 -2
- package/dist/vonageClientSDK.min.mjs +2 -2
- package/dist/vonageClientSDK.mjs +17616 -10595
- package/package.json +11 -20
- package/rollup.config.js +12 -31
- package/dist/index.cjs +0 -27
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +0 -1
- package/dist/voice/VoiceClient.d.ts +0 -26
- package/dist/voice/index.d.ts +0 -2
- /package/dist/{utils → lib}/createRtcAudioConnection.d.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import vonage from '../utils/vonage';
|
|
2
|
+
export * from '../utils';
|
|
3
|
+
/**
|
|
4
|
+
* Minimal Interface built on top of KMP export
|
|
5
|
+
* DO NOT ADD CODE HERE UNLESS REALLY NEEDEED!!111!
|
|
6
|
+
*/
|
|
7
|
+
export type VonageEvent = vonage.CombinedEvents;
|
|
8
|
+
export type Invite = vonage.VoiceInviteJS;
|
|
9
|
+
export type VoiceCall = vonage.VoiceCallJS;
|
|
10
|
+
export type RTCQuality = vonage.RTCQualityJS;
|
|
11
|
+
export type SessionErrorReason = vonage.SessionErrorReasonJS;
|
|
12
|
+
export declare const SessionErrorReason: typeof vonage.SessionErrorReasonJS;
|
|
13
|
+
export type ConversationState = vonage.ConversationStateJS;
|
|
14
|
+
export declare const ConversationState: typeof vonage.ConversationStateJS;
|
|
15
|
+
export declare const setVonageClientLoggingLevel: typeof vonage.setDefaultLoggingLevel;
|
|
16
|
+
export declare class VonageClient extends vonage.CombinedClientJS {
|
|
17
|
+
private callbacks;
|
|
18
|
+
constructor();
|
|
19
|
+
on<T extends keyof VonageEvent, Fn extends VonageEvent[T]>(event: T, callback: Fn): void;
|
|
20
|
+
}
|
|
21
|
+
export default VonageClient;
|