@wix/mcp 1.0.11 → 1.0.12
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/build/bin-standalone.js +1 -1
- package/build/bin-standalone.js.map +2 -2
- package/build/cjs/index.cjs +1 -1
- package/build/cjs/index.cjs.map +2 -2
- package/build/dts/tool-utils.js +1 -1
- package/build/dts/tool-utils.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +2 -2
- package/package.json +2 -2
package/build/bin-standalone.js
CHANGED
|
@@ -15801,7 +15801,7 @@ var buildErrorMessage = ({
|
|
|
15801
15801
|
].filter((str) => !!str).join("\n");
|
|
15802
15802
|
};
|
|
15803
15803
|
var handleWixAPIResponse = async (response) => {
|
|
15804
|
-
const requestId = response.headers.get("x-wix-request-id");
|
|
15804
|
+
const requestId = response.headers.get?.("x-wix-request-id");
|
|
15805
15805
|
if (!response.status.toString().startsWith("2")) {
|
|
15806
15806
|
const errorMessage = buildErrorMessage({
|
|
15807
15807
|
status: response.status,
|