New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mojaloop/security-bc-client-lib

Package Overview
Dependencies
Maintainers
5
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mojaloop/security-bc-client-lib - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

11

dist/token_helper.js

@@ -90,7 +90,12 @@ /*****

const signingKey = key.getPublicKey();
const decoded = jsonwebtoken_1.default.verify(accessToken, signingKey, verify_opts);
if (!decoded) {
try {
const decoded = jsonwebtoken_1.default.verify(accessToken, signingKey, verify_opts);
if (!decoded) {
return false;
}
return true;
}
catch (err) {
return false;
}
return true;
}

@@ -97,0 +102,0 @@ }

{
"name": "@mojaloop/security-bc-client-lib",
"version": "0.1.6",
"version": "0.1.7",
"description": "mojaloop security authentication and authorization client library",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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