mcp-remote 0.1.27 → 0.1.29
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.
|
@@ -11872,7 +11872,7 @@ var Client = class extends Protocol {
|
|
|
11872
11872
|
};
|
|
11873
11873
|
|
|
11874
11874
|
// package.json
|
|
11875
|
-
var version = "0.1.
|
|
11875
|
+
var version = "0.1.29";
|
|
11876
11876
|
|
|
11877
11877
|
// node_modules/.pnpm/pkce-challenge@5.0.0/node_modules/pkce-challenge/dist/index.node.js
|
|
11878
11878
|
var crypto;
|
|
@@ -13645,7 +13645,7 @@ import crypto2 from "crypto";
|
|
|
13645
13645
|
import fs2 from "fs";
|
|
13646
13646
|
import { readFile, rm } from "fs/promises";
|
|
13647
13647
|
import path2 from "path";
|
|
13648
|
-
import { fetch as fetch2,
|
|
13648
|
+
import { EnvHttpProxyAgent, fetch as fetch2, Headers as Headers2, setGlobalDispatcher } from "undici";
|
|
13649
13649
|
var REASON_AUTH_NEEDED = "authentication-needed";
|
|
13650
13650
|
var REASON_TRANSPORT_FALLBACK = "falling-back-to-alternate-transport";
|
|
13651
13651
|
var pid = process.pid;
|
|
@@ -13808,7 +13808,7 @@ async function connectToRemoteServer(client, serverUrl, authProvider, headers, a
|
|
|
13808
13808
|
(tokens) => fetch2(url2, {
|
|
13809
13809
|
...init,
|
|
13810
13810
|
headers: {
|
|
13811
|
-
...init?.headers,
|
|
13811
|
+
...init?.headers instanceof Headers2 ? Object.fromEntries(init?.headers.entries()) : init?.headers || {},
|
|
13812
13812
|
...headers,
|
|
13813
13813
|
...tokens?.access_token ? { Authorization: `Bearer ${tokens.access_token}` } : {},
|
|
13814
13814
|
Accept: "text/event-stream"
|
package/dist/client.js
CHANGED
package/dist/proxy.js
CHANGED