@wix/mcp 1.0.17 → 1.0.18

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.
@@ -12523,12 +12523,16 @@ var require_error3 = __commonJS({
12523
12523
  ];
12524
12524
  var HttpError = class _HttpError extends Error {
12525
12525
  constructor(error) {
12526
+ var _a;
12526
12527
  super(error.message);
12527
12528
  this.isWixHttpError = true;
12528
12529
  Object.setPrototypeOf(this, _HttpError.prototype);
12529
12530
  exports2.axiosErrorFields.forEach((key) => {
12530
12531
  this[key] = error[key];
12531
12532
  });
12533
+ if ((_a = this.response) === null || _a === void 0 ? void 0 : _a.headers) {
12534
+ this.response.requestId = (0, headers_1.requestIdOrEmptyString)(this.response);
12535
+ }
12532
12536
  }
12533
12537
  get requestId() {
12534
12538
  return (0, headers_1.requestIdOrEmptyString)(this.response);
@@ -24216,7 +24220,7 @@ var addDocsTools = (server, allowedTools = [
24216
24220
  getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
24217
24221
  ].join("\n"),
24218
24222
  {
24219
- articleUrl: external_exports.string().url().startsWith("https://dev.wix.com/").describe(
24223
+ articleUrl: external_exports.string().url().describe(
24220
24224
  "The URL of the docs article or method article to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
24221
24225
  )
24222
24226
  },
@@ -24267,7 +24271,7 @@ var addDocsTools = (server, allowedTools = [
24267
24271
  "This will give you the entire request/response schema with all the fields and their descriptions."
24268
24272
  ].join("\n"),
24269
24273
  {
24270
- articleUrl: external_exports.string().url().startsWith("https://dev.wix.com/").describe(
24274
+ articleUrl: external_exports.string().url().describe(
24271
24275
  "The URL of the documentation to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
24272
24276
  )
24273
24277
  },