@epic-web/totp
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -64,4 +64,4 @@ /** | ||
* @param {string} [options.algorithm] The algorithm to use. | ||
* @param [options.window] The number of OTPs to check before and after the | ||
* current OTP. Defaults to 1. | ||
* @param {number} [options.window] The number of OTPs to check before and after | ||
* the current OTP. Defaults to 1. | ||
* | ||
@@ -78,3 +78,3 @@ * @returns {{delta: number}|null} an object with "delta" which is the delta | ||
algorithm?: string; | ||
window?: any; | ||
window?: number; | ||
}): { | ||
@@ -81,0 +81,0 @@ delta: number; |
@@ -174,4 +174,4 @@ /** | ||
* @param {string} [options.algorithm] The algorithm to use. | ||
* @param [options.window] The number of OTPs to check before and after the | ||
* current OTP. Defaults to 1. | ||
* @param {number} [options.window] The number of OTPs to check before and after | ||
* the current OTP. Defaults to 1. | ||
* | ||
@@ -178,0 +178,0 @@ * @returns {{delta: number}|null} an object with "delta" which is the delta |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Create and verify cryptographically secure Time-based One-time Passwords (TOTP) using the HMAC-based One-time Password (HOTP) algorithm.", | ||
@@ -17,0 +17,0 @@ "main": "index.js", |
@@ -196,4 +196,4 @@ <div> | ||
* @param {string} [options.algorithm] The algorithm to use. | ||
* @param [options.window] The number of OTPs to check before and after the | ||
* current OTP. Defaults to 1. | ||
* @param {number} [options.window] The number of OTPs to check before and after | ||
* the current OTP. Defaults to 1. | ||
* | ||
@@ -200,0 +200,0 @@ * @returns {{delta: number}|null} an object with "delta" which is the delta |
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
21143