2fa-util
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -19,3 +19,2 @@ const {authenticator} = require('otplib'); | ||
it('does not specify the issuer in the otpauth url if not provided', async () => { | ||
const asdf = await generateSecret('John Doe', 'Company'); | ||
const {otpauth} = await generateSecret('foobar'); | ||
@@ -22,0 +21,0 @@ expect(otpauth).toMatch(/otpauth:\/\/totp\/foobar:foobar\?secret=(.+)&period=30&digits=6&algorithm=SHA1/); |
{ | ||
"name": "2fa-util", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lightweight utility to generate a two-factor TOTP secret with QR code to be used by authenticators such as Google or Microsoft Authenticator.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9531
120