fastmcp 4.23.13 → 4.23.14
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/dist/FastMCP.cjs +2 -2
- package/dist/FastMCP.js +1 -1
- package/dist/{chunk-4P2GDM7W.cjs → chunk-7USB5QLH.cjs} +6 -7
- package/dist/chunk-7USB5QLH.cjs.map +1 -0
- package/dist/{chunk-ULNQF5KG.js → chunk-UUZLMH5M.js} +6 -7
- package/dist/{chunk-ULNQF5KG.js.map → chunk-UUZLMH5M.js.map} +1 -1
- package/dist/examples/custom-routes.cjs +2 -2
- package/dist/examples/custom-routes.js +1 -1
- package/dist/openapi/index.cjs +6 -6
- package/dist/openapi/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-4P2GDM7W.cjs.map +0 -1
package/dist/FastMCP.cjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk7USB5QLHcjs = require('./chunk-7USB5QLH.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -50,5 +50,5 @@ require('./chunk-6TDYSPLC.cjs');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
exports.AuthProvider = _chunkBV4PWTT6cjs.AuthProvider; exports.AzureProvider = _chunkBV4PWTT6cjs.AzureProvider; exports.DiscoveryDocumentCache =
|
|
53
|
+
exports.AuthProvider = _chunkBV4PWTT6cjs.AuthProvider; exports.AzureProvider = _chunkBV4PWTT6cjs.AzureProvider; exports.DiscoveryDocumentCache = _chunk7USB5QLHcjs.DiscoveryDocumentCache; exports.FastMCP = _chunk7USB5QLHcjs.FastMCP; exports.FastMCPError = _chunk7USB5QLHcjs.FastMCPError; exports.FastMCPSession = _chunk7USB5QLHcjs.FastMCPSession; exports.GitHubProvider = _chunkBV4PWTT6cjs.GitHubProvider; exports.GoogleProvider = _chunkBV4PWTT6cjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunk7USB5QLHcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkBV4PWTT6cjs.OAuthProvider; exports.ServerState = _chunk7USB5QLHcjs.ServerState; exports.SessionError = _chunk7USB5QLHcjs.SessionError; exports.UnexpectedStateError = _chunk7USB5QLHcjs.UnexpectedStateError; exports.UserError = _chunk7USB5QLHcjs.UserError; exports.audioContent = _chunk7USB5QLHcjs.audioContent; exports.getAuthSession = _chunkBV4PWTT6cjs.getAuthSession; exports.imageContent = _chunk7USB5QLHcjs.imageContent; exports.jsonSchemaAdapter = _chunk7USB5QLHcjs.jsonSchemaAdapter; exports.requireAll = _chunkBV4PWTT6cjs.requireAll; exports.requireAny = _chunkBV4PWTT6cjs.requireAny; exports.requireAuth = _chunkBV4PWTT6cjs.requireAuth; exports.requireRole = _chunkBV4PWTT6cjs.requireRole; exports.requireScopes = _chunkBV4PWTT6cjs.requireScopes;
|
|
54
54
|
//# sourceMappingURL=FastMCP.cjs.map
|
package/dist/FastMCP.js
CHANGED
|
@@ -3314,12 +3314,11 @@ var FastMCP = class extends FastMCPEventEmitter {
|
|
|
3314
3314
|
* Rejects a failed authentication result before it can become a session.
|
|
3315
3315
|
*
|
|
3316
3316
|
* Authentication is REQUIRED whenever an `authenticate` function is
|
|
3317
|
-
* configured. mcp-proxy
|
|
3318
|
-
* runs
|
|
3319
|
-
* `
|
|
3320
|
-
*
|
|
3321
|
-
*
|
|
3322
|
-
* client that `/mcp` would have answered with a 401.
|
|
3317
|
+
* configured. mcp-proxy answers a failed `authenticate` with a 401 before
|
|
3318
|
+
* `createServer` runs: on the HTTP Stream endpoint, and since 6.8.0 on the
|
|
3319
|
+
* SSE endpoint's `GET /sse` and every `POST /messages` too. This is the
|
|
3320
|
+
* second gate, so a client that `/mcp` would answer with a 401 never gets a
|
|
3321
|
+
* session, whichever endpoint it uses.
|
|
3323
3322
|
*
|
|
3324
3323
|
* The falsy test matches mcp-proxy's own check so that both endpoints agree
|
|
3325
3324
|
* on what counts as a failed authentication. Returning a nullish value is the
|
|
@@ -3394,4 +3393,4 @@ var FastMCP = class extends FastMCPEventEmitter {
|
|
|
3394
3393
|
|
|
3395
3394
|
|
|
3396
3395
|
exports.DiscoveryDocumentCache = DiscoveryDocumentCache; exports.jsonSchemaAdapter = jsonSchemaAdapter; exports.MEDIA_FETCH_TIMEOUT_MS = MEDIA_FETCH_TIMEOUT_MS; exports.imageContent = imageContent; exports.audioContent = audioContent; exports.FastMCPError = FastMCPError; exports.SessionError = SessionError; exports.UnexpectedStateError = UnexpectedStateError; exports.UserError = UserError; exports.ServerState = ServerState; exports.FastMCPSession = FastMCPSession; exports.FastMCP = FastMCP;
|
|
3397
|
-
//# sourceMappingURL=chunk-
|
|
3396
|
+
//# sourceMappingURL=chunk-7USB5QLH.cjs.map
|