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

@radio-retail/api-client

Package Overview
Dependencies
Maintainers
2
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 1.0.13 to 1.0.14

24

dist/routes/clients.js

@@ -99,2 +99,26 @@ const getData = require('../utils/get-raw-data');

// Stores
createStore(clientId, accountId, data, config = {}) {
return instance.post(`${baseRoute}/${clientId}/accounts/${accountId}/stores`, data, config).then(getData(config.raw));
},
getStoresForAccount(clientId, accountId, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/accounts/${accountId}/stores`, config).then(getData(config.raw));
},
getStoresQuery(clientId, accountId, query, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/accounts/${accountId}/stores/search?query=${query}`, config).then(getData(config.raw));
},
deleteStore(clientId, accountId, storeId) {
return instance.delete(`${baseRoute}/${clientId}/accounts/${accountId}/stores/${storeId}`);
},
patchStore(clientId, accountId, storeId, params, config = {}) {
config.params = params;
return instance.patch(`${baseRoute}/${clientId}/accounts/${accountId}/stores/${storeId}`, config).then(getData(config.raw));
},
// General

@@ -101,0 +125,0 @@ ...crud(instance, baseRoute),

2

package.json
{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "1.0.13",
"version": "1.0.14",
"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