Otplib Versions Save

:key: One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator

v12.0.0

4 years ago

This is a rewrite of the entire library using TypeScript. Please visit https://github.com/yeojz/otplib/wiki/Upgrading-to-v12 for major changes.

Major Changes

  • Split library into core, plugin and preset
  • Better extensibility and maintainability via plugins
  • Multi packages
  • New website with versioning via hosting service.
  • async support
  • Smaller output size for the browser bundle
  • Added tests for built packages.
  • Added browser testing as part of release

v12.0.0-3

4 years ago

v12.0.0-1

4 years ago

Bug Fixes

  • local-repl entry point (51948bc)
  • package should be a tar.gz for npm to use (4a0c546)

Features

  • cache buffer + improve site build script (d7d72a9)

v12.0.0-0

4 years ago

Features

  • added async ability (a78d757)
  • logic fixes and generalise ts defs (0c9174f)
  • rethink of packages (a8a65ee)
  • rewrite files to typescript (d3bc82c)
  • setup builds and docs (b088efe)

v11.1.0-0

4 years ago

v11.0.1

4 years ago

v10.2.3

4 years ago

v10.2.3-1

4 years ago

Bug Fixes

  • backport default exports (dc2e1f3)

v11.0.0

5 years ago

Features

  • encodeURIComponent added to keyuri (51bea38), closes #126

NOTE: Due to the changes in encodeURIComponent, do ensure that your QR codes are not double encoding.

Others

  • CI now try-catches coverage upload and detects if tests are running in a fork to prevent upload failure.

v10.2.2

5 years ago

Bug Fixes

  • resetOptions does not keep the defaults. #136
  • Add iOS 9 support. Browser on device does not support const #115

Others

  • some ts fixes
  • jest is configured to runInBand