File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ module.exports = function (config) {
134
134
135
135
// The current website is either KW or running inside Electron, we read directly the locaStorage
136
136
if ( isKW || isElectron ) {
137
- p = onToken ( token || localStorage . getItem ( 'KW_TOKEN' ) ) ;
137
+ return onToken ( token || localStorage . getItem ( 'KW_TOKEN' ) ) ;
138
138
}
139
139
// Otherwise, contact KW to get the toekn throught the iframe
140
140
xdAuth . getCrossToken ( function ( err , tk ) {
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ module.exports = function (config) {
72
72
73
73
// The current website is either KW or running inside Electron, we read directly the locaStorage
74
74
if ( isKW || isElectron ) {
75
- p = onToken ( token || localStorage . getItem ( 'KW_TOKEN' ) ) ;
75
+ return onToken ( token || localStorage . getItem ( 'KW_TOKEN' ) ) ;
76
76
}
77
77
// Otherwise, contact KW to get the toekn throught the iframe
78
78
xdAuth . getCrossToken ( function ( err , tk ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " kano-world-sdk" ,
3
- "version" : " 3.0.15 " ,
3
+ "version" : " 3.0.16 " ,
4
4
"description" : " Kano World SDK" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments