fix: export not default class

This commit is contained in:
lancegin
2017-06-29 14:39:24 +08:00
parent 5a82eb6db6
commit 5544c86620
4 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
import OTP from './otp';
export default class HOTP extends OTP {
export class HOTP extends OTP {
/*
* Generate the OTP with the given count
*
@@ -22,7 +22,7 @@ export default class HOTP extends OTP {
* ```
*/
at(count) {
console.log("HOTP.at");
return "HOTP.at";
}
/*
@@ -47,6 +47,6 @@ export default class HOTP extends OTP {
* ```
*/
verify(otp, counter) {
console.log("HOTP.verify");
return "HOTP.verify";
}
}