@mxenabled/connect-widget 0.0.13 → 0.0.14
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.es.js +2 -0
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9562,9 +9562,11 @@ const configSlice = createSlice({
|
|
|
9562
9562
|
ActionTypes$2.LOAD_CONNECT,
|
|
9563
9563
|
(state, action) => {
|
|
9564
9564
|
const productDetermineMode = getProductDeterminedMode(action.payload);
|
|
9565
|
+
const ui_message_version = typeof action.payload.ui_message_version === "string" ? parseInt(action.payload.ui_message_version, 10) : action.payload.ui_message_version || state.ui_message_version;
|
|
9565
9566
|
return {
|
|
9566
9567
|
...state,
|
|
9567
9568
|
...action.payload,
|
|
9569
|
+
ui_message_version,
|
|
9568
9570
|
mode: productDetermineMode !== null ? productDetermineMode : action.payload.mode || state.mode
|
|
9569
9571
|
};
|
|
9570
9572
|
}
|