@microsoft/omnichannel-chat-widget 1.6.2-main.c7d45e8 → 1.6.3-main.18ee949

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.
@@ -11,6 +11,9 @@ export interface BaseContract {
11
11
  ExceptionDetails?: any;
12
12
  LogLevel: string;
13
13
  Description?: string;
14
+ OCChatSDKVersion?: string;
15
+ OCChatWidgetVersion?: string;
16
+ OCChatComponentsVersion?: string;
14
17
  }
15
18
  export interface ConfigValidationContract extends BaseContract {
16
19
  Event?: string;
@@ -3,7 +3,8 @@ import ChatConfig from "@microsoft/omnichannel-chat-sdk/lib/core/ChatConfig";
3
3
  import { Dispatch } from "react";
4
4
  import { ILiveChatWidgetAction } from "../../../contexts/common/ILiveChatWidgetAction";
5
5
  import { ILiveChatWidgetContext } from "../../../contexts/common/ILiveChatWidgetContext";
6
- declare const handleChatReconnect: (chatSDK: any, props: any, dispatch: Dispatch<ILiveChatWidgetAction>, setAdapter: any, initStartChat: any, state: ILiveChatWidgetContext) => Promise<boolean>;
6
+ import { ILiveChatWidgetProps } from "../interfaces/ILiveChatWidgetProps";
7
+ declare const handleChatReconnect: (chatSDK: any, props: ILiveChatWidgetProps, dispatch: Dispatch<ILiveChatWidgetAction>, setAdapter: any, initStartChat: any, state: ILiveChatWidgetContext) => Promise<boolean>;
7
8
  declare const getChatReconnectContext: (chatSDK: any, chatConfig: ChatConfig, props: any, isAuthenticatedChat: boolean) => Promise<any>;
8
9
  declare const isReconnectEnabled: (chatConfig?: ChatConfig | undefined) => boolean;
9
10
  declare const isPersistentEnabled: (chatConfig?: ChatConfig | undefined) => boolean;
@@ -43,5 +43,6 @@ export declare enum LiveChatWidgetActionType {
43
43
  SET_CHAT_DISCONNECT_EVENT_RECEIVED = 41,
44
44
  SET_SURVEY_MODE = 42,
45
45
  SET_CONFIRMATION_STATE = 43,
46
- SET_POST_CHAT_PARTICIPANT_TYPE = 44
46
+ SET_POST_CHAT_PARTICIPANT_TYPE = 44,
47
+ GET_IN_MEMORY_STATE = 45
47
48
  }
@@ -1,3 +1,4 @@
1
1
  import { ILiveChatWidgetAction } from "./common/ILiveChatWidgetAction";
2
2
  import { ILiveChatWidgetContext } from "./common/ILiveChatWidgetContext";
3
3
  export declare const createReducer: () => (state: ILiveChatWidgetContext, action: ILiveChatWidgetAction) => ILiveChatWidgetContext;
4
+ export declare const executeReducer: (state: ILiveChatWidgetContext, action: ILiveChatWidgetAction) => ILiveChatWidgetContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/omnichannel-chat-widget",
3
- "version": "1.6.2-main.c7d45e8",
3
+ "version": "1.6.3-main.18ee949",
4
4
  "description": "Microsoft Omnichannel Chat Widget",
5
5
  "main": "lib/cjs/index.js",
6
6
  "types": "lib/types/index.d.ts",