@microsoft/omnichannel-chat-sdk 1.9.5 → 1.9.7-main.68572b9
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/lib/OmnichannelChatSDK.d.ts +14 -0
- package/lib/OmnichannelChatSDK.js +372 -156
- package/lib/OmnichannelChatSDK.js.map +1 -1
- package/lib/config/settings.d.ts +2 -1
- package/lib/config/settings.js +3 -1
- package/lib/config/settings.js.map +1 -1
- package/lib/core/ChatSDKError.d.ts +2 -1
- package/lib/core/ChatSDKError.js +1 -0
- package/lib/core/ChatSDKError.js.map +1 -1
- package/lib/core/InitializeOptionalParams.d.ts +1 -0
- package/lib/telemetry/TelemetryEvent.d.ts +4 -0
- package/lib/telemetry/TelemetryEvent.js +4 -0
- package/lib/telemetry/TelemetryEvent.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +24 -10
- package/lib/utils/AMSClientLoadStates.d.ts +6 -0
- package/lib/utils/AMSClientLoadStates.js +12 -0
- package/lib/utils/AMSClientLoadStates.js.map +1 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -435
@@ -68,9 +68,23 @@ declare class OmnichannelChatSDK {
|
|
68
68
|
private isChatReconnect;
|
69
69
|
private reconnectId;
|
70
70
|
private refreshTokenTimer;
|
71
|
+
private AMSClientLoadCurrentState;
|
71
72
|
constructor(omnichannelConfig: OmnichannelConfig, chatSDKConfig?: ChatSDKConfig);
|
72
73
|
setDebug(flag: boolean): void;
|
74
|
+
private retryLoadAMSClient;
|
75
|
+
private getAMSClient;
|
76
|
+
private loadInitComponents;
|
77
|
+
private loadAmsClient;
|
78
|
+
private parallelInitialization;
|
79
|
+
private sequentialInitialization;
|
80
|
+
/**
|
81
|
+
*
|
82
|
+
* @param optionalParams
|
83
|
+
* @param parallel if true , it will run in parallel (fastest version) with components loaded in the background
|
84
|
+
* @returns livechatConfig
|
85
|
+
*/
|
73
86
|
initialize(optionalParams?: InitializeOptionalParams): Promise<ChatConfig>;
|
87
|
+
private loadChatConfig;
|
74
88
|
private getChatReconnectContextWithAuthToken;
|
75
89
|
private getChatReconnectContextWithReconnectId;
|
76
90
|
getChatReconnectContext(optionalParams?: ChatReconnectOptionalParams): Promise<ChatReconnectContext>;
|