mirror of
https://github.com/LanceGin/jsotp.git
synced 2024-10-06 06:22:08 +08:00
fix: {} is needed while export
This commit is contained in:
parent
472c4b180e
commit
bfdf7b1962
@ -3,7 +3,7 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
import OTP from './otp';
|
||||
import { OTP } from './otp';
|
||||
|
||||
export class HOTP extends OTP {
|
||||
/**
|
||||
|
10
src/jsotp.js
10
src/jsotp.js
@ -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,
|
||||
|
@ -3,7 +3,7 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
import OTP from './otp';
|
||||
import { OTP } from './otp';
|
||||
|
||||
export class TOTP extends OTP {
|
||||
/**
|
||||
|
@ -3,6 +3,6 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
export default class Util {
|
||||
export class Util {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user