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

@como/como-client

Package Overview
Dependencies
Maintainers
10
Versions
207
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.76 to 0.7.77

8

lib/services/loyalty.service.js

@@ -21,4 +21,4 @@ 'use strict';

var buildResourceUrl = function buildResourceUrl(baseUrl, resourceId, namespace, version) {
return baseUrl + '/GetResource?namespace=' + namespace + '&resourceId=' + resourceId + '&version=' + version;
var buildResourceUrl = function buildResourceUrl(baseUrl, resourceId, namespace, versio, locationId) {
return baseUrl + '/GetResource?namespace=' + namespace + '&resourceId=' + resourceId + '&version=' + version + '&locationId=' + locationId;
};

@@ -306,4 +306,4 @@

exports.getResourceUrl = function (service) {
return function (baseUrl, resourceId, namespace, version) {
return '' + buildResourceUrl(baseUrl, resourceId, namespace, version);
return function (baseUrl, resourceId, namespace, version, locationId) {
return '' + buildResourceUrl(baseUrl, resourceId, namespace, version, locationId);
};

@@ -310,0 +310,0 @@ };

{
"name": "@como/como-client",
"version": "0.7.76",
"version": "0.7.77",
"description": "Client module for Como's loaylty API",

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

@@ -799,4 +799,4 @@ const moment = require('moment-timezone');

getResourceUrl(resourceId, namespace, version) {
const { api, env_params: env } = this.comoData;
return api.getResourceUrl(env.services_root_cdn, resourceId, namespace, version);
const { api, env_params: env, locationId } = this.comoData;
return api.getResourceUrl(env.services_root_cdn, resourceId, namespace, version, locationId);
}

@@ -803,0 +803,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