File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ # Change Logs
2
+
3
+ ## v0.1.2
4
+
5
+ - Fixed the ` issuer ` field.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @litert/otp" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"description" : " The OTP support library of LiteRT." ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ import $OTP from "../lib";
21
21
const totp = $OTP . createTOTPKeyMaker ( {
22
22
digits : 8 ,
23
23
label : "Example4TOTP" + Math . random ( ) ,
24
- secret : "163uV4MOLEr6FGKF2CEFh"
24
+ secret : "163uV4MOLEr6FGKF2CEFh" ,
25
+ issuer : "LiteRT"
25
26
} ) ;
26
27
27
28
console . log ( totp . getCode ( ) ) ;
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default abstract class AbstractKeyMaker<T extends C.TType> implements C.I
103
103
104
104
if ( this . _opts . issuer ) {
105
105
106
- query . _opts . issuer = this . _opts . issuer ;
106
+ query . issuer = this . _opts . issuer ;
107
107
}
108
108
109
109
if ( this . _opts . counter ) {
You can’t perform that action at this time.
0 commit comments