Skip to content

Releases: yeojz/otplib

v10.0.0-1

11 Jun 16:54
Compare
Choose a tag to compare
v10.0.0-1 Pre-release
Pre-release

Bug Fixes

  • typescript install and optional dep (8ecf157)

v10.0.0-0

11 Jun 14:49
Compare
Choose a tag to compare
v10.0.0-0 Pre-release
Pre-release

Bug Fixes

  • update typings for ts next (24416cd)

Features

  • initial typescript definitions (96a3f20)

v9.0.0

22 Apr 04:51
Compare
Choose a tag to compare

(BEHVAIOUR CHANGE): options.window now checks past AND future windows if an integer is set. To only check past OR future windows only, you define an integer array in the style of [past, future]

  • 9.0.0 (6293aac)
  • Add renovate.json (3c1235a)
  • fix: website build versioning (2d73d00)
  • chore: update renovate configuration (b3f7127)
  • chore(renovate): update configuration (6e38c4b)

v9.0.0-0

22 Apr 02:42
Compare
Choose a tag to compare
v9.0.0-0 Pre-release
Pre-release
  • 9.0.0-0 (7637f5a)
  • chore: fix typos in descriptions (51f5817)
  • chore: update docs for window (3c771b0)
  • chore: update site to show window (8af85d9)
  • feat: added delta return checking method (28a24b7)
  • feat: allow forward and backward time windows (e4c12e5)
  • fix(website): QRCode not generating (18c0eb7)

v8.0.1

27 Mar 14:41
Compare
Choose a tag to compare

v8.0.0

27 Mar 14:36
Compare
Choose a tag to compare

This release includes the backward time window support for TOTP/Authenticator, allowing the otp token to be checked against the past x-windows instead of just the current window to cater for time delays.

  • 8.0.0 (e60a195)
  • chore: move npmrc to scripts. prevent interference (63a6a3a)
  • chore: update readme links (5ef9ab2)
  • chore(tests): add RFC based tests on entry classes (152fcd5)
  • doc: added release candidate npm info (fd488ba)
  • doc: fix table format (fc7c6cd)

Other Notes

  • Addresses #22

v8.0.0-1

03 Mar 17:08
Compare
Choose a tag to compare
v8.0.0-1 Pre-release
Pre-release

Bug Fixes

  • npm auth during release (4f4d322)

v8.0.0-0

03 Mar 16:44
Compare
Choose a tag to compare
v8.0.0-0 Pre-release
Pre-release

Bug Fixes

  • epoch calculation for window + return window (0a6e501)

Features

  • check with window as default in totp (90d7189)
  • standardize option passing + class update (0ef9ec6)

v7.1.0

27 Feb 16:13
Compare
Choose a tag to compare

code

  • added time window function (only available in core) - #22, #25

chore

  • Added a more detailed example on how to use classes - #19

website

  • Fix tab loading null contents - #21

Many thanks to all contributors!
@olsio @shakram02 @cyclopentan

v7.0.0

22 Oct 13:37
Compare
Choose a tag to compare

code

  • Use Date.now() instead of new Date().getTime()
  • In `totpSecret, use the encoding specified in the option
  • Changed token generation to binary manipulation as reflected in RFC sample
  • More fixes for issue #7

tests

  • Added tests which reflects any previous issues opened.