@types/amqplib
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -57,4 +57,17 @@ import events = require('events'); | ||
export const credentials: { | ||
external(): { | ||
mechanism: string; | ||
response(): Buffer; | ||
}; | ||
plain(username: string, password: string): { | ||
mechanism: string; | ||
response(): Buffer; | ||
username: string; | ||
password: string; | ||
}; | ||
}; | ||
export function connect(callback: (err: any, connection: Connection) => void): void; | ||
export function connect(url: string, callback: (err: any, connection: Connection) => void): void; | ||
export function connect(url: string, socketOptions: any, callback: (err: any, connection: Connection) => void): void; |
@@ -66,2 +66,15 @@ // Type definitions for amqplib 0.5 | ||
export const credentials: { | ||
external(): { | ||
mechanism: string; | ||
response(): Buffer; | ||
}; | ||
plain(username: string, password: string): { | ||
mechanism: string; | ||
response(): Buffer; | ||
username: string; | ||
password: string; | ||
}; | ||
}; | ||
export function connect(url: string | Options.Connect, socketOptions?: any): Promise<Connection>; |
{ | ||
"name": "@types/amqplib", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "TypeScript definitions for amqplib", | ||
@@ -31,6 +31,7 @@ "license": "MIT", | ||
"@types/bluebird": "*", | ||
"@types/events": "*", | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "5768757715c8bfeaba28ef08ad95d016dfd293596b6d15e56574a80a2b7e8213", | ||
"typesPublisherContentHash": "51246aa72856a1360ce6598b07bd20b228741bd7adcb6d9aba0641878657904a", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -0,0 +0,0 @@ export namespace Replies { |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 21 Nov 2017 21:21:07 GMT | ||
* Last updated: Tue, 02 Jan 2018 23:54:45 GMT | ||
* Dependencies: bluebird, events, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13439
254
3
+ Added@types/events@*
+ Added@types/events@3.0.3(transitive)