@lovable.dev/mcp-js 3.3.1 → 3.5.0
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.internal.md +38 -12
- package/README.md +140 -12
- package/dist/THIRD_PARTY_NOTICES +75 -0
- package/dist/apps-CWG3rGhB.js +132 -0
- package/dist/apps-DyoDrwfi.cjs +185 -0
- package/dist/{authorize-CoaAw6wg.d.cts → authorize--W1XtwdB.d.cts} +1 -1
- package/dist/{authorize-BV62MDan.d.ts → authorize-DpNYioXM.d.ts} +1 -1
- package/dist/{base-Cx0spfMk.d.ts → base-Ce9JYirF.d.ts} +1 -1
- package/dist/{base-CzWe8AD1.d.cts → base-qEX8YVcD.d.cts} +1 -1
- package/dist/cli/check-server.cjs +1 -1
- package/dist/cli/check-server.js +1 -1
- package/dist/cli/extract-manifest.cjs +1 -1
- package/dist/cli/extract-manifest.js +1 -1
- package/dist/{cors-3HjrsmEW.cjs → cors-B_Oui5La.cjs} +1 -1
- package/dist/{cors-CNNmKKIg.js → cors-D83r8WUF.js} +1 -1
- package/dist/dist-CIu-UFye.js +6738 -0
- package/dist/dist-CqY2qXpc.cjs +6738 -0
- package/dist/{errors-CIpFAb6i.js → errors-CfaxXr2T.js} +15 -2
- package/dist/{errors-C97I7VOC.cjs → errors-xJ_7Su1K.cjs} +20 -1
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +2 -2
- package/dist/{io-D7cpdBJO.d.ts → io-BEpyfk4G.d.ts} +1 -1
- package/dist/{io-CaBSlPwS.cjs → io-CUnV4kTL.cjs} +12 -2
- package/dist/{io-DC-Y6R61.d.cts → io-Di5ljvZY.d.cts} +1 -1
- package/dist/{io-CahnhUhA.js → io-STpVLkbi.js} +13 -3
- package/dist/{mcp-DC8AoD18.js → mcp-BgIFUoo1.js} +110 -49
- package/dist/{mcp-DlWLIwX9.cjs → mcp-DpI0wwnW.cjs} +110 -49
- package/dist/mcp-app.d.ts +4 -0
- package/dist/{package-B488glmj.cjs → package-CuCho6-k.cjs} +1 -1
- package/dist/{package-CukfP_vq.js → package-Cz6Z5F_X.js} +1 -1
- package/dist/protocols/mcp/index.cjs +1 -1
- package/dist/protocols/mcp/index.d.cts +3 -3
- package/dist/protocols/mcp/index.d.ts +3 -3
- package/dist/protocols/mcp/index.js +1 -1
- package/dist/protocols/oauth-metadata.cjs +1 -1
- package/dist/protocols/oauth-metadata.d.cts +3 -3
- package/dist/protocols/oauth-metadata.d.ts +3 -3
- package/dist/protocols/oauth-metadata.js +1 -1
- package/dist/src-D7RtXSV0.cjs +311 -0
- package/dist/src-sWQwyLwS.js +310 -0
- package/dist/stacks/supabase/index.cjs +2 -2
- package/dist/stacks/supabase/index.d.cts +1 -1
- package/dist/stacks/supabase/index.d.ts +1 -1
- package/dist/stacks/supabase/index.js +2 -2
- package/dist/stacks/supabase/vite.cjs +10 -1
- package/dist/stacks/supabase/vite.d.cts +1 -1
- package/dist/stacks/supabase/vite.d.ts +1 -1
- package/dist/stacks/supabase/vite.js +21 -12
- package/dist/stacks/tanstack/index.cjs +33 -2
- package/dist/stacks/tanstack/index.d.cts +7 -4
- package/dist/stacks/tanstack/index.d.ts +7 -4
- package/dist/stacks/tanstack/index.js +33 -2
- package/dist/stacks/tanstack/vite.cjs +995 -15
- package/dist/stacks/tanstack/vite.d.cts +1 -1
- package/dist/stacks/tanstack/vite.d.ts +1 -1
- package/dist/stacks/tanstack/vite.js +1001 -21
- package/dist/testing/browser/LICENSE.ext-apps +218 -0
- package/dist/testing/browser/host.ts +151 -0
- package/dist/testing/browser/sandbox.ts +137 -0
- package/dist/testing/browser.cjs +382 -0
- package/dist/testing/browser.d.cts +46 -0
- package/dist/testing/browser.d.ts +46 -0
- package/dist/testing/browser.js +381 -0
- package/dist/testing/index.cjs +2 -1
- package/dist/testing/index.d.cts +2 -1
- package/dist/testing/index.d.ts +2 -1
- package/dist/testing/index.js +2 -1
- package/dist/testing/server.cjs +36 -0
- package/dist/testing/server.d.cts +6 -2
- package/dist/testing/server.d.ts +6 -2
- package/dist/testing/server.js +36 -1
- package/dist/{tool-result-DcNioyiI.js → tool-result-BG-HsSQu.js} +8 -1
- package/dist/{tool-result-rU-PpNNi.cjs → tool-result-BQcr7VV-.cjs} +8 -1
- package/dist/{types-z7T5bBIU.d.cts → types-B_dVw-zM.d.cts} +55 -1
- package/dist/{types-z7T5bBIU.d.ts → types-B_dVw-zM.d.ts} +55 -1
- package/package.json +66 -25
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
//#region src/core/apps.ts
|
|
2
|
+
/** Extension id and resource MIME type from the MCP Apps spec (SEP-1865). */
|
|
3
|
+
const UI_EXTENSION_ID = "io.modelcontextprotocol/ui";
|
|
4
|
+
const APP_RESOURCE_MIME_TYPE = "text/html;profile=mcp-app";
|
|
5
|
+
const APP_NAME_PATTERN = /^[a-zA-Z0-9_-]+$/;
|
|
6
|
+
const CSP_KEYS = [
|
|
7
|
+
"connectDomains",
|
|
8
|
+
"resourceDomains",
|
|
9
|
+
"frameDomains",
|
|
10
|
+
"baseUriDomains"
|
|
11
|
+
];
|
|
12
|
+
const PERMISSION_KEYS = [
|
|
13
|
+
"camera",
|
|
14
|
+
"microphone",
|
|
15
|
+
"geolocation",
|
|
16
|
+
"clipboardWrite"
|
|
17
|
+
];
|
|
18
|
+
const VISIBILITY_VALUES = ["model", "app"];
|
|
19
|
+
function appResourceUri(name) {
|
|
20
|
+
return `ui://apps/${name}`;
|
|
21
|
+
}
|
|
22
|
+
function isPlainObject(value) {
|
|
23
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
24
|
+
}
|
|
25
|
+
function assertAppDefinitionInput(def) {
|
|
26
|
+
if (typeof def.name !== "string" || !APP_NAME_PATTERN.test(def.name)) throw new Error(`@lovable.dev/mcp-js: app name ${JSON.stringify(def.name)} must be a non-empty token of letters, digits, "_" or "-"`);
|
|
27
|
+
if (typeof def.title !== "string" || def.title.trim() === "") throw new Error(`@lovable.dev/mcp-js: app "${def.name}" title must not be empty`);
|
|
28
|
+
if (def.description !== void 0 && typeof def.description !== "string") throw new Error(`@lovable.dev/mcp-js: app "${def.name}" description must be a string`);
|
|
29
|
+
if (typeof def.html !== "string") throw new Error(`@lovable.dev/mcp-js: app "${def.name}" html must be a string; import it as "./apps/${def.name}/index.html?mcp-app"`);
|
|
30
|
+
assertAppServable(def);
|
|
31
|
+
if (def.csp !== void 0) {
|
|
32
|
+
if (!isPlainObject(def.csp)) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" csp must be an object`);
|
|
33
|
+
for (const key of Object.keys(def.csp)) {
|
|
34
|
+
if (!CSP_KEYS.includes(key)) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" csp has unknown key "${key}"`);
|
|
35
|
+
const value = def.csp[key];
|
|
36
|
+
if (value !== void 0 && (!Array.isArray(value) || value.some((v) => typeof v !== "string"))) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" csp.${key} must be an array of origins`);
|
|
37
|
+
assertCspOrigins(def.name, key, value);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (def.permissions !== void 0) {
|
|
41
|
+
if (!isPlainObject(def.permissions)) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" permissions must be an object`);
|
|
42
|
+
for (const key of Object.keys(def.permissions)) {
|
|
43
|
+
if (!PERMISSION_KEYS.includes(key)) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" permissions has unknown key "${key}" (allowed: ${PERMISSION_KEYS.join(", ")})`);
|
|
44
|
+
const value = def.permissions[key];
|
|
45
|
+
if (value !== void 0 && (!isPlainObject(value) || Object.keys(value).length > 0)) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" permissions.${key} must be an empty object`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (def.domain !== void 0 && (typeof def.domain !== "string" || def.domain.trim() === "")) throw new Error(`@lovable.dev/mcp-js: app "${def.name}" domain must be a non-empty string`);
|
|
49
|
+
if (def.prefersBorder !== void 0 && typeof def.prefersBorder !== "boolean") throw new Error(`@lovable.dev/mcp-js: app "${def.name}" prefersBorder must be a boolean`);
|
|
50
|
+
}
|
|
51
|
+
function freezeApp(def) {
|
|
52
|
+
if (def.csp) {
|
|
53
|
+
for (const key of CSP_KEYS) if (def.csp[key]) Object.freeze(def.csp[key]);
|
|
54
|
+
Object.freeze(def.csp);
|
|
55
|
+
}
|
|
56
|
+
if (def.permissions) {
|
|
57
|
+
for (const key of PERMISSION_KEYS) if (def.permissions[key]) Object.freeze(def.permissions[key]);
|
|
58
|
+
Object.freeze(def.permissions);
|
|
59
|
+
}
|
|
60
|
+
Object.freeze(def);
|
|
61
|
+
}
|
|
62
|
+
function assertToolUi(tool) {
|
|
63
|
+
const ui = tool.ui;
|
|
64
|
+
if (ui === void 0) return;
|
|
65
|
+
if (!isPlainObject(ui) || ui.app === void 0 && ui.visibility === void 0) throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui must declare an app or visibility`);
|
|
66
|
+
if (ui.app !== void 0) {
|
|
67
|
+
if (!isPlainObject(ui.app)) throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui.app must be a defineApp(...) result`);
|
|
68
|
+
try {
|
|
69
|
+
assertAppDefinitionInput(ui.app);
|
|
70
|
+
} catch (error) {
|
|
71
|
+
const detail = error instanceof Error ? error.message.replace(/^@lovable\.dev\/mcp-js: /, "") : String(error);
|
|
72
|
+
throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui.app is invalid: ${detail}`);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
if (ui.visibility === void 0) return;
|
|
76
|
+
if (!Array.isArray(ui.visibility) || ui.visibility.length === 0) throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui.visibility must be a non-empty array`);
|
|
77
|
+
for (const value of ui.visibility) if (!VISIBILITY_VALUES.includes(value)) throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui.visibility contains ${JSON.stringify(value)} (allowed: ${VISIBILITY_VALUES.join(", ")})`);
|
|
78
|
+
if (new Set(ui.visibility).size !== ui.visibility.length) throw new Error(`@lovable.dev/mcp-js: tool "${tool.name}" ui.visibility must not repeat values`);
|
|
79
|
+
}
|
|
80
|
+
function freezeToolUi(tool) {
|
|
81
|
+
if (!tool.ui) return;
|
|
82
|
+
if (tool.ui.app) freezeApp(tool.ui.app);
|
|
83
|
+
if (tool.ui.visibility) Object.freeze(tool.ui.visibility);
|
|
84
|
+
Object.freeze(tool.ui);
|
|
85
|
+
}
|
|
86
|
+
/** Distinct apps referenced by `tools[].ui.app`, in first-use order. Several
|
|
87
|
+
* tools may share one app; two different apps may not share a name. */
|
|
88
|
+
function collectApps(tools) {
|
|
89
|
+
const apps = [];
|
|
90
|
+
const byName = /* @__PURE__ */ new Map();
|
|
91
|
+
for (const tool of tools) {
|
|
92
|
+
const app = tool.ui?.app;
|
|
93
|
+
if (!app) continue;
|
|
94
|
+
const existing = byName.get(app.name);
|
|
95
|
+
if (existing === app) continue;
|
|
96
|
+
if (existing !== void 0) throw new Error(`@lovable.dev/mcp-js: two different apps share the name "${app.name}"`);
|
|
97
|
+
byName.set(app.name, app);
|
|
98
|
+
apps.push(app);
|
|
99
|
+
}
|
|
100
|
+
return apps;
|
|
101
|
+
}
|
|
102
|
+
const ORIGIN_PROTOCOLS = /* @__PURE__ */ new Set([
|
|
103
|
+
"http:",
|
|
104
|
+
"https:",
|
|
105
|
+
"ws:",
|
|
106
|
+
"wss:"
|
|
107
|
+
]);
|
|
108
|
+
function isExactOrigin(value) {
|
|
109
|
+
let parsed;
|
|
110
|
+
try {
|
|
111
|
+
parsed = new URL(value);
|
|
112
|
+
} catch {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
return ORIGIN_PROTOCOLS.has(parsed.protocol) && !parsed.host.includes("*") && `${parsed.protocol}//${parsed.host}` === value;
|
|
116
|
+
}
|
|
117
|
+
function assertCspOrigins(appName, key, values) {
|
|
118
|
+
if (!values) return;
|
|
119
|
+
for (const value of values) if (!isExactOrigin(key === "resourceDomains" ? value.replace(/^(https?|wss?):\/\/\*\./, "$1://wildcard.") : value)) throw new Error(`@lovable.dev/mcp-js: app "${appName}" csp.${key} entry "${value}" must be an exact http(s)/ws(s) origin without a path, query, fragment, or trailing slash`);
|
|
120
|
+
}
|
|
121
|
+
const HTML_DOCTYPE = /^<!doctype[\t\n\f\r ]+html[\s>]/i;
|
|
122
|
+
function assertAppServable(app) {
|
|
123
|
+
let html = app.html.trimStart();
|
|
124
|
+
while (html.startsWith("<!--")) {
|
|
125
|
+
const end = html.indexOf("-->");
|
|
126
|
+
if (end === -1) break;
|
|
127
|
+
html = html.slice(end + 3).trimStart();
|
|
128
|
+
}
|
|
129
|
+
if (!HTML_DOCTYPE.test(html)) throw new Error(`@lovable.dev/mcp-js: app "${app.name}" html must include an HTML5 <!doctype html> after any leading whitespace or comments. Import the document with "?mcp-app" using the TanStack Vite plugin (MCP Apps are not supported on the Supabase stack).`);
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
Object.defineProperty(exports, "APP_RESOURCE_MIME_TYPE", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function() {
|
|
135
|
+
return APP_RESOURCE_MIME_TYPE;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "UI_EXTENSION_ID", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function() {
|
|
141
|
+
return UI_EXTENSION_ID;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "appResourceUri", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function() {
|
|
147
|
+
return appResourceUri;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "assertAppDefinitionInput", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function() {
|
|
153
|
+
return assertAppDefinitionInput;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "assertAppServable", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function() {
|
|
159
|
+
return assertAppServable;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "assertToolUi", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function() {
|
|
165
|
+
return assertToolUi;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "collectApps", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function() {
|
|
171
|
+
return collectApps;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "freezeApp", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function() {
|
|
177
|
+
return freezeApp;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "freezeToolUi", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function() {
|
|
183
|
+
return freezeToolUi;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as McpProtocolEra } from "./types-B_dVw-zM.js";
|
|
2
2
|
//#region src/metrics/impl/base.d.ts
|
|
3
3
|
type InvocationOutcome = "ok" | "tool_error" | "handler_error" | "transport_error" | "app_context_error" | "auth_challenge" | "auth_token_expired" | "auth_token_invalid" | "auth_insufficient_scope" | "auth_unexpected_error" | "origin_rejected" | "auth_discovery_config_error" | "auth_discovery_unreachable" | "auth_jwks_config_error" | "auth_jwks_unreachable";
|
|
4
4
|
/** One recorded MCP call. Carries no arguments or response payloads — only the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as McpProtocolEra } from "./types-B_dVw-zM.cjs";
|
|
2
2
|
//#region src/metrics/impl/base.d.ts
|
|
3
3
|
type InvocationOutcome = "ok" | "tool_error" | "handler_error" | "transport_error" | "app_context_error" | "auth_challenge" | "auth_token_expired" | "auth_token_invalid" | "auth_insufficient_scope" | "auth_unexpected_error" | "origin_rejected" | "auth_discovery_config_error" | "auth_discovery_unreachable" | "auth_jwks_config_error" | "auth_jwks_unreachable";
|
|
4
4
|
/** One recorded MCP call. Carries no arguments or response payloads — only the
|
|
@@ -18,7 +18,7 @@ async function main() {
|
|
|
18
18
|
help: { type: "boolean" }
|
|
19
19
|
} });
|
|
20
20
|
if (values.help) {
|
|
21
|
-
console.log("lovable-mcp-check --url <endpoint> [--bearer-env <NAME>] [--protocol 2025-11-25|2026-07-28] [--calls <json-file>] [--timeout <milliseconds>]\nDiscovery never calls tools. Only calls listed in the JSON array run. Supply credentials through a named environment variable, never command arguments. Timeout is per request (default 10000 ms), not the whole run. Exit 0 means no observed failures, not full coverage; 1 means a failed check, 2 invalid configuration.");
|
|
21
|
+
console.log("lovable-mcp-check --url <endpoint> [--bearer-env <NAME>] [--protocol 2025-11-25|2026-07-28] [--calls <json-file>] [--timeout <milliseconds>]\nDiscovery never calls tools; it reads linked MCP App resources with the configured caller's credentials. Only calls listed in the JSON array run. Supply credentials through a named environment variable, never command arguments. Timeout is per request (default 10000 ms), not the whole run. Exit 0 means no observed failures, not full coverage; 1 means a failed check, 2 invalid configuration.");
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
if (!values.url) throw new Error();
|
package/dist/cli/check-server.js
CHANGED
|
@@ -18,7 +18,7 @@ async function main() {
|
|
|
18
18
|
help: { type: "boolean" }
|
|
19
19
|
} });
|
|
20
20
|
if (values.help) {
|
|
21
|
-
console.log("lovable-mcp-check --url <endpoint> [--bearer-env <NAME>] [--protocol 2025-11-25|2026-07-28] [--calls <json-file>] [--timeout <milliseconds>]\nDiscovery never calls tools. Only calls listed in the JSON array run. Supply credentials through a named environment variable, never command arguments. Timeout is per request (default 10000 ms), not the whole run. Exit 0 means no observed failures, not full coverage; 1 means a failed check, 2 invalid configuration.");
|
|
21
|
+
console.log("lovable-mcp-check --url <endpoint> [--bearer-env <NAME>] [--protocol 2025-11-25|2026-07-28] [--calls <json-file>] [--timeout <milliseconds>]\nDiscovery never calls tools; it reads linked MCP App resources with the configured caller's credentials. Only calls listed in the JSON array run. Supply credentials through a named environment variable, never command arguments. Timeout is per request (default 10000 ms), not the whole run. Exit 0 means no observed failures, not full coverage; 1 means a failed check, 2 invalid configuration.");
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
if (!values.url) throw new Error();
|
|
@@ -7,7 +7,7 @@ import("zod/v3").catch((err) => {
|
|
|
7
7
|
}).then(() => import("vite").catch((err) => {
|
|
8
8
|
const message = err instanceof Error ? err.message : String(err);
|
|
9
9
|
throw new Error(`@lovable.dev/mcp-js requires vite >=5.0.0 <9.0.0 for manifest extraction. Install a compatible Vite version in the project (for example, npm install -D vite@^7) and include dev dependencies when running this command. Underlying error: ${message}`);
|
|
10
|
-
})).then(() => Promise.resolve().then(() => require("../io-
|
|
10
|
+
})).then(() => Promise.resolve().then(() => require("../io-CUnV4kTL.cjs"))).then(({ runExtract }) => runExtract(projectRoot)).catch((err) => {
|
|
11
11
|
console.error(err instanceof Error ? err.message : String(err));
|
|
12
12
|
process.exit(1);
|
|
13
13
|
});
|
|
@@ -7,7 +7,7 @@ import("zod/v3").catch((err) => {
|
|
|
7
7
|
}).then(() => import("vite").catch((err) => {
|
|
8
8
|
const message = err instanceof Error ? err.message : String(err);
|
|
9
9
|
throw new Error(`@lovable.dev/mcp-js requires vite >=5.0.0 <9.0.0 for manifest extraction. Install a compatible Vite version in the project (for example, npm install -D vite@^7) and include dev dependencies when running this command. Underlying error: ${message}`);
|
|
10
|
-
})).then(() => import("../io-
|
|
10
|
+
})).then(() => import("../io-STpVLkbi.js")).then(({ runExtract }) => runExtract(projectRoot)).catch((err) => {
|
|
11
11
|
console.error(err instanceof Error ? err.message : String(err));
|
|
12
12
|
process.exit(1);
|
|
13
13
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_logger = require("./logger-C-Hdu57K.cjs");
|
|
2
|
-
const require_package = require("./package-
|
|
2
|
+
const require_package = require("./package-CuCho6-k.cjs");
|
|
3
3
|
require("./metadata-path-zd7NSNoa.cjs");
|
|
4
4
|
let jose = require("jose");
|
|
5
5
|
//#region src/core/http.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as log, n as applyLogLevelFromEnv, o as parseSafeUrl, r as describeError, s as trimTrailingSlash, t as LOG_LEVEL_ENV_VAR, u as resolveMetricsConfig } from "./logger-CpLgYbCG.js";
|
|
2
|
-
import { t as version } from "./package-
|
|
2
|
+
import { t as version } from "./package-Cz6Z5F_X.js";
|
|
3
3
|
import "./metadata-path-CAkNcfyY.js";
|
|
4
4
|
import { createLocalJWKSet, decodeProtectedHeader, errors, jwtVerify } from "jose";
|
|
5
5
|
//#region src/core/http.ts
|