@naturalcycles/js-lib 14.62.0 → 14.63.0

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.
@@ -36,6 +36,10 @@ export interface HttpErrorData extends ErrorData {
36
36
  * @default 500
37
37
  */
38
38
  httpStatusCode: number;
39
+ /**
40
+ * Set to true when the error was thrown after response headers were sent.
41
+ */
42
+ headersSent?: boolean;
39
43
  }
40
44
  export interface Admin401ErrorData extends HttpErrorData {
41
45
  adminAuthRequired: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
- "version": "14.62.0",
3
+ "version": "14.63.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "build-prod": "build-prod-esm-cjs",
@@ -42,6 +42,11 @@ export interface HttpErrorData extends ErrorData {
42
42
  * @default 500
43
43
  */
44
44
  httpStatusCode: number
45
+
46
+ /**
47
+ * Set to true when the error was thrown after response headers were sent.
48
+ */
49
+ headersSent?: boolean
45
50
  }
46
51
 
47
52
  export interface Admin401ErrorData extends HttpErrorData {