@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.
@@ -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,