fix: {} is needed while export

This commit is contained in:
lancegin 2017-06-29 15:06:56 +08:00
parent 472c4b180e
commit bfdf7b1962
4 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
* @author : Gin (gin.lance.inside@hotmail.com)
*/
import OTP from './otp';
import { OTP } from './otp';
export class HOTP extends OTP {
/*

View File

@ -5,11 +5,11 @@
* @Disc : a node module to generate and verify one-time passwords
*/
import OTP from './otp';
import TOTP from './totp';
import HOTP from './hotp';
import Base32 from './base32';
import Util from './util';
import { OTP } from './otp';
import { TOTP } from './totp';
import { HOTP } from './hotp';
import { Base32 } from './base32';
import { Util } from './util';
export {
OTP,

View File

@ -3,7 +3,7 @@
* @author : Gin (gin.lance.inside@hotmail.com)
*/
import OTP from './otp';
import { OTP } from './otp';
export class TOTP extends OTP {
/*

View File

@ -3,6 +3,6 @@
* @author : Gin (gin.lance.inside@hotmail.com)
*/
export default class Util {
export class Util {
}