@h-ai/iam 0.1.0-alpha.64 → 0.1.0-alpha.65

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.
package/README.en.md CHANGED
@@ -43,13 +43,13 @@ Password authentication, users and RBAC work without LDAP or Reach. Both are opt
43
43
  For the default client run `pnpm add ldapts`, then explicitly set `login.ldap: true` and connection settings. Connection settings alone do not enable LDAP. Enabling the default client without the SDK returns an initialization configuration error.
44
44
 
45
45
  ```yaml
46
- # config/_iam.yml(启动前设置 LDAP_BIND_PASSWORD)
46
+ # config/_iam.yml(启动前设置 HAI_IAM_LDAP_BINDPASSWORD)
47
47
  login:
48
48
  ldap: true
49
49
  ldap:
50
50
  url: ldaps://ldap.example.com:636
51
51
  bindDn: cn=service,dc=example,dc=com
52
- bindPassword: '${LDAP_BIND_PASSWORD}'
52
+ bindPassword: '${HAI_IAM_LDAP_BINDPASSWORD}'
53
53
  searchBase: ou=users,dc=example,dc=com
54
54
  searchFilter: '(uid={{username}})'
55
55
  usernameAttribute: uid
package/README.ja.md CHANGED
@@ -43,13 +43,13 @@ pnpm add @h-ai/iam
43
43
  既定クライアントは `pnpm add ldapts` で追加し、`login.ldap: true` と接続設定を明示します。接続設定だけでは LDAP は有効になりません。SDK なしで既定クライアントを有効にすると初期化が設定エラーを返します。
44
44
 
45
45
  ```yaml
46
- # config/_iam.yml(启动前设置 LDAP_BIND_PASSWORD)
46
+ # config/_iam.yml(启动前设置 HAI_IAM_LDAP_BINDPASSWORD)
47
47
  login:
48
48
  ldap: true
49
49
  ldap:
50
50
  url: ldaps://ldap.example.com:636
51
51
  bindDn: cn=service,dc=example,dc=com
52
- bindPassword: '${LDAP_BIND_PASSWORD}'
52
+ bindPassword: '${HAI_IAM_LDAP_BINDPASSWORD}'
53
53
  searchBase: ou=users,dc=example,dc=com
54
54
  searchFilter: '(uid={{username}})'
55
55
  usernameAttribute: uid
package/README.md CHANGED
@@ -43,13 +43,13 @@ pnpm add @h-ai/iam
43
43
  使用默认客户端时执行 `pnpm add ldapts`,再显式设置 `login.ldap: true` 和 `ldap` 连接配置。只提供连接配置不会启用 LDAP。启用默认客户端却缺少 SDK 时,`iam.init()` 返回配置错误。
44
44
 
45
45
  ```yaml
46
- # config/_iam.yml(启动前设置 LDAP_BIND_PASSWORD)
46
+ # config/_iam.yml(启动前设置 HAI_IAM_LDAP_BINDPASSWORD)
47
47
  login:
48
48
  ldap: true
49
49
  ldap:
50
50
  url: ldaps://ldap.example.com:636
51
51
  bindDn: cn=service,dc=example,dc=com
52
- bindPassword: '${LDAP_BIND_PASSWORD}'
52
+ bindPassword: '${HAI_IAM_LDAP_BINDPASSWORD}'
53
53
  searchBase: ou=users,dc=example,dc=com
54
54
  searchFilter: '(uid={{username}})'
55
55
  usernameAttribute: uid
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.64",
4
+ "version": "0.1.0-alpha.65",
5
5
  "description": "Hai Framework identity and access management module.",
6
6
  "license": "Apache-2.0",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
26
26
  },
27
27
  "peerDependencies": {
28
- "@h-ai/reach": "0.1.0-alpha.64",
28
+ "@h-ai/reach": "0.1.0-alpha.65",
29
29
  "ldapts": "^9.2.0"
30
30
  },
31
31
  "peerDependenciesMeta": {
@@ -37,15 +37,15 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@h-ai/audit": "0.1.0-alpha.64",
41
- "@h-ai/cache": "0.1.0-alpha.64",
42
- "@h-ai/core": "0.1.0-alpha.64",
43
- "@h-ai/crypto": "0.1.0-alpha.64",
44
- "@h-ai/reldb": "0.1.0-alpha.64",
40
+ "@h-ai/audit": "0.1.0-alpha.65",
41
+ "@h-ai/cache": "0.1.0-alpha.65",
42
+ "@h-ai/core": "0.1.0-alpha.65",
43
+ "@h-ai/crypto": "0.1.0-alpha.65",
44
+ "@h-ai/reldb": "0.1.0-alpha.65",
45
45
  "zod": "^4.6.5"
46
46
  },
47
47
  "devDependencies": {
48
- "@h-ai/reach": "0.1.0-alpha.64",
48
+ "@h-ai/reach": "0.1.0-alpha.65",
49
49
  "@types/node": "^26.6.5",
50
50
  "ldapts": "^9.2.0",
51
51
  "rimraf": "^6.1.3",