@pristine-ts/validation 0.0.210 → 0.0.211

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.
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.BodyValidationRequestInterceptor = void 0;
25
- const class_validator_1 = require("class-validator");
25
+ const class_validator_1 = require("@pristine-ts/class-validator");
26
26
  const networking_1 = require("@pristine-ts/networking");
27
27
  const common_1 = require("@pristine-ts/common");
28
28
  const validation_module_keyname_1 = require("../validation.module.keyname");
@@ -40,8 +40,9 @@ let BodyValidationRequestInterceptor = class BodyValidationRequestInterceptor {
40
40
  * It is module scoped to the Validation module so that it is only registered if the validation module is imported.
41
41
  * @param loghandler The log handler to output logs.
42
42
  */
43
- constructor(loghandler) {
43
+ constructor(loghandler, validator) {
44
44
  this.loghandler = loghandler;
45
+ this.validator = validator;
45
46
  }
46
47
  /**
47
48
  * Intercepts the request and validates that the body of the request matches the expected class.
@@ -62,7 +63,7 @@ let BodyValidationRequestInterceptor = class BodyValidationRequestInterceptor {
62
63
  // Validates that the body can be mapped to the expected type
63
64
  const mappedBody = (0, class_transformer_1.plainToClass)(methodNode.route.context.bodyValidator.classType, request.body);
64
65
  // Validates if all the conditions are respected in the expected type.
65
- const errors = yield (0, class_validator_1.validate)(mappedBody);
66
+ const errors = yield this.validator.validate(mappedBody);
66
67
  if (errors.length == 0) {
67
68
  return request;
68
69
  }
@@ -76,7 +77,7 @@ BodyValidationRequestInterceptor = __decorate([
76
77
  (0, common_1.tag)(common_1.ServiceDefinitionTagEnum.RequestInterceptor),
77
78
  (0, tsyringe_1.injectable)(),
78
79
  __param(0, (0, tsyringe_1.inject)("LogHandlerInterface")),
79
- __metadata("design:paramtypes", [Object])
80
+ __metadata("design:paramtypes", [Object, class_validator_1.Validator])
80
81
  ], BodyValidationRequestInterceptor);
81
82
  exports.BodyValidationRequestInterceptor = BodyValidationRequestInterceptor;
82
83
  //# sourceMappingURL=body-validation.request-interceptor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"body-validation.request-interceptor.js","sourceRoot":"","sources":["../../../../src/interceptors/body-validation.request-interceptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,qDAAyC;AACzC,wDAA4D;AAC5D,gDAAyF;AACzF,4EAAqE;AACrE,uCAA4C;AAC5C,yDAAiD;AAGjD;;;;GAIG;AAIH,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;IAEzC;;;;;OAKG;IACH,YAA4D,UAA+B;QAA/B,eAAU,GAAV,UAAU,CAAqB;IAC3F,CAAC;IAED;;;;;OAKG;IACG,gBAAgB,CAAC,OAAgB,EAAE,UAA4B;;YACjE,IAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,KAAK,SAAS,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,KAAK,SAAS,EAAE;gBACvH,OAAO,OAAO,CAAC;aAClB;YAED,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,+BAA+B,EAAE;gBACnD,OAAO;gBACP,UAAU;gBACV,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,OAAO;aACzC,EAAE,mDAAuB,CAAC,CAAA;YAE3B,6DAA6D;YAC7D,MAAM,UAAU,GAAG,IAAA,gCAAY,EAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAEhG,sEAAsE;YACtE,MAAM,MAAM,GAAG,MAAM,IAAA,0BAAQ,EAAC,UAAU,CAAC,CAAC;YAE1C,IAAG,MAAM,CAAC,MAAM,IAAI,CAAC,EAAE;gBACnB,OAAO,OAAO,CAAC;aAClB;YAED,6EAA6E;YAC7E,MAAM,IAAI,gCAAmB,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9D,CAAC;KAAA;CACJ,CAAA;AAzCY,gCAAgC;IAH5C,IAAA,qBAAY,EAAC,mDAAuB,CAAC;IACrC,IAAA,YAAG,EAAC,iCAAwB,CAAC,kBAAkB,CAAC;IAChD,IAAA,qBAAU,GAAE;IASI,WAAA,IAAA,iBAAM,EAAC,qBAAqB,CAAC,CAAA;;GARjC,gCAAgC,CAyC5C;AAzCY,4EAAgC"}
1
+ {"version":3,"file":"body-validation.request-interceptor.js","sourceRoot":"","sources":["../../../../src/interceptors/body-validation.request-interceptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,kEAAuD;AACvD,wDAA4D;AAC5D,gDAAyF;AACzF,4EAAqE;AACrE,uCAA4C;AAC5C,yDAAiD;AAGjD;;;;GAIG;AAIH,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;IAEzC;;;;;OAKG;IACH,YAA4D,UAA+B,EAAmB,SAAoB;QAAtE,eAAU,GAAV,UAAU,CAAqB;QAAmB,cAAS,GAAT,SAAS,CAAW;IAClI,CAAC;IAED;;;;;OAKG;IACG,gBAAgB,CAAC,OAAgB,EAAE,UAA4B;;YACjE,IAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,KAAK,SAAS,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,KAAK,SAAS,EAAE;gBACvH,OAAO,OAAO,CAAC;aAClB;YAED,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,+BAA+B,EAAE;gBACnD,OAAO;gBACP,UAAU;gBACV,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,OAAO;aACzC,EAAE,mDAAuB,CAAC,CAAA;YAE3B,6DAA6D;YAC7D,MAAM,UAAU,GAAG,IAAA,gCAAY,EAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAEhG,sEAAsE;YACtE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;YAEzD,IAAG,MAAM,CAAC,MAAM,IAAI,CAAC,EAAE;gBACnB,OAAO,OAAO,CAAC;aAClB;YAED,6EAA6E;YAC7E,MAAM,IAAI,gCAAmB,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9D,CAAC;KAAA;CACJ,CAAA;AAzCY,gCAAgC;IAH5C,IAAA,qBAAY,EAAC,mDAAuB,CAAC;IACrC,IAAA,YAAG,EAAC,iCAAwB,CAAC,kBAAkB,CAAC;IAChD,IAAA,qBAAU,GAAE;IASI,WAAA,IAAA,iBAAM,EAAC,qBAAqB,CAAC,CAAA;6CAA+E,2BAAS;GARzH,gCAAgC,CAyC5C;AAzCY,4EAAgC"}
@@ -18,6 +18,7 @@ exports.ValidationModule = void 0;
18
18
  const validation_module_keyname_1 = require("./validation.module.keyname");
19
19
  const networking_1 = require("@pristine-ts/networking");
20
20
  const core_1 = require("@pristine-ts/core");
21
+ const class_validator_1 = require("@pristine-ts/class-validator");
21
22
  __exportStar(require("./decorators/decorators"), exports);
22
23
  __exportStar(require("./interceptors/interceptors"), exports);
23
24
  __exportStar(require("./validation.module.keyname"), exports);
@@ -27,6 +28,11 @@ exports.ValidationModule = {
27
28
  core_1.CoreModule,
28
29
  networking_1.NetworkingModule,
29
30
  ],
30
- providerRegistrations: []
31
+ providerRegistrations: [
32
+ {
33
+ token: class_validator_1.Validator,
34
+ useValue: new class_validator_1.Validator(),
35
+ }
36
+ ]
31
37
  };
32
38
  //# sourceMappingURL=validation.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.module.js","sourceRoot":"","sources":["../../../src/validation.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,2EAAoE;AACpE,wDAAyD;AACzD,4CAA6C;AAE7C,0DAAwC;AACxC,8DAA4C;AAE5C,8DAA4C;AAE/B,QAAA,gBAAgB,GAAoB;IAC7C,OAAO,EAAE,mDAAuB;IAChC,aAAa,EAAE;QACX,iBAAU;QACV,6BAAgB;KACnB;IACD,qBAAqB,EAAE,EACtB;CACJ,CAAA"}
1
+ {"version":3,"file":"validation.module.js","sourceRoot":"","sources":["../../../src/validation.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,2EAAoE;AACpE,wDAAyD;AACzD,4CAA6C;AAC7C,kEAAuD;AAEvD,0DAAwC;AACxC,8DAA4C;AAE5C,8DAA4C;AAE/B,QAAA,gBAAgB,GAAoB;IAC7C,OAAO,EAAE,mDAAuB;IAChC,aAAa,EAAE;QACX,iBAAU;QACV,6BAAgB;KACnB;IACD,qBAAqB,EAAE;QACnB;YACI,KAAK,EAAE,2BAAS;YAChB,QAAQ,EAAE,IAAI,2BAAS,EAAE;SAC5B;KACJ;CACJ,CAAA"}
@@ -19,7 +19,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
19
  step((generator = generator.apply(thisArg, _arguments || [])).next());
20
20
  });
21
21
  };
22
- import { validate } from "class-validator";
22
+ import { Validator } from "@pristine-ts/class-validator";
23
23
  import { BadRequestHttpError } from "@pristine-ts/networking";
24
24
  import { moduleScoped, ServiceDefinitionTagEnum, tag } from "@pristine-ts/common";
25
25
  import { ValidationModuleKeyname } from "../validation.module.keyname";
@@ -37,8 +37,9 @@ let BodyValidationRequestInterceptor = class BodyValidationRequestInterceptor {
37
37
  * It is module scoped to the Validation module so that it is only registered if the validation module is imported.
38
38
  * @param loghandler The log handler to output logs.
39
39
  */
40
- constructor(loghandler) {
40
+ constructor(loghandler, validator) {
41
41
  this.loghandler = loghandler;
42
+ this.validator = validator;
42
43
  }
43
44
  /**
44
45
  * Intercepts the request and validates that the body of the request matches the expected class.
@@ -59,7 +60,7 @@ let BodyValidationRequestInterceptor = class BodyValidationRequestInterceptor {
59
60
  // Validates that the body can be mapped to the expected type
60
61
  const mappedBody = plainToClass(methodNode.route.context.bodyValidator.classType, request.body);
61
62
  // Validates if all the conditions are respected in the expected type.
62
- const errors = yield validate(mappedBody);
63
+ const errors = yield this.validator.validate(mappedBody);
63
64
  if (errors.length == 0) {
64
65
  return request;
65
66
  }
@@ -73,7 +74,7 @@ BodyValidationRequestInterceptor = __decorate([
73
74
  tag(ServiceDefinitionTagEnum.RequestInterceptor),
74
75
  injectable(),
75
76
  __param(0, inject("LogHandlerInterface")),
76
- __metadata("design:paramtypes", [Object])
77
+ __metadata("design:paramtypes", [Object, Validator])
77
78
  ], BodyValidationRequestInterceptor);
78
79
  export { BodyValidationRequestInterceptor };
79
80
  //# sourceMappingURL=body-validation.request-interceptor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"body-validation.request-interceptor.js","sourceRoot":"","sources":["../../../../src/interceptors/body-validation.request-interceptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAE,wBAAwB,EAAE,GAAG,EAAU,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD;;;;GAIG;AAIH,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;IAEzC;;;;;OAKG;IACH,YAA4D,UAA+B;QAA/B,eAAU,GAAV,UAAU,CAAqB;IAC3F,CAAC;IAED;;;;;OAKG;IACG,gBAAgB,CAAC,OAAgB,EAAE,UAA4B;;YACjE,IAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,KAAK,SAAS,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,KAAK,SAAS,EAAE;gBACvH,OAAO,OAAO,CAAC;aAClB;YAED,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,+BAA+B,EAAE;gBACnD,OAAO;gBACP,UAAU;gBACV,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,OAAO;aACzC,EAAE,uBAAuB,CAAC,CAAA;YAE3B,6DAA6D;YAC7D,MAAM,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAEhG,sEAAsE;YACtE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,UAAU,CAAC,CAAC;YAE1C,IAAG,MAAM,CAAC,MAAM,IAAI,CAAC,EAAE;gBACnB,OAAO,OAAO,CAAC;aAClB;YAED,6EAA6E;YAC7E,MAAM,IAAI,mBAAmB,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9D,CAAC;KAAA;CACJ,CAAA;AAzCY,gCAAgC;IAH5C,YAAY,CAAC,uBAAuB,CAAC;IACrC,GAAG,CAAC,wBAAwB,CAAC,kBAAkB,CAAC;IAChD,UAAU,EAAE;IASI,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;;GARjC,gCAAgC,CAyC5C;SAzCY,gCAAgC"}
1
+ {"version":3,"file":"body-validation.request-interceptor.js","sourceRoot":"","sources":["../../../../src/interceptors/body-validation.request-interceptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAE,wBAAwB,EAAE,GAAG,EAAU,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAC,UAAU,EAAE,MAAM,EAAC,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD;;;;GAIG;AAIH,IAAa,gCAAgC,GAA7C,MAAa,gCAAgC;IAEzC;;;;;OAKG;IACH,YAA4D,UAA+B,EAAmB,SAAoB;QAAtE,eAAU,GAAV,UAAU,CAAqB;QAAmB,cAAS,GAAT,SAAS,CAAW;IAClI,CAAC;IAED;;;;;OAKG;IACG,gBAAgB,CAAC,OAAgB,EAAE,UAA4B;;YACjE,IAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,KAAK,SAAS,IAAI,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,KAAK,SAAS,EAAE;gBACvH,OAAO,OAAO,CAAC;aAClB;YAED,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,+BAA+B,EAAE;gBACnD,OAAO;gBACP,UAAU;gBACV,YAAY,EAAE,UAAU,CAAC,KAAK,CAAC,OAAO;aACzC,EAAE,uBAAuB,CAAC,CAAA;YAE3B,6DAA6D;YAC7D,MAAM,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAEhG,sEAAsE;YACtE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;YAEzD,IAAG,MAAM,CAAC,MAAM,IAAI,CAAC,EAAE;gBACnB,OAAO,OAAO,CAAC;aAClB;YAED,6EAA6E;YAC7E,MAAM,IAAI,mBAAmB,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9D,CAAC;KAAA;CACJ,CAAA;AAzCY,gCAAgC;IAH5C,YAAY,CAAC,uBAAuB,CAAC;IACrC,GAAG,CAAC,wBAAwB,CAAC,kBAAkB,CAAC;IAChD,UAAU,EAAE;IASI,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;6CAA+E,SAAS;GARzH,gCAAgC,CAyC5C;SAzCY,gCAAgC"}
@@ -1,6 +1,7 @@
1
1
  import { ValidationModuleKeyname } from "./validation.module.keyname";
2
2
  import { NetworkingModule } from "@pristine-ts/networking";
3
3
  import { CoreModule } from "@pristine-ts/core";
4
+ import { Validator } from "@pristine-ts/class-validator";
4
5
  export * from "./decorators/decorators";
5
6
  export * from "./interceptors/interceptors";
6
7
  export * from "./validation.module.keyname";
@@ -10,6 +11,11 @@ export const ValidationModule = {
10
11
  CoreModule,
11
12
  NetworkingModule,
12
13
  ],
13
- providerRegistrations: []
14
+ providerRegistrations: [
15
+ {
16
+ token: Validator,
17
+ useValue: new Validator(),
18
+ }
19
+ ]
14
20
  };
15
21
  //# sourceMappingURL=validation.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation.module.js","sourceRoot":"","sources":["../../../src/validation.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAE7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC7C,OAAO,EAAE,uBAAuB;IAChC,aAAa,EAAE;QACX,UAAU;QACV,gBAAgB;KACnB;IACD,qBAAqB,EAAE,EACtB;CACJ,CAAA"}
1
+ {"version":3,"file":"validation.module.js","sourceRoot":"","sources":["../../../src/validation.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,uBAAuB,EAAC,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,6BAA6B,CAAC;AAE5C,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC7C,OAAO,EAAE,uBAAuB;IAChC,aAAa,EAAE;QACX,UAAU;QACV,gBAAgB;KACnB;IACD,qBAAqB,EAAE;QACnB;YACI,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,IAAI,SAAS,EAAE;SAC5B;KACJ;CACJ,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { RequestInterceptorInterface, MethodRouterNode } from "@pristine-ts/networking";
2
+ import { Validator } from "@pristine-ts/class-validator";
2
3
  import { Request } from "@pristine-ts/common";
3
4
  import { LogHandlerInterface } from "@pristine-ts/logging";
4
5
  /**
@@ -8,13 +9,14 @@ import { LogHandlerInterface } from "@pristine-ts/logging";
8
9
  */
9
10
  export declare class BodyValidationRequestInterceptor implements RequestInterceptorInterface {
10
11
  private readonly loghandler;
12
+ private readonly validator;
11
13
  /**
12
14
  * This class is an interceptor to validate the body of an incoming request.
13
15
  * It is tagged as an RequestInterceptor so it can be automatically injected with the all the other RequestInterceptors.
14
16
  * It is module scoped to the Validation module so that it is only registered if the validation module is imported.
15
17
  * @param loghandler The log handler to output logs.
16
18
  */
17
- constructor(loghandler: LogHandlerInterface);
19
+ constructor(loghandler: LogHandlerInterface, validator: Validator);
18
20
  /**
19
21
  * Intercepts the request and validates that the body of the request matches the expected class.
20
22
  * 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": "0.0.210",
3
+ "version": "0.0.211",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/validation.module.js",
6
6
  "main": "dist/lib/cjs/validation.module.js",
@@ -12,11 +12,11 @@
12
12
  "test:cov": "jest --coverage"
13
13
  },
14
14
  "dependencies": {
15
- "@pristine-ts/common": "^0.0.210",
16
- "@pristine-ts/core": "^0.0.210",
17
- "@pristine-ts/networking": "^0.0.210",
18
- "class-transformer": "^0.4.0",
19
- "class-validator": "^0.13.1"
15
+ "@pristine-ts/class-validator": "^1.0.5",
16
+ "@pristine-ts/common": "^0.0.211",
17
+ "@pristine-ts/core": "^0.0.211",
18
+ "@pristine-ts/networking": "^0.0.211",
19
+ "class-transformer": "^0.4.0"
20
20
  },
21
21
  "files": [
22
22
  "dist"
@@ -60,5 +60,5 @@
60
60
  "src/*.{js,ts}"
61
61
  ]
62
62
  },
63
- "gitHead": "d45241388a15bd6b451079932c7e02e2cd792c44"
63
+ "gitHead": "94c1ac74db0831033a4ee162bf3223bec5e99b1d"
64
64
  }