@caravo/mcp 0.1.25 → 0.1.26
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -195,7 +195,7 @@ async function apiPost(path, body) {
|
|
|
195
195
|
process.stderr.write(`[caravo] API key request failed (${r.status}), falling back to x402\n`);
|
|
196
196
|
const x402Opts = {
|
|
197
197
|
method: "POST",
|
|
198
|
-
headers:
|
|
198
|
+
headers: baseHeaders(), // Keep Authorization for user attribution on x402 fallback
|
|
199
199
|
body: JSON.stringify(body),
|
|
200
200
|
};
|
|
201
201
|
return safeParseJson(await fetchWithX402(url, x402Opts, wallet));
|
package/package.json
CHANGED