@unumid/server-sdk
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -77,3 +77,3 @@ "use strict"; | ||
} | ||
if (verifiableCredential || helpers_1.isArrayNotEmpty(verifiableCredential)) { | ||
if (verifiableCredential && helpers_1.isArrayNotEmpty(verifiableCredential)) { | ||
throw new error_1.CustError(400, 'Invalid Declined Presentation: verifiableCredential must be undefined or empty.'); // this should never happen base on upstream logic | ||
@@ -80,0 +80,0 @@ } |
{ | ||
"name": "@unumid/server-sdk", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:UnumID/Server-SDK-TypeScript.git", |
@@ -53,3 +53,3 @@ | ||
if (verifiableCredential || isArrayNotEmpty(verifiableCredential)) { | ||
if (verifiableCredential && isArrayNotEmpty(verifiableCredential)) { | ||
throw new CustError(400, 'Invalid Declined Presentation: verifiableCredential must be undefined or empty.'); // this should never happen base on upstream logic | ||
@@ -56,0 +56,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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