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.9 to 1.0.10

26

dist/routes/clients.js

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

getContacts(clientId, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/contacts`, config).then(getData(config.raw));
},
getContactById(clientId, contactId, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/contacts/${contactId}`, config).then(getData(config.raw));
},
getClientById(clientId) {

@@ -47,2 +37,18 @@ return instance.get(`${baseRoute}/${clientId}`).then(res => {

// Contacts
getContacts(clientId, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/contacts`, config).then(getData(config.raw));
},
patchClient(clientId, contactId, params, config = {}) {
config.params = params;
return instance.patch(`${baseRoute}/${clientId}/contacts/${contactId}`, config).then(getData(config.raw));
},
getContactById(clientId, contactId, params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/${clientId}/contacts/${contactId}`, config).then(getData(config.raw));
},
// Accounts

@@ -49,0 +55,0 @@ getAccountsForClient(clientId = '', config = {}) {

{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "1.0.9",
"version": "1.0.10",
"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