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 7.2.4 to 7.3.0

4

dist/routes/production.js

@@ -10,6 +10,2 @@ const methods = require('../utils/methods');

uploadMedia(id, body = {}, config = {}) {
return instance.put(`${baseRoute}/${id}/media`, body, config).then(getData(config.raw));
},
getMedia(id, config = {}) {

@@ -16,0 +12,0 @@ return instance.get(`${baseRoute}/${id}/media`, config).then(getData(config.raw));

4

dist/utils/methods.js

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

return Promise.all(ids.map(id => instance.delete(`${baseRoute}/${id}`)));
},
uploadMedia(productionId, type, body = {}, config = {}, extractNestedData = true) {
return instance.post(`${baseRoute}/upload?productionId=${productionId}&type=${type}`, config).then(getData(config.raw));
}

@@ -79,0 +83,0 @@

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