@x-spacy/class-validator 1.0.9 → 1.1.0

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,4 +1,4 @@
1
- declare module '@x-spacy/validators' {
1
+ declare module '@x-spacy/class-validator' {
2
2
  export type IsDocumentOptions = {
3
3
  type: DocumentTypeEnum;
4
4
  };
package/@types/enums.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '@x-spacy/validators' {
1
+ declare module '@x-spacy/class-validator' {
2
2
  export enum DocumentTypeEnum {
3
3
  CPF = 'CPF',
4
4
  CNPJ = 'CNPJ'
@@ -1,4 +1,4 @@
1
- declare module '@x-spacy/validators' {
1
+ declare module '@x-spacy/class-validator' {
2
2
  export declare function IsCNPJ(document: string): boolean;
3
3
 
4
4
  export declare function IsCPF(document: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-spacy/class-validator",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "Validators extension for class-validator lib",
5
5
  "license": "MIT",
6
6
  "private": false,