@frontmcp/auth 1.9.4 → 1.9.6

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 CHANGED
@@ -72,14 +72,14 @@ Apache-2.0 — see [LICENSE](../../LICENSE).
72
72
 
73
73
  <!-- links -->
74
74
 
75
- [docs-overview]: https://docs.agentfront.dev/frontmcp/authentication/overview
76
- [docs-remote]: https://docs.agentfront.dev/frontmcp/authentication/remote
77
- [docs-local]: https://docs.agentfront.dev/frontmcp/authentication/local
78
- [docs-jwks]: https://docs.agentfront.dev/frontmcp/authentication/local
79
- [docs-stores]: https://docs.agentfront.dev/frontmcp/authentication/production
80
- [docs-vault]: https://docs.agentfront.dev/frontmcp/authentication/authorities
81
- [docs-pkce]: https://docs.agentfront.dev/frontmcp/authentication/local
82
- [docs-cimd]: https://docs.agentfront.dev/frontmcp/authentication/cimd
83
- [docs-ui]: https://docs.agentfront.dev/frontmcp/authentication/custom-ui
84
- [docs-audience]: https://docs.agentfront.dev/frontmcp/authentication/token
85
- [docs-token-vault]: https://docs.agentfront.dev/frontmcp/authentication/authorities
75
+ [docs-overview]: https://frontmcp.dev/reference/auth
76
+ [docs-remote]: https://frontmcp.dev/reference/auth/remote
77
+ [docs-local]: https://frontmcp.dev/reference/auth/local
78
+ [docs-jwks]: https://frontmcp.dev/reference/auth/local
79
+ [docs-stores]: https://frontmcp.dev/reference/auth/production
80
+ [docs-vault]: https://frontmcp.dev/reference/auth/authorities
81
+ [docs-pkce]: https://frontmcp.dev/reference/auth/local
82
+ [docs-cimd]: https://frontmcp.dev/reference/auth/cimd
83
+ [docs-ui]: https://frontmcp.dev/reference/auth/login-ui
84
+ [docs-audience]: https://frontmcp.dev/reference/auth/tokens
85
+ [docs-token-vault]: https://frontmcp.dev/reference/auth/authorities
package/esm/index.mjs CHANGED
@@ -3660,7 +3660,7 @@ async function createSecureStore(options) {
3660
3660
  pepper: readPepper(config) ?? pepper,
3661
3661
  logger
3662
3662
  });
3663
- return { backend, scope, ttlMs, kind };
3663
+ return { backend, scope, ttlMs, kind, ...storage ? {} : { close: () => adapter.disconnect() } };
3664
3664
  }
3665
3665
 
3666
3666
  // libs/auth/src/session/token.vault.ts
package/esm/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@frontmcp/auth",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "FrontMCP Auth - Authentication, session management, and credential vault",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
- "homepage": "https://docs.agentfront.dev",
6
+ "homepage": "https://frontmcp.dev/reference/auth",
7
7
  "license": "Apache-2.0",
8
8
  "keywords": [
9
9
  "mcp",
@@ -47,8 +47,8 @@
47
47
  "node": ">=24.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@frontmcp/lazy-zod": "1.9.4",
51
- "@frontmcp/storage-sqlite": "1.9.4",
50
+ "@frontmcp/lazy-zod": "1.9.6",
51
+ "@frontmcp/storage-sqlite": "1.9.6",
52
52
  "@vercel/kv": "^3.0.0",
53
53
  "ioredis": "^5.0.0"
54
54
  },
@@ -64,8 +64,8 @@
64
64
  }
65
65
  },
66
66
  "dependencies": {
67
- "@frontmcp/di": "1.9.4",
68
- "@frontmcp/utils": "1.9.4",
67
+ "@frontmcp/di": "1.9.6",
68
+ "@frontmcp/utils": "1.9.6",
69
69
  "jose": "^6.0.0"
70
70
  },
71
71
  "devDependencies": {
package/index.js CHANGED
@@ -3983,7 +3983,7 @@ async function createSecureStore(options) {
3983
3983
  pepper: readPepper(config) ?? pepper,
3984
3984
  logger
3985
3985
  });
3986
- return { backend, scope, ttlMs, kind };
3986
+ return { backend, scope, ttlMs, kind, ...storage ? {} : { close: () => adapter.disconnect() } };
3987
3987
  }
3988
3988
 
3989
3989
  // libs/auth/src/session/token.vault.ts
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@frontmcp/auth",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "FrontMCP Auth - Authentication, session management, and credential vault",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
- "homepage": "https://docs.agentfront.dev",
6
+ "homepage": "https://frontmcp.dev/reference/auth",
7
7
  "license": "Apache-2.0",
8
8
  "keywords": [
9
9
  "mcp",
@@ -47,8 +47,8 @@
47
47
  "node": ">=24.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@frontmcp/lazy-zod": "1.9.4",
51
- "@frontmcp/storage-sqlite": "1.9.4",
50
+ "@frontmcp/lazy-zod": "1.9.6",
51
+ "@frontmcp/storage-sqlite": "1.9.6",
52
52
  "@vercel/kv": "^3.0.0",
53
53
  "ioredis": "^5.0.0"
54
54
  },
@@ -64,8 +64,8 @@
64
64
  }
65
65
  },
66
66
  "dependencies": {
67
- "@frontmcp/di": "1.9.4",
68
- "@frontmcp/utils": "1.9.4",
67
+ "@frontmcp/di": "1.9.6",
68
+ "@frontmcp/utils": "1.9.6",
69
69
  "jose": "^6.0.0"
70
70
  },
71
71
  "devDependencies": {
@@ -31,6 +31,8 @@ export interface ResolvedSecureStore {
31
31
  scope: SecureStoreScope;
32
32
  ttlMs?: number;
33
33
  kind: SecureStoreBackendKind;
34
+ /** Closes the storage the factory opened for the backing; absent for a custom backend or a passed `storage`. */
35
+ close?: () => Promise<void>;
34
36
  }
35
37
  /**
36
38
  * Options for {@link createSecureStore}.
@@ -1 +1 @@
1
- {"version":3,"file":"secure-store.factory.d.ts","sourceRoot":"","sources":["../../src/session/secure-store.factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,KAAK,iBAAiB,EAA0D,MAAM,uBAAuB,CAAC;AACvH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,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