amqp-as-promised
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -20,3 +20,2 @@ declare function amqp(conf: amqp.AmqpConfig): Promise<amqp.AmqpClient> | ||
export interface AmqpClient { | ||
on(event: 'error', callback: (err: Error) => void): void; | ||
@@ -30,2 +29,4 @@ exchange(name: string, opts?: ExchangeOpts): Promise<Exchange>; | ||
serve<T>(exchange: string, routingKey: string, callback: ServeCallback<T>): void; | ||
bind<T>(exchange: string, topic: string, callback: SubscribeCallback<T>): Promise<void>; | ||
bind<T>(exchange: string, queue: string, topic: string, callback: SubscribeCallback<T>): Promise<void>; | ||
shutdown(): Promise<void>; | ||
@@ -32,0 +33,0 @@ } |
{ | ||
"name": "amqp-as-promised", | ||
"description": "A promise-based AMQP API build on node-amqp", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
51836
1025