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

@radio-retail/api-client

Package Overview
Dependencies
Maintainers
3
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radio-retail/api-client - npm Package Compare versions

Comparing version 4.2.7 to 4.3.0

8

dist/routes/storelists.js
const methods = require("../utils/methods");
const getData = require('../utils/get-raw-data');
const getData = require("../utils/get-raw-data");

@@ -10,4 +10,6 @@ const baseRoute = "/v2/storelists";

removeStore(id, storeIds) {
return instance.delete(`${baseRoute}/${id}/stores`, storeIds);
removeStore(id, data) {
return instance.delete(`${baseRoute}/${id}/stores`, {
data
});
},

@@ -14,0 +16,0 @@

@@ -1,2 +0,2 @@

const getData = require('../utils/get-raw-data');
const getData = require("../utils/get-raw-data");

@@ -49,3 +49,3 @@ function methods(instance, baseRoute) {

getCounts(id, params, config = {}) {
getCounts(params, config = {}) {
config.params = params;

@@ -56,3 +56,3 @@ return instance.get(`${baseRoute}/counts`, config).then(getData(config.raw));

toggleActive(id, active, config = {}) {
return instance.post(`${baseRoute}/${id}/${active ? 'activate' : 'deactivate'}`, config).then(getData(config.raw));
return instance.post(`${baseRoute}/${id}/${active ? "activate" : "deactivate"}`, config).then(getData(config.raw));
},

@@ -74,3 +74,3 @@

headers: { ...(prevConfig.headers || {}),
'Content-Type': prevConfig.type === 'json' ? 'application/json-patch+json' : 'application/merge-patch+json'
"Content-Type": prevConfig.type === "json" ? "application/json-patch+json" : "application/merge-patch+json"
}

@@ -77,0 +77,0 @@ };

{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "4.2.7",
"version": "4.3.0",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

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