@riocrypto/common 1.0.1372 → 1.0.1373

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,7 @@
1
1
  export declare const validateBusinessName: (name: string) => {
2
2
  isValid: boolean;
3
3
  message: string;
4
- } | undefined;
4
+ } | {
5
+ isValid: boolean;
6
+ message?: undefined;
7
+ };
@@ -16,5 +16,6 @@ const validateBusinessName = (name) => {
16
16
  message: `Business name can only contain letters, numbers, spaces, and ,'- characters`,
17
17
  };
18
18
  }
19
+ return { isValid: true };
19
20
  };
20
21
  exports.validateBusinessName = validateBusinessName;
@@ -1,4 +1,7 @@
1
1
  export declare const validateIndividualName: (name: string, label: string) => {
2
2
  isValid: boolean;
3
3
  message: string;
4
- } | undefined;
4
+ } | {
5
+ isValid: boolean;
6
+ message?: undefined;
7
+ };
@@ -16,5 +16,6 @@ const validateIndividualName = (name, label) => {
16
16
  message: `${label} can only contain alphabets, spaces, hyphens, and apostrophes`,
17
17
  };
18
18
  }
19
+ return { isValid: true };
19
20
  };
20
21
  exports.validateIndividualName = validateIndividualName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1372",
3
+ "version": "1.0.1373",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",