kanun 0.1.7 → 0.1.8

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
@@ -2999,6 +2999,7 @@ var ValidationException = class ValidationException extends Error {
2999
2999
  validator;
3000
3000
  response;
3001
3001
  status = 422;
3002
+ statusCode = 422;
3002
3003
  errorBag = "default";
3003
3004
  redirectTo;
3004
3005
  name = "ValidationException";
package/dist/index.d.ts CHANGED
@@ -1397,6 +1397,7 @@ declare class ValidationException extends Error {
1397
1397
  validator: Validator<any, any>;
1398
1398
  response?: any;
1399
1399
  status: number;
1400
+ statusCode: number;
1400
1401
  errorBag: string;
1401
1402
  redirectTo?: string;
1402
1403
  name: string;
package/dist/index.js CHANGED
@@ -2969,6 +2969,7 @@ var ValidationException = class ValidationException extends Error {
2969
2969
  validator;
2970
2970
  response;
2971
2971
  status = 422;
2972
+ statusCode = 422;
2972
2973
  errorBag = "default";
2973
2974
  redirectTo;
2974
2975
  name = "ValidationException";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanun",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Framework-agnostic TypeScript-first validation library.",
5
5
  "type": "module",
6
6
  "files": [