@quatrain/queue-amqp 1.2.26 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quatrain/queue-amqp",
|
|
3
|
-
"version": "1.2
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Queue adapter for AMQP compatible queue",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@cloudamqp/amqp-client": "^3.4.1",
|
|
38
|
-
"@quatrain/core": "^1.
|
|
39
|
-
"@quatrain/queue": "^1.
|
|
38
|
+
"@quatrain/core": "^1.2.5",
|
|
39
|
+
"@quatrain/queue": "^1.2.2",
|
|
40
40
|
"amqplib": "^0.10.9"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
@@ -44,5 +44,8 @@
|
|
|
44
44
|
"build": "tsc",
|
|
45
45
|
"wbuild": "tsc --watch",
|
|
46
46
|
"bump-to": "yarn version"
|
|
47
|
+
},
|
|
48
|
+
"typedoc": {
|
|
49
|
+
"entryPoint": "src/index.ts"
|
|
47
50
|
}
|
|
48
51
|
}
|
package/src/AmqpQueueAdapter.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AbstractQueueAdapter, Queue } from '@quatrain/queue'
|
|
|
2
2
|
import amqplib, { ChannelModel, ConsumeMessage, Message } from 'amqplib'
|
|
3
3
|
|
|
4
4
|
export class AmqpQueueAdapter extends AbstractQueueAdapter {
|
|
5
|
-
protected _client: ChannelModel | undefined
|
|
5
|
+
declare protected _client: ChannelModel | undefined
|
|
6
6
|
protected _logger: any
|
|
7
7
|
|
|
8
8
|
constructor(params: any) {
|