@fctc/interface-logic 1.6.2 → 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.
@@ -255,7 +255,7 @@ var envSlice = (0, import_toolkit2.createSlice)({
255
255
  initialState: initialState2,
256
256
  reducers: {
257
257
  setEnv: (state, action) => {
258
- Object.assign(state, action.payload);
258
+ state = { ...state, ...action.payload };
259
259
  },
260
260
  setUid: (state, action) => {
261
261
  state.context.uid = action.payload;
@@ -216,7 +216,7 @@ var envSlice = createSlice2({
216
216
  initialState: initialState2,
217
217
  reducers: {
218
218
  setEnv: (state, action) => {
219
- Object.assign(state, action.payload);
219
+ state = { ...state, ...action.payload };
220
220
  },
221
221
  setUid: (state, action) => {
222
222
  state.context.uid = action.payload;
package/dist/hooks.js CHANGED
@@ -353,7 +353,7 @@ var envSlice = (0, import_toolkit2.createSlice)({
353
353
  initialState: initialState2,
354
354
  reducers: {
355
355
  setEnv: (state, action) => {
356
- Object.assign(state, action.payload);
356
+ state = { ...state, ...action.payload };
357
357
  },
358
358
  setUid: (state, action) => {
359
359
  state.context.uid = action.payload;
package/dist/hooks.mjs CHANGED
@@ -249,7 +249,7 @@ var envSlice = createSlice2({
249
249
  initialState: initialState2,
250
250
  reducers: {
251
251
  setEnv: (state, action) => {
252
- Object.assign(state, action.payload);
252
+ state = { ...state, ...action.payload };
253
253
  },
254
254
  setUid: (state, action) => {
255
255
  state.context.uid = action.payload;
package/dist/provider.js CHANGED
@@ -106,7 +106,7 @@ var envSlice = (0, import_toolkit2.createSlice)({
106
106
  initialState: initialState2,
107
107
  reducers: {
108
108
  setEnv: (state, action) => {
109
- Object.assign(state, action.payload);
109
+ state = { ...state, ...action.payload };
110
110
  },
111
111
  setUid: (state, action) => {
112
112
  state.context.uid = action.payload;
package/dist/provider.mjs CHANGED
@@ -68,7 +68,7 @@ var envSlice = createSlice2({
68
68
  initialState: initialState2,
69
69
  reducers: {
70
70
  setEnv: (state, action) => {
71
- Object.assign(state, action.payload);
71
+ state = { ...state, ...action.payload };
72
72
  },
73
73
  setUid: (state, action) => {
74
74
  state.context.uid = action.payload;
package/dist/services.js CHANGED
@@ -290,7 +290,7 @@ var envSlice = (0, import_toolkit2.createSlice)({
290
290
  initialState: initialState2,
291
291
  reducers: {
292
292
  setEnv: (state, action) => {
293
- Object.assign(state, action.payload);
293
+ state = { ...state, ...action.payload };
294
294
  },
295
295
  setUid: (state, action) => {
296
296
  state.context.uid = action.payload;
package/dist/services.mjs CHANGED
@@ -246,7 +246,7 @@ var envSlice = createSlice2({
246
246
  initialState: initialState2,
247
247
  reducers: {
248
248
  setEnv: (state, action) => {
249
- Object.assign(state, action.payload);
249
+ state = { ...state, ...action.payload };
250
250
  },
251
251
  setUid: (state, action) => {
252
252
  state.context.uid = action.payload;
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.2",
3
+ "version": "1.6.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",