New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@como/como-client

Package Overview
Dependencies
Maintainers
11
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@como/como-client - npm Package Compare versions

Comparing version 0.7.99 to 0.8.0

2

package.json
{
"name": "@como/como-client",
"version": "0.7.99",
"version": "0.8.0",
"description": "Client module for Como's loaylty API",

@@ -5,0 +5,0 @@ "main": "src/como.js",

@@ -112,2 +112,3 @@ const moment = require('moment-timezone');

const data = await this.comoData.initApi.refreshToken(installationId, refreshToken? refreshToken: 'none', locationId, source);
console.log(`signOn with isExpired true result:${JSON.stringify(data)}`);
updateCredentials(data, true);

@@ -126,2 +127,3 @@ }catch(e){

const data = await this.comoData.initApi.signOn(installationId, locationId, source);
console.log(`signOn with refreshFailed result:${JSON.stringify(data)}`);
updateCredentials(data, true);

@@ -180,3 +182,3 @@ credExist = true;

this.comoData.expiresIn = credentials.expiresIn;
if(credentials.config){
if (credentials && credentials.config) {
this.comoData.reCaptchaSiteKey = credentials.config.recaptchaSiteKey;

@@ -696,6 +698,6 @@ if (credentials.config.recaptcha) {

const {
accessToken, refreshToken, expiresIn, consent, locationId, recaptchaConfig,
accessToken, refreshToken, expiresIn, consent, locationId,
} = this.comoData;
return {
accessToken, refreshToken, expiresIn, consent, locationId, recaptchaConfig,
accessToken, refreshToken, expiresIn, consent, locationId,
};

@@ -702,0 +704,0 @@ }

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc