@lark-apaas/auth-sdk 0.1.0-alpha.83 → 0.1.0-alpha.84
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.
|
@@ -11,7 +11,7 @@ export declare class PermissionClient {
|
|
|
11
11
|
fetchPermissions(): Promise<PermissionApiResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* 获取用户权限点位
|
|
14
|
-
* 请求内置的 sdk_innerapi/permission/user-points 端点
|
|
14
|
+
* 请求内置的 /api/sdk_innerapi/permission/user-points 端点
|
|
15
15
|
*/
|
|
16
16
|
static fetchPermissionPoints(): Promise<PermissionPointData[]>;
|
|
17
17
|
/**
|
package/lib/permission-client.js
CHANGED
|
@@ -43,7 +43,7 @@ class PermissionClient {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
static async fetchPermissionPoints() {
|
|
46
|
-
const url = "/sdk_innerapi/permission/user-points";
|
|
46
|
+
const url = "/api/sdk_innerapi/permission/user-points";
|
|
47
47
|
const controller = new AbortController();
|
|
48
48
|
const timeoutId = setTimeout(()=>controller.abort(), 5000);
|
|
49
49
|
try {
|