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
3
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.5.5 to 0.5.6

16

dist/authorization_client.js

@@ -73,6 +73,6 @@ /*****

if (resp.status === 401) {
throw new security_bc_public_types_lib_1.UnauthorizedError(`Could not bootstrap privileges to Authentication Service - UnauthorizedError - ${await resp.text()}`);
throw new security_bc_public_types_lib_1.UnauthorizedError(`Could not bootstrap privileges to Authorization Service - UnauthorizedError - ${await resp.text()}`);
}
else if (resp.status === 403) {
throw new security_bc_public_types_lib_1.ForbiddenError(`Could not bootstrap privileges to Authentication Service - Forbidden - ${await resp.text()}`);
throw new security_bc_public_types_lib_1.ForbiddenError(`Could not bootstrap privileges to Authorization Service - Forbidden - ${await resp.text()}`);
}

@@ -84,8 +84,8 @@ else if (resp.status === 200 || (ignoreDuplicateError === true && resp.status === 409)) {

else {
throw new Error("Could not bootstrap privileges to Authentication Service - http response code: " + resp.status);
throw new Error("Could not bootstrap privileges to Authorization Service - http response code: " + resp.status);
}
}
catch (err) {
this._logger.error(err, "Could not bootstrap privileges to Authentication Service");
throw new Error(err?.message || "Could not bootstrap privileges to Authentication Service");
this._logger.error(err, "Could not bootstrap privileges to Authorization Service");
throw new Error(err?.message || "Could not bootstrap privileges to Authorization Service");
}

@@ -113,8 +113,8 @@ }

else {
throw new Error("Invalid response from Authentication Service fetching role privileges association - http response code: " + resp.status);
throw new Error("Invalid response from Authorization Service fetching role privileges association - http response code: " + resp.status);
}
}
catch (err) {
this._logger.error(err, "Could not fetch role privileges association from Authentication Service");
throw new Error(err?.message || "Unknown error fetching role privileges association from Authentication Service");
this._logger.error(err, "Could not fetch role privileges association from Authorization Service");
throw new Error(err?.message || "Unknown error fetching role privileges association from Authorization Service");
}

@@ -121,0 +121,0 @@ }

{
"name": "@mojaloop/security-bc-client-lib",
"version": "0.5.5",
"version": "0.5.6",
"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