linkedin-relay-mcp 1.2.0 → 1.2.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/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/mcp-shim.js +2 -1
- package/dist/mcp-shim.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -896,9 +896,10 @@ function classify(res) {
|
|
|
896
896
|
if (res.status === 404) {
|
|
897
897
|
return fail("NOT_FOUND", "no such resource");
|
|
898
898
|
}
|
|
899
|
-
if (res.status
|
|
899
|
+
if (res.status < 200 || res.status >= 300) {
|
|
900
900
|
return fail("FETCH_FAILED", `unexpected status ${res.status}`);
|
|
901
901
|
}
|
|
902
|
+
if (res.body.trim() === "") return { outcome: "ok", retry: false, json: null };
|
|
902
903
|
return classifyBody(res.body);
|
|
903
904
|
}
|
|
904
905
|
function referencesUrns(data) {
|