@alextheman/utility 1.13.0 → 1.13.1

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/index.cjs CHANGED
@@ -241,6 +241,7 @@ var APIError = class extends Error {
241
241
  } else {
242
242
  this.message = (_a = httpErrorCodeLookup[this.status]) != null ? _a : "API_ERROR";
243
243
  }
244
+ Object.defineProperty(this, "message", { enumerable: true });
244
245
  Object.setPrototypeOf(this, new.target.prototype);
245
246
  }
246
247
  };
package/dist/index.js CHANGED
@@ -203,6 +203,7 @@ var APIError = class extends Error {
203
203
  } else {
204
204
  this.message = (_a = httpErrorCodeLookup[this.status]) != null ? _a : "API_ERROR";
205
205
  }
206
+ Object.defineProperty(this, "message", { enumerable: true });
206
207
  Object.setPrototypeOf(this, new.target.prototype);
207
208
  }
208
209
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/utility",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",