z-zero-mcp-server 1.2.1 → 1.2.2
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/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wdk_backend.js +2 -2
- package/package.json +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CURRENT_MCP_VERSION = "1.
|
|
1
|
+
export declare const CURRENT_MCP_VERSION = "1.2.2";
|
package/dist/version.js
CHANGED
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CURRENT_MCP_VERSION = void 0;
|
|
4
4
|
// Single source of truth for MCP version
|
|
5
5
|
// Imported by both index.ts and wdk_backend.ts to avoid circular dependency
|
|
6
|
-
exports.CURRENT_MCP_VERSION = "1.
|
|
6
|
+
exports.CURRENT_MCP_VERSION = "1.2.2";
|
package/dist/wdk_backend.js
CHANGED
|
@@ -48,7 +48,7 @@ async function apiRequest(endpoint, method = 'GET', body = null) {
|
|
|
48
48
|
});
|
|
49
49
|
if (!res.ok) {
|
|
50
50
|
const err = await res.json().catch(() => ({ error: res.statusText }));
|
|
51
|
-
return { error: "API_ERROR", message: err.error || res.statusText };
|
|
51
|
+
return { error: err.error || "API_ERROR", message: err.message || err.error || res.statusText };
|
|
52
52
|
}
|
|
53
53
|
return await res.json();
|
|
54
54
|
}
|
|
@@ -74,7 +74,7 @@ async function internalApiRequest(endpoint, method, body) {
|
|
|
74
74
|
});
|
|
75
75
|
if (!res.ok) {
|
|
76
76
|
const err = await res.json().catch(() => ({ error: res.statusText }));
|
|
77
|
-
return { error: "API_ERROR", message: err.error || res.statusText };
|
|
77
|
+
return { error: err.error || "API_ERROR", message: err.message || err.error || res.statusText };
|
|
78
78
|
}
|
|
79
79
|
return await res.json();
|
|
80
80
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "z-zero-mcp-server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Z-ZERO MCP Server — Secure JIT Virtual Card Payment tools for AI Agents (Claude, Cursor, AutoGPT) — Real Single-Use Visa Cards",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "dist/index.js",
|