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

@levminer/speakeasy

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@levminer/speakeasy - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

6

main.js

@@ -464,4 +464,4 @@ const base32 = require("base32.js")

SecretKey.ascii = key
SecretKey.hex = Buffer.alloc(key, "ascii").toString("hex")
SecretKey.base32 = base32.encode(Buffer.alloc(key)).toString().replace(/=/g, "")
SecretKey.hex = Buffer.from(key, "ascii").toString("hex")
SecretKey.base32 = base32.encode(Buffer.from(key)).toString().replace(/=/g, "")

@@ -602,3 +602,3 @@ // generate some qr codes if requested

// convert secret to base32
if (encoding !== "base32") secret = Buffer.alloc(secret, encoding)
if (encoding !== "base32") secret = Buffer.from(secret, encoding)
if (Buffer.isBuffer(secret)) secret = base32.encode(secret)

@@ -605,0 +605,0 @@

{
"name": "@levminer/speakeasy",
"description": "Two-factor authentication for Node.js. Generate One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.",
"version": "1.0.6",
"version": "1.0.7",
"homepage": "http://github.com/Levminer/speakeasy",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/Levminer/speakeasy/issues",

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