@evervault/sdk
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -141,3 +141,3 @@ const crypto = require('crypto'); | ||
let attestationCache = new AttestationDoc( | ||
this.config.http, | ||
this.config, | ||
this.http, | ||
@@ -144,0 +144,0 @@ Object.keys(attestationData), |
@@ -199,7 +199,7 @@ const certHelper = require('./certHelper'); | ||
const containsOnlyObjects = Object.values(providedAttestationData).every( | ||
isObject | ||
(pcrs) => isObject(pcrs) || (Array.isArray(pcrs) && pcrs.every(isObject)) | ||
); | ||
if (!containsOnlyObjects) { | ||
throw new MalformedAttestationData( | ||
'Expected only objects as values in the attestation data map' | ||
'Expected only objects or lists of objects as values in the attestation data map' | ||
); | ||
@@ -206,0 +206,0 @@ } |
{ | ||
"name": "@evervault/sdk", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Node.js SDK for Evervault", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
76654