@benlampson/heimdall-server 5.5.3 → 5.5.4
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.md +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Node 22+ 的 Heimdall 协议与只读目录客户端,版本跟随 Heimdall 整
|
|
|
4
4
|
|
|
5
5
|
机密凭据由调用方的 credentialProvider 提供,不能将此入口打包到浏览器。完整示例与接口见仓库 sdk/README.md 和 sdk/API.md。
|
|
6
6
|
|
|
7
|
+
JWT 时间容差 `clockSkewSeconds` 默认 `30`,客户可设为非负安全整数秒数,`0` 禁用容差。`nbf`、`exp`、未来 `iat` 使用相同设置;缓存/刷新仍按真实到期时间执行,不跳过验签或身份边界。
|
|
8
|
+
|
|
7
9
|
```ts
|
|
8
10
|
import { HeimdallServerClient, HeimdallDirectoryClient } from '@benlampson/heimdall-server';
|
|
9
11
|
const server = new HeimdallServerClient({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@benlampson/heimdall-server",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Heimdall server OAuth, read-only directory and MCP authentication adapters.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "tsc -p tsconfig.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@benlampson/heimdall-browser": "5.5.
|
|
27
|
+
"@benlampson/heimdall-browser": "5.5.4"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=22"
|