New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amzn-papi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amzn-papi - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

10

lib/api/query.js

@@ -20,9 +20,9 @@ var crypto = require('crypto');

parts.push('Operation=' + operation);
parts.push('Timestamp=' + (encodeURIComponent((new Date()).toISOString())));
parts.push('AWSAccessKeyId=' + credentials.awsId);
parts.push('Operation=' + encodeURIComponent(operation));
parts.push('Timestamp=' + encodeURIComponent((new Date()).toISOString()));
parts.push('AWSAccessKeyId=' + encodeURIComponent(credentials.awsId));
parts.push('Version=2013-08-01');
if (credentials.awsTag) {
parts.push('AssociateTag=' + credentials.awsTag);
parts.push('AssociateTag=' + encodeURIComponent(credentials.awsTag));
}

@@ -32,3 +32,3 @@

if (query[param]) {
parts.push(param + '=' + query[param]);
parts.push(param + '=' + encodeURIComponent(query[param]));
}

@@ -35,0 +35,0 @@ }

{
"name": "amzn-papi",
"version": "0.0.2",
"version": "0.1.0",
"description": "README.md",

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

@@ -13,3 +13,3 @@ Amazon Product Advertisment API

Require the libray in your application
Require the library in your application

@@ -28,3 +28,3 @@ `var amazon = require('amzn-papi')`

You can now refer to the Amazon API docs for available methods and available parameters.
You can now refer to the [Amazon API docs](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/CHAP_OperationListAlphabetical.html) for available methods and parameters.
Each method will return a Promise.

@@ -31,0 +31,0 @@

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