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

@evervault/sdk

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evervault/sdk - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

3

lib/config.js

@@ -7,2 +7,3 @@ const { version } = require('../package.json');

const DEFAULT_CAGES_CA_HOSTNAME = 'https://cages-ca.evervault.com';
const DEFAULT_CAGES_BETA_HOSTNAME = 'cages.evervault.com';
const DEFAULT_CAGES_HOSTNAME = 'cage.evervault.com';

@@ -23,2 +24,4 @@ const DEFAULT_ENCLAVES_HOSTNAME = 'enclave.evervault.com';

process.env.EV_CAGE_CERT_HOSTNAME || DEFAULT_CAGES_CA_HOSTNAME,
cagesBetaHostname:
process.env.EV_CAGES_BETA_HOSTNAME || DEFAULT_CAGES_BETA_HOSTNAME,
cagesHostname: process.env.EV_CAGES_HOSTNAME || DEFAULT_CAGES_HOSTNAME,

@@ -25,0 +28,0 @@ enclavesHostname:

7

lib/utils/attest.js

@@ -145,3 +145,3 @@ const certHelper = require('./certHelper');

// only attempt attestation if the host is a cage
if (hostname.endsWith(config.cagesHostname)) {
if (hostname.endsWith(config.cagesBetaHostname)) {
// we expect undefined when attestation is successful, else an error

@@ -165,3 +165,6 @@ const attestationResult = attestCageConnectionBeta(

// only attempt attestation if the host is a cage
if (hostname.endsWith(config.cagesHostname)) {
if (
hostname.endsWith(config.cagesHostname) ||
hostname.endsWith(config.enclavesHostname)
) {
// we expect undefined when attestation is successful, else an error

@@ -168,0 +171,0 @@ const attestationResult = attestCageConnection(

{
"name": "@evervault/sdk",
"version": "5.1.3",
"version": "5.1.4",
"description": "Node.js SDK for Evervault",

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

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