@eximchain/api-types
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -198,6 +198,6 @@ "use strict"; | ||
if (!itemHasKey) { | ||
newKeyErrs.push("- " + name + ": Missing value, please provide a '" + sampleType + "'"); | ||
newKeyErrs.push("- " + reqdKeyName + ": Missing value, please provide a '" + sampleType + "'"); | ||
} | ||
else if (itemType !== sampleType) { | ||
newKeyErrs.push("- " + name + ": Incorrect value, please provide a '" + sampleType + "' instead of a '" + itemType + "'"); | ||
newKeyErrs.push("- " + reqdKeyName + ": Incorrect value, please provide a '" + sampleType + "' instead of a '" + itemType + "'"); | ||
} | ||
@@ -211,2 +211,2 @@ } | ||
exports.typeValidationErrMsg = typeValidationErrMsg; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzcG9uc2VzLmpzIiwic291cmNlUm9vdCI6Ii4vc3BlYy8iLCJzb3VyY2VzIjpbInJlc3BvbnNlcy9yZXNwb25zZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUNBLDRDQUFtRDtBQTZCbkQ7Ozs7R0FJRztBQUNILFNBQWdCLGlCQUFpQixDQUFhLEdBQU87SUFDbkQsT0FBTyxxQkFBUSxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsQ0FBQyxJQUFJLElBQUksR0FBRyxDQUFDLEdBQUcsS0FBSyxJQUFJLENBQUE7QUFDdEQsQ0FBQztBQUZELDhDQUVDO0FBV0Q7Ozs7R0FJRztBQUNILFNBQWdCLGFBQWEsQ0FBQyxHQUFPO0lBQ25DLE9BQU8scUJBQVEsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLENBQUMsR0FBRyxJQUFJLEdBQUcsQ0FBQyxJQUFJLEtBQUssSUFBSSxDQUFBO0FBQ3RELENBQUM7QUFGRCxzQ0FFQztBQVVEOzs7O0dBSUc7QUFDSCxTQUFnQixlQUFlLENBQUMsR0FBTztJQUNyQyx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0FBQztJQUNELE9BQU8sZ0JBQWdCLENBQUMsS0FBSyxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztBQUM1QyxDQUFDO0FBL0JELG9EQStCQyJ9 |
{ | ||
"name": "@eximchain/api-types", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Shared types used across Eximchain APIs", | ||
@@ -19,7 +19,9 @@ "main": "build/index.js", | ||
}, | ||
"dependencies": { | ||
"ts-xor": "^1.0.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^12.12.8", | ||
"ts-xor": "^1.0.8", | ||
"typescript": "^3.7.2" | ||
} | ||
} |
@@ -276,7 +276,7 @@ import { XOR } from 'ts-xor'; | ||
newKeyErrs.push( | ||
`- ${name}: Missing value, please provide a '${sampleType}'` | ||
`- ${reqdKeyName}: Missing value, please provide a '${sampleType}'` | ||
) | ||
} else if (itemType !== sampleType) { | ||
newKeyErrs.push( | ||
`- ${name}: Incorrect value, please provide a '${sampleType}' instead of a '${itemType}'` | ||
`- ${reqdKeyName}: Incorrect value, please provide a '${sampleType}' instead of a '${itemType}'` | ||
) | ||
@@ -283,0 +283,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44595
2
1
+ Addedts-xor@^1.0.8
+ Addedts-xor@1.3.0(transitive)