@tuya-sat/sdf-main-sdk 6.2.4-authDisabled.0 → 6.2.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main.css": "auto/main.css",
3
3
  "main.js": "auto/main.bundle.js",
4
- "364.1c48403a.chunk.js": "auto/364.1c48403a.chunk.js",
4
+ "364.32d84839.chunk.js": "auto/364.32d84839.chunk.js",
5
5
  "static/img/login3.png": "auto/static/img/dd06d35d98047203e715.png",
6
6
  "static/img/reLogin.png": "auto/static/img/294142da390c5af23324.png",
7
7
  "static/img/login2.png": "auto/static/img/47a523d0027c7b5af83f.png",
@@ -23,5 +23,5 @@
23
23
  "static/img/tuya.png": "auto/static/img/328d8b5c342b13933c5c.png",
24
24
  "main.css.map": "auto/main.css.map",
25
25
  "main.bundle.js.map": "auto/main.bundle.js.map",
26
- "364.1c48403a.chunk.js.map": "auto/364.1c48403a.chunk.js.map"
26
+ "364.32d84839.chunk.js.map": "auto/364.32d84839.chunk.js.map"
27
27
  }
@@ -1,13 +1,5 @@
1
1
  export declare const AUTH_SYNC_KEY = "SAAS_AUTH_SYNC_EVENT";
2
- export declare const MAIN_APP_AUTH_MODE_KEY = "sdf.main-app.auth.mode";
3
2
  type AuthSyncType = 'login' | 'logout';
4
- /**
5
- * @brief 判断主应用是否关闭 SDK 前端鉴权
6
- * @return true 表示 SDK 不主动跳登录、不做前端 403 类路由拦截
7
- * @note 配置来源为主应用 manifest.json 的 annotations: { "sdf.main-app.auth.mode": "none" }。
8
- * 该开关只影响浏览器侧 SDK 行为,不绕过网关 LoginGuard、SaaS API 权限或后端接口鉴权。
9
- */
10
- export declare const isMainAppAuthDisabled: () => boolean;
11
3
  export declare const emitAuthSyncEvent: (type: AuthSyncType) => void;
12
4
  export declare const findEntry: (menus: any, pathname: any) => any;
13
5
  export declare const getDeepestPath: (menu: any) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/sdf-main-sdk",
3
- "version": "6.2.4-authDisabled.0",
3
+ "version": "6.2.4",
4
4
  "main": "./dist/main.bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",