ingeni-validation 1.1.20 → 1.2.1

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.
@@ -334,17 +334,6 @@ async function isValidDate(value, format) {
334
334
  }
335
335
 
336
336
 
337
- //Validate Gender
338
-
339
- async function isValidPrice(price){
340
- if (price === null || price === undefined) return false;
341
- if (typeof price === "boolean") return false;
342
- if (typeof price === "string" && price.trim().length === 0) return false;
343
- if (isNaN(price)) return false;
344
- if (Number(price) <= 0) return false;
345
- return true;
346
- }
347
-
348
337
 
349
338
  //Validate Gender
350
339
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeni-validation",
3
- "version": "1.1.20",
3
+ "version": "1.2.1",
4
4
  "description": "Ingeni Validation",
5
5
  "license": "ISC",
6
6
  "author": "",