Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@como/como-client

Package Overview
Dependencies
Maintainers
0
Versions
206
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.93 to 0.7.94

2

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

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

@@ -307,2 +307,19 @@ const moment = require('moment-timezone');

/**
* @param {string} language language code
*/
async updateLanguage(language) {
const { api } = this.comoData;
try {
const data = await api.updateLanguage(language);
return data;
} catch (error) {
if (error.response && error.response.data) {
const { code, message } = error.response.data;
throw new Error(code || message);
}
throw error;
}
}
/**
*

@@ -309,0 +326,0 @@ * @param {string} unsubscribeSms unsubscribe user at location

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