@microsoft/omnichannel-chat-widget 1.7.2-main.b1b1f9f → 1.7.2-main.f6bd5f2
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.
|
@@ -179,6 +179,10 @@ const endChat = async (props, chatSDK, state, dispatch, setAdapter, setWebChatSt
|
|
|
179
179
|
type: _LiveChatWidgetActionType.LiveChatWidgetActionType.SET_UNREAD_MESSAGE_COUNT,
|
|
180
180
|
payload: 0
|
|
181
181
|
});
|
|
182
|
+
dispatch({
|
|
183
|
+
type: _LiveChatWidgetActionType.LiveChatWidgetActionType.SET_POST_CHAT_CONTEXT,
|
|
184
|
+
payload: undefined
|
|
185
|
+
});
|
|
182
186
|
// Always allow to close the chat for embedded mode irrespective of end chat errors
|
|
183
187
|
closeChatWidget(dispatch, props, state);
|
|
184
188
|
}
|
|
@@ -173,6 +173,10 @@ const endChat = async (props, chatSDK, state, dispatch, setAdapter, setWebChatSt
|
|
|
173
173
|
type: LiveChatWidgetActionType.SET_UNREAD_MESSAGE_COUNT,
|
|
174
174
|
payload: 0
|
|
175
175
|
});
|
|
176
|
+
dispatch({
|
|
177
|
+
type: LiveChatWidgetActionType.SET_POST_CHAT_CONTEXT,
|
|
178
|
+
payload: undefined
|
|
179
|
+
});
|
|
176
180
|
// Always allow to close the chat for embedded mode irrespective of end chat errors
|
|
177
181
|
closeChatWidget(dispatch, props, state);
|
|
178
182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/omnichannel-chat-widget",
|
|
3
|
-
"version": "1.7.2-main.
|
|
3
|
+
"version": "1.7.2-main.f6bd5f2",
|
|
4
4
|
"description": "Microsoft Omnichannel Chat Widget",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"types": "lib/types/index.d.ts",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@microsoft/omnichannel-chat-components": "1.1.5",
|
|
78
|
-
"@microsoft/omnichannel-chat-sdk": "^1.9.
|
|
78
|
+
"@microsoft/omnichannel-chat-sdk": "^1.9.5",
|
|
79
79
|
"abort-controller-es5": "^2.0.1",
|
|
80
80
|
"dompurify": "^2.3.4",
|
|
81
81
|
"markdown-it": "^12.3.2",
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
"test:all": "yarn test:unit && yarn test:visual",
|
|
102
102
|
"build:esm": "babel ./src --config-file ./babel.esm.config.json --out-dir lib/esm --extensions .ts,.js,.tsx --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx",
|
|
103
103
|
"build:cjs": "babel ./src --config-file ./babel.config.json --out-dir lib/cjs --extensions .ts,.js,.tsx --ignore **/*.test.ts,**/*.stories.tsx,**/*.test.tsx,**/*.spec.ts,**/*.spec.tsx",
|
|
104
|
+
"build:umd": "webpack --config ./webpack.umd.config.cjs",
|
|
104
105
|
"verify": "yarn install && yarn build-storybook && yarn test:all && yarn build && yarn storybook",
|
|
105
106
|
"testpack": "yarn build && yarn pack",
|
|
106
107
|
"build-sample": "yarn build && webpack --config ./webpack.config.cjs",
|