@stacksjs/error-handling 0.59.2 → 0.59.4

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/handler.d.ts CHANGED
@@ -3,7 +3,7 @@ interface ErrorOptions {
3
3
  }
4
4
  export declare const StacksError: ErrorConstructor;
5
5
  export declare class ErrorHandler {
6
- static logFile: string;
6
+ static logFile: any;
7
7
  static handle(err: ErrorDescription | Error, options?: ErrorOptions | Error): Error;
8
8
  static handleError(err: Error, options?: ErrorOptions): Error;
9
9
  static writeErrorToFile(err: Error): Promise<void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.59.2",
4
+ "version": "0.59.4",
5
5
  "description": "Type safe error handling.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "scripts": {
45
45
  "build": "bun --bun build.ts",
46
46
  "typecheck": "bun --bun tsc --noEmit",
47
- "prepublishOnly": "bun --bun run build"
47
+ "prepublishOnly": "bun run build"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@stacksjs/cli": "latest",