@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/cjs/index.cjs
CHANGED
|
@@ -24158,7 +24158,7 @@ var buildErrorMessage = ({
|
|
|
24158
24158
|
].filter((str) => !!str).join("\n");
|
|
24159
24159
|
};
|
|
24160
24160
|
var handleWixAPIResponse = async (response) => {
|
|
24161
|
-
const requestId = response.headers.get("x-wix-request-id");
|
|
24161
|
+
const requestId = response.headers.get?.("x-wix-request-id");
|
|
24162
24162
|
if (!response.status.toString().startsWith("2")) {
|
|
24163
24163
|
const errorMessage = buildErrorMessage({
|
|
24164
24164
|
status: response.status,
|