@types/amqplib
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -66,2 +66,2 @@ // Type definitions for amqplib 0.5 | ||
export function connect(url: string, socketOptions?: any): Promise<Connection>; | ||
export function connect(url: string | Options.Connect, socketOptions?: any): Promise<Connection>; |
{ | ||
"name": "@types/amqplib", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "TypeScript definitions for amqplib", | ||
@@ -9,11 +9,14 @@ "license": "MIT", | ||
"name": "Michael Nahkies", | ||
"url": "https://github.com/mnahkies" | ||
"url": "https://github.com/mnahkies", | ||
"githubUsername": "mnahkies" | ||
}, | ||
{ | ||
"name": "Ab Reitsma", | ||
"url": "https://github.com/abreits" | ||
"url": "https://github.com/abreits", | ||
"githubUsername": "abreits" | ||
}, | ||
{ | ||
"name": "Nicolás Fantone", | ||
"url": "https://github.com/nfantone" | ||
"url": "https://github.com/nfantone", | ||
"githubUsername": "nfantone" | ||
} | ||
@@ -31,5 +34,4 @@ ], | ||
}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "dd8779e2fcf0ffa7a35dc95dff2c8129951f1a2661c66852d853722f40d965f3", | ||
"typesPublisherContentHash": "5768757715c8bfeaba28ef08ad95d016dfd293596b6d15e56574a80a2b7e8213", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -24,2 +24,60 @@ export namespace Replies { | ||
export namespace Options { | ||
interface Connect { | ||
/** | ||
* The to be used protocol | ||
* | ||
* Default value: 'amqp' | ||
*/ | ||
protocol?: string; | ||
/** | ||
* Hostname used for connecting to the server. | ||
* | ||
* Default value: 'localhost' | ||
*/ | ||
hostname?: string; | ||
/** | ||
* Port used for connecting to the server. | ||
* | ||
* Default value: 5672 | ||
*/ | ||
port?: number; | ||
/** | ||
* Username used for authenticating against the server. | ||
* | ||
* Default value: 'guest' | ||
*/ | ||
username?: string; | ||
/** | ||
* Password used for authenticating against the server. | ||
* | ||
* Default value: 'guest' | ||
*/ | ||
password?: string; | ||
/** | ||
* The desired locale for error messages. RabbitMQ only ever uses en_US | ||
* | ||
* Default value: 'en_US' | ||
*/ | ||
locale?: string; | ||
/** | ||
* The size in bytes of the maximum frame allowed over the connection. 0 means | ||
* no limit (but since frames have a size field which is an unsigned 32 bit integer, it’s perforce 2^32 - 1). | ||
* | ||
* Default value: 0x1000 (4kb) - That's the allowed minimum, it will fit many purposes | ||
*/ | ||
frameMax?: number; | ||
/** | ||
* The period of the connection heartbeat in seconds. | ||
* | ||
* Default value: 0 | ||
*/ | ||
heartbeat?: number; | ||
/** | ||
* What VHost shall be used. | ||
* | ||
* Default value: '/' | ||
*/ | ||
vhost?: string; | ||
} | ||
interface AssertQueue { | ||
@@ -89,2 +147,2 @@ exclusive?: boolean; | ||
properties: any; | ||
} | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 01 Aug 2017 14:04:54 GMT | ||
* Last updated: Tue, 21 Nov 2017 21:21:07 GMT | ||
* Dependencies: bluebird, events, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
13175
230