linkedin-relay-mcp 1.5.1 → 1.6.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/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/mcp-shim.js +2 -2
- package/dist/mcp-shim.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -913,9 +913,9 @@ function classify(res, opts = {}) {
|
|
|
913
913
|
if (challenge !== null) return challenge;
|
|
914
914
|
if (opts.expectJson === false) {
|
|
915
915
|
try {
|
|
916
|
-
return { outcome: "ok", retry: false, json: JSON.parse(res.body) };
|
|
916
|
+
return { outcome: "ok", retry: false, json: JSON.parse(res.body), raw: res.body };
|
|
917
917
|
} catch {
|
|
918
|
-
return { outcome: "ok", retry: false, json: null };
|
|
918
|
+
return { outcome: "ok", retry: false, json: null, raw: res.body };
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
return classifyBody(res.body);
|