v4.0.0
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'sotplib/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