nulladrift 0.4.0 → 0.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.md +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ a pull request cannot widen what its own build is allowed to do.
|
|
|
160
160
|
**Nothing in this repository depends on it.** `nulladrift check` needs no account, no token and
|
|
161
161
|
no network beyond the servers it is auditing, and that does not change.
|
|
162
162
|
|
|
163
|
-
See [nulladrift.
|
|
163
|
+
See [nulladrift.com](https://nulladrift.com).
|
|
164
164
|
|
|
165
165
|
## Layout
|
|
166
166
|
|
package/dist/index.js
CHANGED
|
@@ -1469,8 +1469,8 @@ import { dirname, join as join2 } from "path";
|
|
|
1469
1469
|
import { ClientCredentialsProvider, UnauthorizedError } from "@modelcontextprotocol/client";
|
|
1470
1470
|
|
|
1471
1471
|
// src/lib/version.ts
|
|
1472
|
-
var VERSION = "0.
|
|
1473
|
-
var USER_AGENT = `nulladrift/${VERSION}`;
|
|
1472
|
+
var VERSION = "0.5.0";
|
|
1473
|
+
var USER_AGENT = `nulladrift/${VERSION} (+https://github.com/Nulladrift/nulladrift)`;
|
|
1474
1474
|
|
|
1475
1475
|
// src/mcp/oauth.ts
|
|
1476
1476
|
var DEFAULT_CALLBACK_PATH = "/callback";
|
|
@@ -1687,7 +1687,7 @@ function buildTransport(server2, captureStderr = () => {
|
|
|
1687
1687
|
child.stderr?.on("data", (chunk) => captureStderr(chunk.toString("utf8")));
|
|
1688
1688
|
return child;
|
|
1689
1689
|
}
|
|
1690
|
-
const headers = {
|
|
1690
|
+
const headers = { "user-agent": USER_AGENT, ...transport2.headers };
|
|
1691
1691
|
const url = new URL(transport2.url);
|
|
1692
1692
|
const authProvider = createAuthProvider(server2, options);
|
|
1693
1693
|
if (transport2.type === "sse") return new SSEClientTransport(url, { requestInit: { headers }, authProvider });
|