@promster/express 9.0.0 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ declare const extractPath: (req: Request) => string;
15
15
  declare const getRequestRecorder: () => TRequestRecorder;
16
16
  declare const signalIsUp: () => void;
17
17
  declare const signalIsNotUp: () => void;
18
- type TSkipFunction = <TRequest extends Request, TResponse extends Response>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
18
+ type TSkipFunction = <TRequest = Request, TResponse = Response>(_req: TRequest, _res: TResponse, _labels: TLabelValues) => boolean;
19
19
  export type TPromsterOptions = TOptionalPromsterOptions & {
20
20
  skip?: TSkipFunction;
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promster/express",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Express server integrations of promster",
5
5
  "main": "dist/promster-express.cjs.js",
6
6
  "typings": "dist/promster-express.cjs.d.ts",