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.15 to 1.0.16

11

dist/routes/clients.js

@@ -70,5 +70,10 @@ const getData = require('../utils/get-raw-data');

patchAccount(clientId, accountId, params, config = {}) {
config.params = params;
return instance.patch(`${baseRoute}/${clientId}/accounts/${accountId}`, config).then(getData(config.raw));
patchAccount(clientId, accountId, body, prevConfig = {}, extractNestedData = true) {
const config = {
headers: {
'Content-Type': 'application/merge-patch+json'
},
...prevConfig
};
return instance.patch(`${baseRoute}/${clientId}/accounts/${accountId}`, body, config).then(getData(!extractNestedData));
},

@@ -75,0 +80,0 @@

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