@pristine-ts/validation 2.0.3 → 2.0.5

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,7 +1,7 @@
1
1
  import { MethodRouterNode, RequestInterceptorInterface } from "@pristine-ts/networking";
2
2
  import { Validator } from "@pristine-ts/class-validator";
3
3
  import { Request } from "@pristine-ts/common";
4
- import { BreadcrumbHandlerInterface, LogHandlerInterface } from "@pristine-ts/logging";
4
+ import { LogHandlerInterface } from "@pristine-ts/logging";
5
5
  import { DataMapper } from "@pristine-ts/data-mapping-common";
6
6
  /**
7
7
  * This class is an interceptor to validate the body of an incoming request.
@@ -12,7 +12,6 @@ export declare class BodyValidationRequestInterceptor implements RequestIntercep
12
12
  private readonly loghandler;
13
13
  private readonly validator;
14
14
  private readonly dataMapper;
15
- private readonly breadcrumbHandler;
16
15
  priority: number;
17
16
  /**
18
17
  * This class is an interceptor to validate the body of an incoming request.
@@ -21,9 +20,8 @@ export declare class BodyValidationRequestInterceptor implements RequestIntercep
21
20
  * @param loghandler The log handler to output logs.
22
21
  * @param validator The validator that validates objects.
23
22
  * @param dataMapper
24
- * @param breadcrumbHandler
25
23
  */
26
- constructor(loghandler: LogHandlerInterface, validator: Validator, dataMapper: DataMapper, breadcrumbHandler: BreadcrumbHandlerInterface);
24
+ constructor(loghandler: LogHandlerInterface, validator: Validator, dataMapper: DataMapper);
27
25
  /**
28
26
  * Intercepts the request and validates that the body of the request matches the expected class.
29
27
  * It also validates the content of properties using the class-validator library.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristine-ts/validation",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/validation.module.js",
6
6
  "main": "dist/lib/cjs/validation.module.js",
@@ -13,10 +13,10 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@pristine-ts/class-validator": "^2.0.4",
16
- "@pristine-ts/common": "^2.0.3",
17
- "@pristine-ts/core": "^2.0.3",
18
- "@pristine-ts/data-mapping": "^2.0.3",
19
- "@pristine-ts/networking": "^2.0.3"
16
+ "@pristine-ts/common": "^2.0.5",
17
+ "@pristine-ts/core": "^2.0.5",
18
+ "@pristine-ts/data-mapping": "^2.0.5",
19
+ "@pristine-ts/networking": "^2.0.5"
20
20
  },
21
21
  "files": [
22
22
  "dist"
@@ -60,7 +60,7 @@
60
60
  "src/*.{js,ts}"
61
61
  ]
62
62
  },
63
- "gitHead": "c741bb430ab8f6286068dc3870fcadf4cefd0023",
63
+ "gitHead": "9a960b330ee1961bb9a6151ce50257c4d8ccd48d",
64
64
  "repository": {
65
65
  "type": "git",
66
66
  "url": "https://github.com/magieno/pristine-ts.git",