@h3ravel/foundation 2.1.1 → 2.1.3

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.d.ts CHANGED
@@ -2298,7 +2298,7 @@ declare class HttpException extends Error {
2298
2298
  protected headers: Record<string, string>;
2299
2299
  code: number;
2300
2300
  constructor(statusCode: number, message?: string, previous?: Error | undefined, headers?: Record<string, string>, code?: number);
2301
- static fromStatusCode(statusCode: number, message?: string, previous?: Error, headers?: Record<string, string>, code?: number): AccessDeniedHttpException | TooManyRequestsHttpException | BadRequestHttpException | ConflictHttpException | GoneHttpException | LengthRequiredHttpException | LockedHttpException | NotAcceptableHttpException | NotFoundHttpException | PreconditionFailedHttpException | PreconditionRequiredHttpException | UnprocessableEntityHttpException | ServiceUnavailableHttpException | UnsupportedMediaTypeHttpException | HttpException;
2301
+ static fromStatusCode(statusCode: number, message?: string, previous?: Error, headers?: Record<string, string>, code?: number): UnprocessableEntityHttpException | AccessDeniedHttpException | BadRequestHttpException | ConflictHttpException | GoneHttpException | LengthRequiredHttpException | LockedHttpException | NotAcceptableHttpException | NotFoundHttpException | UnsupportedMediaTypeHttpException | PreconditionFailedHttpException | PreconditionRequiredHttpException | ServiceUnavailableHttpException | TooManyRequestsHttpException | HttpException;
2302
2302
  getStatusCode(): number;
2303
2303
  getHeaders(): Record<string, string>;
2304
2304
  setHeaders(headers: Record<string, string>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/foundation",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "H3ravel Foundation for shared and reuseable services.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -19,8 +19,7 @@
19
19
  }
20
20
  },
21
21
  "files": [
22
- "dist",
23
- "tsconfig.json"
22
+ "dist"
24
23
  ],
25
24
  "publishConfig": {
26
25
  "access": "public"
@@ -53,12 +52,12 @@
53
52
  }
54
53
  },
55
54
  "devDependencies": {
56
- "@h3ravel/contracts": "^2.1.1"
55
+ "@h3ravel/contracts": "^2.1.3"
57
56
  },
58
57
  "dependencies": {
59
58
  "@h3ravel/musket": "^1.29.0-alpha.15",
60
- "@h3ravel/shared": "^2.1.1",
61
- "@h3ravel/support": "^2.1.1",
59
+ "@h3ravel/shared": "^2.1.3",
60
+ "@h3ravel/support": "^2.1.3",
62
61
  "h3": "2.0.1-rc.5",
63
62
  "parasito": "^0.2.5"
64
63
  },
package/tsconfig.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "exclude": ["dist", "node_modules"]
4
- }