Socket
Socket
Sign inDemoInstall

@unumid/server-sdk

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unumid/server-sdk - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

5

build/verifier/verifyPresentation.js

@@ -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();

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc