Socket
Socket
Sign inDemoInstall

amazon-ppc-api

Package Overview
Dependencies
12
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.14 to 1.0.15

9

AdvertisingClient.js

@@ -409,4 +409,6 @@ const querystring = require("querystring");

requestReport(campaignType, recordType, data) {
const mainEndpoint = campaignType != "sd" ? "v2" : "";
return this.apiRequest(
`v2/${campaignType}/${recordType}/report`,
`${mainEndpoint}/${campaignType}/${recordType}/report`,
data,

@@ -537,2 +539,7 @@ `POST`

} else {
if (response.headers["content-type"] == "application/octet-stream") {
var unzipped = zlib.gunzipSync(response.raw).toString();
return JSONbig.parse(unzipped);
}
return response.body;

@@ -539,0 +546,0 @@ }

2

package.json
{
"name": "amazon-ppc-api",
"version": "1.0.14",
"version": "1.0.15",
"description": "This class helps you interfacing the Amazon Advertising API.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc