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

@authress/sdk

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authress/sdk - npm Package Compare versions

Comparing version

to
2.2.112

2

package.json
{
"name": "@authress/sdk",
"version": "2.2.111",
"version": "2.2.112",
"description": "Client SDK for Authress authorization as a service. Provides managed authorization api to secure service resources including user data.",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -49,3 +49,3 @@ const { SignJWT } = require('jose');

} catch (error) {
if (error.code === 'ERR_OSSL_ASN1_NOT_ENOUGH_DATA' || error.code === 'ERR_OSSL_ASN1_HEADER_TOO_LONG') {
if (error.code === 'ERR_OSSL_ASN1_NOT_ENOUGH_DATA' || error.code === 'ERR_OSSL_ASN1_HEADER_TOO_LONG' || error.message === 'Failed to read private key') {
throw new InvalidAccessKeyError();

@@ -52,0 +52,0 @@ }