@xapp/chat-widget 1.37.3 → 1.37.4
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/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8733,7 +8733,7 @@ function memberLeave(state, detail) {
|
|
|
8733
8733
|
|
|
8734
8734
|
function resetReducer(state) {
|
|
8735
8735
|
if (state === void 0) { state = DEFAULT_STATE; }
|
|
8736
|
-
return __assign(__assign({}, createDefaultState()), { connection: __assign(__assign({}, state.connection), { nonce: uuid_1() }), visitor: state.visitor, visitorId: state.visitorId });
|
|
8736
|
+
return __assign(__assign({}, createDefaultState()), { connection: __assign(__assign({}, state.connection), { greetingRequested: false, nonce: uuid_1() }), visitor: state.visitor, visitorId: state.visitorId });
|
|
8737
8737
|
}
|
|
8738
8738
|
|
|
8739
8739
|
// todo: create reducer (requires redux-thunk dependncy)
|