@flow97/react-toolkit 0.0.5 → 0.0.7

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,10 @@ 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
+ checkEndpoint: "check_v2" /* CHECK_V2 */
130
+ }
128
131
  };
129
132
  var decodeToken = (token) => {
130
133
  if (!token) return null;
package/locale/index.js CHANGED
@@ -124,7 +124,10 @@ 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
+ checkEndpoint: "check_v2" /* CHECK_V2 */
130
+ }
128
131
  };
129
132
  var decodeToken = (token) => {
130
133
  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.7",
5
5
  "sideEffects": [
6
6
  "*.css"
7
7
  ],
@@ -72,8 +72,8 @@
72
72
  "tsup": "^8.5.1",
73
73
  "typescript": "^5.9.3",
74
74
  "@flow97/eslint-config-react": "1.1.2",
75
- "tailwind-config": "0.1.3",
76
- "tsconfig": "0.0.6"
75
+ "tsconfig": "0.0.6",
76
+ "tailwind-config": "0.1.3"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@tanstack/react-query": "^5.90.10",