fastmcp 4.22.1 → 4.22.3
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-XFUILY54.js → chunk-TFX7BV4K.js} +2 -2
- package/dist/{chunk-XFUILY54.js.map → chunk-TFX7BV4K.js.map} +1 -1
- package/dist/{chunk-RN2Z26T4.cjs → chunk-V37MCHBL.cjs} +2 -2
- package/dist/{chunk-RN2Z26T4.cjs.map → chunk-V37MCHBL.cjs.map} +1 -1
- package/dist/edge/index.cjs +46 -5
- package/dist/edge/index.cjs.map +1 -1
- package/dist/edge/index.js +49 -8
- package/dist/edge/index.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 +35 -6
- package/dist/openapi/index.cjs.map +1 -1
- package/dist/openapi/index.d.cts +4 -3
- package/dist/openapi/index.d.ts +4 -3
- package/dist/openapi/index.js +31 -2
- package/dist/openapi/index.js.map +1 -1
- package/package.json +1 -1
package/dist/FastMCP.cjs
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkV37MCHBLcjs = require('./chunk-V37MCHBL.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -50,5 +50,5 @@ require('./chunk-O22SYZMC.cjs');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
exports.AuthProvider = _chunkYOBCXNFPcjs.AuthProvider; exports.AzureProvider = _chunkYOBCXNFPcjs.AzureProvider; exports.DiscoveryDocumentCache =
|
|
53
|
+
exports.AuthProvider = _chunkYOBCXNFPcjs.AuthProvider; exports.AzureProvider = _chunkYOBCXNFPcjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkV37MCHBLcjs.DiscoveryDocumentCache; exports.FastMCP = _chunkV37MCHBLcjs.FastMCP; exports.FastMCPError = _chunkV37MCHBLcjs.FastMCPError; exports.FastMCPSession = _chunkV37MCHBLcjs.FastMCPSession; exports.GitHubProvider = _chunkYOBCXNFPcjs.GitHubProvider; exports.GoogleProvider = _chunkYOBCXNFPcjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkV37MCHBLcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkYOBCXNFPcjs.OAuthProvider; exports.ServerState = _chunkV37MCHBLcjs.ServerState; exports.SessionError = _chunkV37MCHBLcjs.SessionError; exports.UnexpectedStateError = _chunkV37MCHBLcjs.UnexpectedStateError; exports.UserError = _chunkV37MCHBLcjs.UserError; exports.audioContent = _chunkV37MCHBLcjs.audioContent; exports.getAuthSession = _chunkYOBCXNFPcjs.getAuthSession; exports.imageContent = _chunkV37MCHBLcjs.imageContent; exports.jsonSchemaAdapter = _chunkV37MCHBLcjs.jsonSchemaAdapter; exports.requireAll = _chunkYOBCXNFPcjs.requireAll; exports.requireAny = _chunkYOBCXNFPcjs.requireAny; exports.requireAuth = _chunkYOBCXNFPcjs.requireAuth; exports.requireRole = _chunkYOBCXNFPcjs.requireRole; exports.requireScopes = _chunkYOBCXNFPcjs.requireScopes;
|
|
54
54
|
//# sourceMappingURL=FastMCP.cjs.map
|
package/dist/FastMCP.js
CHANGED
|
@@ -201,7 +201,7 @@ async function compileSchema(schema) {
|
|
|
201
201
|
return ajv.compile(schema);
|
|
202
202
|
}
|
|
203
203
|
function toIssue(error) {
|
|
204
|
-
const path = error.instancePath.split("/").
|
|
204
|
+
const path = error.instancePath.split("/").slice(1).map((segment) => segment.replaceAll("~1", "/").replaceAll("~0", "~")).map((segment) => {
|
|
205
205
|
const index = Number(segment);
|
|
206
206
|
return /^(?:0|[1-9]\d*)$/.test(segment) && Number.isSafeInteger(index) ? index : segment;
|
|
207
207
|
});
|
|
@@ -3048,4 +3048,4 @@ export {
|
|
|
3048
3048
|
FastMCPSession,
|
|
3049
3049
|
FastMCP
|
|
3050
3050
|
};
|
|
3051
|
-
//# sourceMappingURL=chunk-
|
|
3051
|
+
//# sourceMappingURL=chunk-TFX7BV4K.js.map
|