@pristine-ts/validation 2.0.5 → 2.0.6

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,6 @@
1
1
  import { MethodRouterNode, RequestInterceptorInterface } from "@pristine-ts/networking";
2
2
  import { Validator } from "@pristine-ts/class-validator";
3
- import { Request } from "@pristine-ts/common";
3
+ import { Request, TracingManagerInterface } from "@pristine-ts/common";
4
4
  import { LogHandlerInterface } from "@pristine-ts/logging";
5
5
  import { DataMapper } from "@pristine-ts/data-mapping-common";
6
6
  /**
@@ -10,6 +10,7 @@ import { DataMapper } from "@pristine-ts/data-mapping-common";
10
10
  */
11
11
  export declare class BodyValidationRequestInterceptor implements RequestInterceptorInterface {
12
12
  private readonly loghandler;
13
+ private readonly tracingManager;
13
14
  private readonly validator;
14
15
  private readonly dataMapper;
15
16
  priority: number;
@@ -21,7 +22,7 @@ export declare class BodyValidationRequestInterceptor implements RequestIntercep
21
22
  * @param validator The validator that validates objects.
22
23
  * @param dataMapper
23
24
  */
24
- constructor(loghandler: LogHandlerInterface, validator: Validator, dataMapper: DataMapper);
25
+ constructor(loghandler: LogHandlerInterface, tracingManager: TracingManagerInterface, validator: Validator, dataMapper: DataMapper);
25
26
  /**
26
27
  * Intercepts the request and validates that the body of the request matches the expected class.
27
28
  * 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.5",
3
+ "version": "2.0.6",
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.5",
17
- "@pristine-ts/core": "^2.0.5",
18
- "@pristine-ts/data-mapping": "^2.0.5",
19
- "@pristine-ts/networking": "^2.0.5"
16
+ "@pristine-ts/common": "^2.0.6",
17
+ "@pristine-ts/core": "^2.0.6",
18
+ "@pristine-ts/data-mapping": "^2.0.6",
19
+ "@pristine-ts/networking": "^2.0.6"
20
20
  },
21
21
  "files": [
22
22
  "dist"
@@ -60,7 +60,7 @@
60
60
  "src/*.{js,ts}"
61
61
  ]
62
62
  },
63
- "gitHead": "9a960b330ee1961bb9a6151ce50257c4d8ccd48d",
63
+ "gitHead": "539029d624372f9bb1e22e09da7152eabb95c105",
64
64
  "repository": {
65
65
  "type": "git",
66
66
  "url": "https://github.com/magieno/pristine-ts.git",