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
10
Versions
209
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.79 to 0.7.80

2

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

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

@@ -985,8 +985,18 @@ const moment = require('moment-timezone');

*/
getAppTextsV2() {
getAppTextsV2() {
const { api, locationId } = this.comoData;
return api.getAllTranslations(locationId);
}
/**
* generate temporary token
* @param {Number} timeToLive - The time in seconds till the expiration
*/
async generateTemporaryTokenWithExpiryDate(timeToLive) {
const { api, locationId, token, env_params } = this.comoData;
const { ExpirationDate, TemporaryToken } = await api.generateTemporaryToken(env_params.services_root, locationId, token, timeToLive);
return { ExpirationDate, TemporaryToken };
}
}
module.exports = Como;

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