Socket
Socket
Sign inDemoInstall

@types/amqplib

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/amqplib - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

13

amqplib/callback_api.d.ts

@@ -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>;

5

amqplib/package.json
{
"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

amqplib/properties.d.ts

@@ -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

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