@h3ravel/foundation 2.1.2 → 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 +1 -1
- package/package.json +4 -4
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):
|
|
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.
|
|
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",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@h3ravel/contracts": "^2.1.
|
|
55
|
+
"@h3ravel/contracts": "^2.1.3"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@h3ravel/musket": "^1.29.0-alpha.15",
|
|
59
|
-
"@h3ravel/shared": "^2.1.
|
|
60
|
-
"@h3ravel/support": "^2.1.
|
|
59
|
+
"@h3ravel/shared": "^2.1.3",
|
|
60
|
+
"@h3ravel/support": "^2.1.3",
|
|
61
61
|
"h3": "2.0.1-rc.5",
|
|
62
62
|
"parasito": "^0.2.5"
|
|
63
63
|
},
|