Skip to content

v4.0.0

Compare
Choose a tag to compare
@yeojz yeojz released this 15 Apr 06:28
· 615 commits to master since this release

code

  • abstracted out functions
  • maintain both class based and functional based contracts
  • introduced SHA-256 and SHA-512 support for TOTP
  • import path for dependents changed. instead of otplib/lib/classes/..., it's otplib/classes/...
  • ES6 and babel transpiled. Therefore require('otplib).default` is needed at the moment.

tests

  • checked against RFC 4226 sample vectors
  • checked against RFC 6238 sample vectors
  • added coverage reporting
  • brought up coverage to > 90%

devops

  • switched to yarn
  • normalised deployment process my other packages
  • moved over to Circle CI
  • added coveralls support

chore

  • updated package dependencies
  • updated site and demo
  • updated docs
  • deprecated bower as it has almost reached EOL