@beautinique/be-middlewares 1.0.15 → 1.0.16

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,5 +1,5 @@
1
- import { NextFunction, Request, Response } from 'express';
2
- import { TRequestCheckOptions, type TServiceAccessOptions } from '../types';
1
+ import type { NextFunction, Request, Response } from 'express';
2
+ import type { TRequestCheckOptions, TServiceAccessOptions } from '../types';
3
3
  export declare const checkEmptyRequest: (options: TRequestCheckOptions) => (req: Request, _: Response, next: NextFunction) => void;
4
4
  export declare const setRequestId: (req: Request, res: Response, next: NextFunction) => void;
5
5
  export declare const serviceAccess: ({ secret, headerName, }: TServiceAccessOptions) => (req: Request, _res: Response, next: NextFunction) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beautinique/be-middlewares",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Middlewares for the Beautinique backend project.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@beautinique/be-classes": "^1.0.5",
43
43
  "@beautinique/be-constants": "^1.0.6",
44
44
  "@beautinique/be-utils": "^1.0.3",
45
- "@beautinique/be-zod": "^1.0.17",
45
+ "@beautinique/be-zod": "^1.0.18",
46
46
  "multer": "^2.1.1",
47
47
  "winston": "^3.19.0"
48
48
  }