Comparing version 0.1.0 to 0.1.1
@@ -30,2 +30,3 @@ 'use strict'; | ||
secret = encode(secret); | ||
return 'otpauth://totp/' + issuer + ':' + user + '?secret=' + secret + '&issuer=' + issuer; | ||
@@ -32,0 +33,0 @@ }; |
{ | ||
"name": "node-otp", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "lib/index.js", | ||
@@ -8,11 +8,4 @@ "repository": "git@github.com:alessiodionisi/node-otp.git", | ||
"license": "MIT", | ||
"keywords": [ | ||
"otp", | ||
"two-factor", | ||
"rfc4226", | ||
"rfc6238" | ||
], | ||
"files": [ | ||
"lib" | ||
], | ||
"keywords": ["otp", "two-factor", "rfc4226", "rfc6238"], | ||
"files": ["lib"], | ||
"scripts": { | ||
@@ -27,6 +20,3 @@ "test": "jest", | ||
"jest": { | ||
"testPathIgnorePatterns": [ | ||
"node_modules", | ||
"lib" | ||
] | ||
"testPathIgnorePatterns": ["node_modules", "lib"] | ||
}, | ||
@@ -33,0 +23,0 @@ "devDependencies": { |
@@ -1,1 +0,4 @@ | ||
# node-otp | ||
# node-otp | ||
[![NPMV](https://img.shields.io/npm/v/node-otp.svg?style=flat-square)](https://npmjs.org/package/node-otp) | ||
[![Travis](https://img.shields.io/travis/alessiodionisi/node-otp.svg?style=flat-square)](https://travis-ci.org/alessiodionisi/node-otp) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
8714
186
5
0