@etsoo/react 1.7.24 → 1.7.25

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.
@@ -37,9 +37,9 @@ export class UserState {
37
37
  };
38
38
  case UserActionType.Logout:
39
39
  return {
40
- ...state,
40
+ ...state, // Keep other user data
41
41
  lastChangedFields: undefined,
42
- token: undefined,
42
+ token: undefined, // Remove token
43
43
  authorized: false // Flag as unauthorized
44
44
  };
45
45
  case UserActionType.Update:
@@ -55,7 +55,7 @@ export class UserState {
55
55
  if (state.authorized === false)
56
56
  return state;
57
57
  return {
58
- ...state,
58
+ ...state, // Keep other user data and token for refresh
59
59
  lastChangedFields: undefined,
60
60
  authorized: false // Flag as unauthorized
61
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.7.24",
3
+ "version": "1.7.25",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -48,31 +48,31 @@
48
48
  "@dnd-kit/core": "^6.1.0",
49
49
  "@dnd-kit/sortable": "^8.0.0",
50
50
  "@emotion/css": "^11.11.2",
51
- "@emotion/react": "^11.11.1",
51
+ "@emotion/react": "^11.11.3",
52
52
  "@emotion/styled": "^11.11.0",
53
- "@etsoo/appscript": "^1.4.72",
54
- "@etsoo/notificationbase": "^1.1.32",
55
- "@etsoo/shared": "^1.2.22",
56
- "@types/react": "^18.2.37",
57
- "@types/react-dom": "^18.2.15",
53
+ "@etsoo/appscript": "^1.4.74",
54
+ "@etsoo/notificationbase": "^1.1.35",
55
+ "@etsoo/shared": "^1.2.26",
56
+ "@types/react": "^18.2.58",
57
+ "@types/react-dom": "^18.2.19",
58
58
  "@types/react-window": "^1.8.8",
59
59
  "react": "^18.2.0",
60
60
  "react-dom": "^18.2.0",
61
- "react-router-dom": "^6.18.0",
62
- "react-window": "^1.8.9"
61
+ "react-router-dom": "^6.22.1",
62
+ "react-window": "^1.8.10"
63
63
  },
64
64
  "devDependencies": {
65
- "@babel/cli": "^7.23.0",
66
- "@babel/core": "^7.23.3",
67
- "@babel/plugin-transform-runtime": "^7.23.3",
68
- "@babel/preset-env": "^7.23.3",
69
- "@babel/runtime-corejs3": "^7.23.2",
70
- "@testing-library/jest-dom": "^6.1.4",
71
- "@testing-library/react": "^14.1.0",
72
- "@types/jest": "^29.5.8",
65
+ "@babel/cli": "^7.23.9",
66
+ "@babel/core": "^7.23.9",
67
+ "@babel/plugin-transform-runtime": "^7.23.9",
68
+ "@babel/preset-env": "^7.23.9",
69
+ "@babel/runtime-corejs3": "^7.23.9",
70
+ "@testing-library/jest-dom": "^6.4.2",
71
+ "@testing-library/react": "^14.2.1",
72
+ "@types/jest": "^29.5.12",
73
73
  "jest": "^29.7.0",
74
74
  "jest-environment-jsdom": "^29.7.0",
75
- "ts-jest": "^29.1.1",
76
- "typescript": "^5.2.2"
75
+ "ts-jest": "^29.1.2",
76
+ "typescript": "^5.3.3"
77
77
  }
78
78
  }