Comparing version 2.1.4 to 2.1.5
@@ -94,3 +94,3 @@ import ExtendableError from 'es6-error'; | ||
*/ | ||
setConfig(config: IBaseErrorConfig): void; | ||
setConfig(config: IBaseErrorConfig): this; | ||
/** | ||
@@ -97,0 +97,0 @@ * Replaces sprintf() flags in an error message, if present. |
@@ -134,2 +134,3 @@ "use strict"; | ||
this._config = config; | ||
return this; | ||
} | ||
@@ -136,0 +137,0 @@ /** |
@@ -0,1 +1,9 @@ | ||
## 2.1.5 - Sat Mar 20 2021 05:11:00 | ||
**Contributor:** Theo Gravity | ||
- Fix `BaseError#setConfig()` not being chainable | ||
It was returning void rather than the instance back. This fixes that. | ||
## 2.1.4 - Fri Mar 19 2021 04:22:07 | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "new-error", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "A production-grade error creation and serialization library designed for Typescript", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113181
1348
83