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

@vonage/auth

Package Overview
Dependencies
Maintainers
32
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/auth - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

dist/auth.js

@@ -6,2 +6,3 @@ "use strict";

const crypto_1 = require("crypto");
const fs_1 = require("fs");
const types_1 = require("./types");

@@ -84,2 +85,5 @@ class Auth {

if (opts === null || opts === void 0 ? void 0 : opts.privateKey) {
if ((0, fs_1.existsSync)(opts.privateKey)) {
opts.privateKey = (0, fs_1.readFileSync)(opts.privateKey).toString();
}
if (opts.privateKey instanceof Buffer) {

@@ -86,0 +90,0 @@ this.privateKey = opts.privateKey.toString();

2

package.json
{
"name": "@vonage/auth",
"version": "0.5.0",
"version": "0.6.0",
"description": "> TODO: description",

@@ -5,0 +5,0 @@ "author": "Kelly J Andrews <kelly@kellyjandrews.com>",

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