@fctc/interface-logic 1.6.0 → 1.6.3

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/store.js CHANGED
@@ -152,7 +152,7 @@ var envSlice = (0, import_toolkit2.createSlice)({
152
152
  initialState: initialState2,
153
153
  reducers: {
154
154
  setEnv: (state, action) => {
155
- Object.assign(state, action.payload);
155
+ state = { ...state, ...action.payload };
156
156
  },
157
157
  setUid: (state, action) => {
158
158
  state.context.uid = action.payload;
package/dist/store.mjs CHANGED
@@ -48,7 +48,7 @@ var envSlice = createSlice2({
48
48
  initialState: initialState2,
49
49
  reducers: {
50
50
  setEnv: (state, action) => {
51
- Object.assign(state, action.payload);
51
+ state = { ...state, ...action.payload };
52
52
  },
53
53
  setUid: (state, action) => {
54
54
  state.context.uid = action.payload;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.6.0",
3
+ "version": "1.6.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",