@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
  /**
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/auth-sdk",
3
- "version": "0.1.0-alpha.83",
3
+ "version": "0.1.0-alpha.84",
4
4
  "description": "基于 CASL 的前端鉴权 SDK",
5
5
  "types": "./lib/index.d.ts",
6
6
  "main": "./lib/index.js",