@unumid/server-sdk
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -155,3 +155,3 @@ "use strict"; | ||
exports.verifyPresentation = function (authorization, encryptedPresentation, verifierDid, encryptionPrivateKey, presentationRequest) { return __awaiter(void 0, void 0, void 0, function () { | ||
var presentation, presentationRequestWithoutVersion, requestVerificationResult, type, result_2, verificationResult_1, result_3, credentialRequests, verificationResult, result, error_2; | ||
var presentation, requestVerificationResult, type, result_2, verificationResult_1, result_3, credentialRequests, verificationResult, result, error_2; | ||
return __generator(this, function (_a) { | ||
@@ -185,4 +185,3 @@ switch (_a.label) { | ||
if (!(presentationRequest && presentationRequest.presentationRequest)) return [3 /*break*/, 2]; | ||
presentationRequestWithoutVersion = lodash_1.omit(presentationRequest.presentationRequest, 'version'); | ||
return [4 /*yield*/, verifyPresentationRequest(authorization, presentationRequestWithoutVersion)]; | ||
return [4 /*yield*/, verifyPresentationRequest(authorization, presentationRequest.presentationRequest)]; | ||
case 1: | ||
@@ -189,0 +188,0 @@ requestVerificationResult = _a.sent(); |
{ | ||
"name": "@unumid/server-sdk", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:UnumID/Server-SDK-TypeScript.git", |
@@ -152,4 +152,4 @@ | ||
// removing the version attribute that the saas adds | ||
const presentationRequestWithoutVersion: PresentationRequest = omit(presentationRequest.presentationRequest, 'version'); | ||
const requestVerificationResult = await verifyPresentationRequest(authorization, presentationRequestWithoutVersion); | ||
// const presentationRequestWithoutVersion: PresentationRequest = omit(presentationRequest.presentationRequest, 'version'); | ||
const requestVerificationResult = await verifyPresentationRequest(authorization, presentationRequest.presentationRequest); | ||
authorization = requestVerificationResult.authToken; | ||
@@ -156,0 +156,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
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
1103575
12659