@intelligo.ai/object-to-schema
Advanced tools
Comparing version 2.2.10 to 2.2.11
@@ -22,4 +22,4 @@ "use strict"; | ||
function titleCaseTransformer(str) { | ||
if (str === undefined || str === null) { | ||
throw new Error("The value is not a string it is ".concat(str)); | ||
if (!str) { | ||
return str; | ||
} | ||
@@ -189,4 +189,4 @@ return str.trim() | ||
function companyNameTransformer(str) { | ||
if (str === undefined || str === null) { | ||
throw new Error("The value is not a string it is ".concat(str)); | ||
if (!str) { | ||
return str; | ||
} | ||
@@ -193,0 +193,0 @@ var businessStructureAbbreviations = [ |
{ | ||
"name": "@intelligo.ai/object-to-schema", | ||
"version": "2.2.10", | ||
"version": "2.2.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
98993