@tuya-sat/sdf-main-sdk 0.6.2 → 0.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "main.css": "auto/main.css",
3
3
  "main.js": "auto/main.bundle.js",
4
- "131.3a494567.chunk.js": "auto/131.3a494567.chunk.js",
4
+ "131.41d1ed17.chunk.js": "auto/131.41d1ed17.chunk.js",
5
5
  "static/img/reLogin.png": "auto/static/img/294142da390c5af23324.png",
6
6
  "static/img/emptyPage.png": "auto/static/img/daa00e3565343b2c9c18.png",
7
7
  "en.json": "auto/en.json",
@@ -12,5 +12,5 @@
12
12
  "static/img/img1-dark.png": "auto/static/img/72dd80e82e7a8baf135c.png",
13
13
  "main.css.map": "auto/main.css.map",
14
14
  "main.bundle.js.map": "auto/main.bundle.js.map",
15
- "131.3a494567.chunk.js.map": "auto/131.3a494567.chunk.js.map"
15
+ "131.41d1ed17.chunk.js.map": "auto/131.41d1ed17.chunk.js.map"
16
16
  }
@@ -5,7 +5,7 @@ export declare const getCurrentUser: () => {
5
5
  user_nick_name: string;
6
6
  user_name: string;
7
7
  roles: {
8
- role_code?: string;
8
+ role_code: string;
9
9
  role_name: string;
10
10
  }[];
11
11
  mobile?: string;
@@ -21,6 +21,8 @@ export declare const afterLoginHook: ({ search, history, }: {
21
21
  }) => void;
22
22
  export declare const isSupportPhoneRegion: () => boolean;
23
23
  export declare const isSupportMultiLang: () => boolean;
24
+ export declare const isSupportSettingPage: () => boolean;
25
+ export declare const isSupportLogout: () => boolean;
24
26
  export declare const isShowClauseInModal: () => any;
25
27
  export declare function getCustomConfig(configKey: string): any;
26
28
  export declare const isOpenGt: () => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/sdf-main-sdk",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "main": "./dist/main.bundle.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",