You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@ryancavanaugh/amazon-product-api

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ryancavanaugh/amazon-product-api - npm Package Compare versions

Comparing version
0.0.5
to
0.0.7
+25
-1
amazon-product-api.d.ts

@@ -1,1 +0,25 @@

amazon-product-api.d.ts
// Type definitions for amazon-product-api
// Project: https://github.com/t3chnoboy/amazon-product-api
// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "amazon-product-api" {
interface ICredentials {
awsId: string,
awsSecret: string,
awsTag: string
}
interface IAmazonProductQueryCallback {
(err: string, results: Object[]): void;
}
interface IAmazonProductClient {
itemSearch(query: any, callback?: IAmazonProductQueryCallback) : Promise<Object[]>;
itemLookup(query: any, callback?: IAmazonProductQueryCallback) : Promise<Object[]>;
browseNodeLookup(query: any, callback?: IAmazonProductQueryCallback) : Promise<Object[]>;
}
export function createClient(credentials:ICredentials) : IAmazonProductClient;
}
+1
-1
{
"name": "@ryancavanaugh/amazon-product-api",
"version": "0.0.5",
"version": "0.0.7",
"description": "Type definitions for amazon from https://www.github.com/DefinitelyTyped/DefinitelyTyped",

@@ -5,0 +5,0 @@ "main": "",

@@ -10,3 +10,3 @@ This package contains type definitions for amazon.

Additional Details
* Last updated: Tue, 22 Mar 2016 23:18:26 GMT
* Last updated: Wed, 23 Mar 2016 04:25:37 GMT
* Typings kind: DeclareModule

@@ -13,0 +13,0 @@ * Library Dependencies: none