@h-ai/iam 0.1.0-alpha.11 → 0.1.0-alpha.12

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -755,6 +755,7 @@ interface UserOperations {
755
755
  *
756
756
  * @param userId - 用户 ID
757
757
  * @param options - 查询选项(可选 include: ['roles'] 同时返回角色列表)
758
+ * @param options.include - 指定需要额外展开的关联字段;传入 ['roles'] 时同时返回角色列表
758
759
  * @returns 成功返回用户信息或 null(用户不存在时)
759
760
  */
760
761
  getUser: (userId: string, options?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@h-ai/iam",
3
3
  "type": "module",
4
- "version": "0.1.0-alpha.11",
4
+ "version": "0.1.0-alpha.12",
5
5
  "description": "Hai Framework identity and access management module.",
6
6
  "license": "Apache-2.0",
7
7
  "exports": {
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "zod": "^4.3.6",
30
- "@h-ai/cache": "0.1.0-alpha.11",
31
- "@h-ai/core": "0.1.0-alpha.11",
32
- "@h-ai/crypto": "0.1.0-alpha.11",
33
- "@h-ai/reldb": "0.1.0-alpha.11",
34
- "@h-ai/audit": "0.1.0-alpha.11"
30
+ "@h-ai/audit": "0.1.0-alpha.12",
31
+ "@h-ai/core": "0.1.0-alpha.12",
32
+ "@h-ai/reldb": "0.1.0-alpha.12",
33
+ "@h-ai/cache": "0.1.0-alpha.12",
34
+ "@h-ai/crypto": "0.1.0-alpha.12"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^25.1.0",