mirror of
https://github.com/LanceGin/jsotp.git
synced 2026-05-05 00:00:03 +08:00
fix: {} is needed while export
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
import OTP from './otp';
|
||||
import { OTP } from './otp';
|
||||
|
||||
export class HOTP extends OTP {
|
||||
/**
|
||||
|
||||
+5
-5
@@ -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,
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
import OTP from './otp';
|
||||
import { OTP } from './otp';
|
||||
|
||||
export class TOTP extends OTP {
|
||||
/**
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@
|
||||
* @author : Gin (gin.lance.inside@hotmail.com)
|
||||
*/
|
||||
|
||||
export default class Util {
|
||||
export class Util {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user