amqp-as-promised
Advanced tools
Comparing version 5.2.2 to 5.2.3
@@ -26,4 +26,4 @@ declare function amqp(conf: amqp.AmqpConfig): Promise<amqp.AmqpClient> | ||
rpc<T>(exchange: string | Exchange, routingKey: string, msg: object | Buffer, headers?: MessageHeaders, opts?: RpcOpts): Promise<T>; | ||
serve<T>(exchange: string | Exchange, routingKey: string, opts: SubscribeOpts, callback: ServeCallback<T>): void; | ||
serve<T>(exchange: string | Exchange, routingKey: string, callback: ServeCallback<T>): void; | ||
serve<T>(exchange: string | Exchange, routingKey: string, opts: SubscribeOpts, callback: ServeCallback<T>): Promise<void>; | ||
serve<T>(exchange: string | Exchange, routingKey: string, callback: ServeCallback<T>): Promise<void>; | ||
bind<T>(exchange: string | Exchange, topic: string, callback: SubscribeCallback<T>): Promise<void>; | ||
@@ -30,0 +30,0 @@ bind<T>(exchange: string | Exchange, queue: string | Queue<T>, topic: string, callback: SubscribeCallback<T>): Promise<void>; |
Changelog | ||
========= | ||
# 5.2.3 - 2020-09-28 | ||
* Bug fix: there was an error in the typescript definition for `serve()` | ||
## 5.2.2 - 2020-07-07 | ||
@@ -5,0 +9,0 @@ |
{ | ||
"name": "amqp-as-promised", | ||
"description": "A promise-based AMQP API build on node-amqp", | ||
"version": "5.2.2", | ||
"version": "5.2.3", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
52345