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

@epic-web/totp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epic-web/totp - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

index.d.ts

@@ -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

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