Skip to content

Commit

Permalink
7.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Dec 4, 2021
1 parent 6b724ed commit dd25529
Show file tree
Hide file tree
Showing 22 changed files with 294 additions and 315 deletions.
157 changes: 75 additions & 82 deletions dist/otpauth.cjs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/otpauth.cjs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/otpauth.cjs.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/otpauth.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ declare class HOTP {
* @param {number} [config.counter=this.counter++] Counter value.
* @returns {string} Token.
*/
generate({ counter, }?: {
generate({ counter }?: {
counter?: number | undefined;
} | undefined): string;
/**
Expand All @@ -186,7 +186,7 @@ declare class HOTP {
* @param {number} [config.window=1] Window of counter values to test.
* @returns {number|null} Token delta, or null if the token is not found.
*/
validate({ token, counter, window, }: {
validate({ token, counter, window }: {
token: string;
counter?: number | undefined;
window?: number | undefined;
Expand Down Expand Up @@ -314,7 +314,7 @@ declare class TOTP {
* @param {number} [config.timestamp=Date.now] Timestamp value in milliseconds.
* @returns {string} Token.
*/
generate({ timestamp, }?: {
generate({ timestamp }?: {
timestamp?: number | undefined;
} | undefined): string;
/**
Expand All @@ -325,7 +325,7 @@ declare class TOTP {
* @param {number} [config.window=1] Window of counter values to test.
* @returns {number|null} Token delta, or null if the token is not found.
*/
validate({ token, timestamp, window, }: {
validate({ token, timestamp, window }: {
token: string;
timestamp?: number | undefined;
window?: number | undefined;
Expand Down
Loading

0 comments on commit dd25529

Please sign in to comment.