-
-
Notifications
You must be signed in to change notification settings - Fork 133
CHANGELOG
Gerald Yeo edited this page Apr 9, 2017
·
14 revisions
-
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 docs
- (refactored) functions to ES6 classes
- (changed) API naming standard
- (updated) documentation coverage
- (published) documentation site
- (updated) secret generation to use the
crypto
module - (note) Legacy support for v2.x.x via v2 adapter
- (changed) API
otplib.google.encode
otplib.google.decode
otplib.core.secret.generate
- (updated)
thirty-two
version - (added) browserified version
- (removed) Grunt (Preference for
npm run
) - (added) some test
- (fix) Bug in string to hex conversion resulting in failed Google Apps Code Generation
- (fix) Bug in decoding (uppercase) resulting in unsync tokens +
- (fix) errors highlighted by jshint
- (added) check function to core
- (updated) readme
- (note) Stable Release
- (note) bumped version to publish
- (updated) API movement
- (note) First Prototype