@arkstack/driver-express 0.15.3 → 0.15.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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Handler, NextFunction, Request, Response } from "express";
|
|
2
2
|
import multer from "multer";
|
|
3
|
-
import * as _$express_rate_limit0 from "express-rate-limit";
|
|
4
3
|
import { ValueDeterminingMiddleware } from "express-rate-limit";
|
|
5
4
|
|
|
6
5
|
//#region src/middlewares/auth.d.ts
|
|
@@ -50,7 +49,7 @@ declare class InertiaMiddleware {
|
|
|
50
49
|
* @param message custom message to be returned when rate limit is exceeded
|
|
51
50
|
* @returns
|
|
52
51
|
*/
|
|
53
|
-
declare const limiter: (requests?: number | ValueDeterminingMiddleware<number>, perSec?: number, message?: string | ValueDeterminingMiddleware<string>) =>
|
|
52
|
+
declare const limiter: (requests?: number | ValueDeterminingMiddleware<number>, perSec?: number, message?: string | ValueDeterminingMiddleware<string>) => import("express-rate-limit").RateLimitRequestHandler;
|
|
54
53
|
//#endregion
|
|
55
54
|
//#region src/middlewares/request-logger.d.ts
|
|
56
55
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkstack/driver-express",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Express driver for Arkstack, providing Express-based runtime integration for the framework.",
|
|
6
6
|
"homepage": "https://arkstack.toneflix.net",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"express-rate-limit": "^8.4.1",
|
|
44
44
|
"multer": "^2.1.1",
|
|
45
45
|
"resora": "^1.3.27",
|
|
46
|
-
"@arkstack/contract": "^0.15.
|
|
46
|
+
"@arkstack/contract": "^0.15.4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"express": "^5.2.1",
|
|
50
|
-
"@arkstack/auth": "^0.15.
|
|
51
|
-
"@arkstack/common": "^0.15.
|
|
52
|
-
"@arkstack/
|
|
53
|
-
"@arkstack/
|
|
50
|
+
"@arkstack/auth": "^0.15.4",
|
|
51
|
+
"@arkstack/common": "^0.15.4",
|
|
52
|
+
"@arkstack/foundry": "^0.15.4",
|
|
53
|
+
"@arkstack/inertia": "^0.15.4"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
56
56
|
"@arkstack/auth": {
|