@vitemcp/server 1.10.0 → 1.10.1
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/ViteMCP.cjs +3 -3
- package/dist/ViteMCP.js +2 -2
- package/dist/auth/index.cjs +2 -2
- package/dist/auth/index.d.cts +21 -1
- package/dist/auth/index.d.ts +21 -1
- package/dist/auth/index.js +1 -1
- package/dist/{chunk-BMW6BWBO.js → chunk-3W6VP3KX.js} +2 -2
- package/dist/{chunk-R3JUTGZL.cjs → chunk-4LU4AXU4.cjs} +79 -39
- package/dist/chunk-4LU4AXU4.cjs.map +1 -0
- package/dist/{chunk-CJLWQH7G.cjs → chunk-FSPSPB7Y.cjs} +3 -3
- package/dist/{chunk-CJLWQH7G.cjs.map → chunk-FSPSPB7Y.cjs.map} +1 -1
- package/dist/{chunk-AOZIQIXA.js → chunk-NLBRDP5F.js} +80 -40
- package/dist/{chunk-AOZIQIXA.js.map → chunk-NLBRDP5F.js.map} +1 -1
- package/dist/openapi/index.cjs +12 -12
- package/dist/openapi/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-R3JUTGZL.cjs.map +0 -1
- /package/dist/{chunk-BMW6BWBO.js.map → chunk-3W6VP3KX.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4LU4AXU4cjs = require('./chunk-4LU4AXU4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -1496,7 +1496,7 @@ var withEndpointAsResource = (config, endpoint) => ({
|
|
|
1496
1496
|
...config,
|
|
1497
1497
|
protectedResource: {
|
|
1498
1498
|
...config.protectedResource,
|
|
1499
|
-
resource: `${
|
|
1499
|
+
resource: `${_chunk4LU4AXU4cjs.withoutTrailingSlash.call(void 0, config.protectedResource.resource)}${endpoint}`
|
|
1500
1500
|
}
|
|
1501
1501
|
});
|
|
1502
1502
|
var nodeToWebRequest = (req, body, secure, signal) => {
|
|
@@ -1711,4 +1711,4 @@ var normalizeToolResult = (result, hasOutputSchema) => {
|
|
|
1711
1711
|
|
|
1712
1712
|
|
|
1713
1713
|
exports.cancelResponseBody = cancelResponseBody; exports.DiscoveryDocumentCache = DiscoveryDocumentCache; exports.jsonSchemaAdapter = jsonSchemaAdapter; exports.delay = _promises5.setTimeout; exports.MEDIA_FETCH_TIMEOUT_MS = MEDIA_FETCH_TIMEOUT_MS; exports.ViteMCPError = ViteMCPError; exports.UnexpectedStateError = UnexpectedStateError; exports.UserError = UserError; exports.imageContent = imageContent; exports.audioContent = audioContent; exports.ServerState = ServerState; exports.ViteMCP = ViteMCP;
|
|
1714
|
-
//# sourceMappingURL=chunk-
|
|
1714
|
+
//# sourceMappingURL=chunk-FSPSPB7Y.cjs.map
|