@como/como-client
Advanced tools
Comparing version 0.7.94 to 0.7.95
{ | ||
"name": "@como/como-client", | ||
"version": "0.7.94", | ||
"version": "0.7.95", | ||
"description": "Client module for Como's loaylty API", | ||
@@ -5,0 +5,0 @@ "main": "src/como.js", |
@@ -118,6 +118,7 @@ const moment = require('moment-timezone'); | ||
refreshFailed = true; | ||
credExist = false; | ||
} | ||
} | ||
let interval = 0; | ||
if(refreshFailed || !credExist){ | ||
if(!credExist){ | ||
while(!credExist && interval < 3000){ | ||
@@ -138,3 +139,3 @@ try{ | ||
let signOnSuccessfully = false; | ||
while(!signOnSuccessfully && interval < 3000){ | ||
while (!signOnSuccessfully && interval < 3000) { | ||
try{ | ||
@@ -182,2 +183,5 @@ console.log(`signOn with installationId:${installationId}, locationId:${locationId}, source:${source},accessToken:${accessToken}`); | ||
this.comoData.reCaptchaSiteKey = credentials.config.recaptchaSiteKey; | ||
if (credentials.config.recaptcha) { | ||
this.comoData.recaptchaConfig = credentials.config.recaptcha; | ||
} | ||
} | ||
@@ -184,0 +188,0 @@ } |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
232182
4941
0