Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.2 to 2.1.3

2

build/verifier/verifyNoPresentationHelper.js

@@ -130,3 +130,3 @@ "use strict";

receiptOptions = {
type: noPresentation.type,
type: ['NoPresentation'],
verifier: verifier,

@@ -133,0 +133,0 @@ subject: noPresentation.proof.verificationMethod,

@@ -174,2 +174,5 @@ "use strict";

presentation = library_crypto_1.decrypt(encryptionPrivateKey, encryptedPresentation);
if (process.env.NODE_ENV === 'debug') {
logger_1.default.debug("Decrypted Presentation: " + JSON.stringify(presentation));
}
// validate presentation

@@ -176,0 +179,0 @@ validatePresentation(presentation);

{
"name": "@unumid/server-sdk",
"version": "2.1.2",
"version": "2.1.3",
"main": "build/index.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:UnumID/Server-SDK-TypeScript.git",

@@ -21,2 +21,5 @@ **Note**: This branch was a modification that was necessary as part of version 2 of the sdk. It was made after version 3 had already been merged into main. Thus it will live as this special branch for perpetuity or until the use of the sdk version 2 is no more.

## Debugging
The `NODE_ENV` environment variable defaults to `sandbox`. However while debugging one can use the `debug` environment setting. This enables logging of decrypted presentations at the `debug` level. Due to presentations containing sensitive information it is not advised to use in a production environment.
## Documentation

@@ -23,0 +26,0 @@ High level technical documentation can be found [here](https://https://docs.unum.id/server-sdk) which is served via [Docusaurus](https://github.com/UnumID/UnumID.github.io). More detailed generated from source documentation can be found [here](https://docs.unum.id/Server-SDK-Typescript/index.html) which is served via repo specific Github pages via the /docs folder of the main branch.

@@ -113,3 +113,3 @@

const receiptOptions = {
type: noPresentation.type,
type: ['NoPresentation'],
verifier,

@@ -116,0 +116,0 @@ subject: noPresentation.proof.verificationMethod,

@@ -137,2 +137,6 @@

if (process.env.NODE_ENV === 'debug') {
logger.debug(`Decrypted Presentation: ${JSON.stringify(presentation)}`);
}
// validate presentation

@@ -139,0 +143,0 @@ validatePresentation(presentation);

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

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