@flow97/react-toolkit 0.0.5 → 0.0.6

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/locale/hooks.js CHANGED
@@ -124,7 +124,9 @@ var defaultContextSlice = {
124
124
  sidebarCollapsible: false,
125
125
  gameScoped: false,
126
126
  locale: zh_CN_default,
127
- authMode: "game_scoped" /* GAME_SCOPED */
127
+ authConfig: {
128
+ mode: "game_scoped" /* GAME_SCOPED */
129
+ }
128
130
  };
129
131
  var decodeToken = (token) => {
130
132
  if (!token) return null;
package/locale/index.js CHANGED
@@ -124,7 +124,9 @@ var defaultContextSlice = {
124
124
  sidebarCollapsible: false,
125
125
  gameScoped: false,
126
126
  locale: zh_CN_default,
127
- authMode: "game_scoped" /* GAME_SCOPED */
127
+ authConfig: {
128
+ mode: "game_scoped" /* GAME_SCOPED */
129
+ }
128
130
  };
129
131
  var decodeToken = (token) => {
130
132
  if (!token) return null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flow97/react-toolkit",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "sideEffects": [
6
6
  "*.css"
7
7
  ],
@@ -71,9 +71,9 @@
71
71
  "ts-essentials": "^10.1.1",
72
72
  "tsup": "^8.5.1",
73
73
  "typescript": "^5.9.3",
74
- "@flow97/eslint-config-react": "1.1.2",
75
74
  "tailwind-config": "0.1.3",
76
- "tsconfig": "0.0.6"
75
+ "tsconfig": "0.0.6",
76
+ "@flow97/eslint-config-react": "1.1.2"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@tanstack/react-query": "^5.90.10",