@quatrain/queue-amqp 1.1.16 → 1.1.18

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.
@@ -38,7 +38,7 @@ class AmqpQueueAdapter extends queue_1.AbstractQueueAdapter {
38
38
  const connection = yield this._client.connect();
39
39
  const channel = yield connection.channel();
40
40
  const queue = yield channel.queue(topic);
41
- return queue.subscribe({ noAck: true }, (message) => __awaiter(this, void 0, void 0, function* () { return yield messageHandler(message); }));
41
+ return queue.subscribe({ noAck: true }, (message) => __awaiter(this, void 0, void 0, function* () { return yield messageHandler(message.bodyToString()); }));
42
42
  });
43
43
  }
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/queue-amqp",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "Queue adapter for AMQP compatible queue",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -24,9 +24,9 @@
24
24
  "typescript": "^5.1.5"
25
25
  },
26
26
  "dependencies": {
27
- "@cloudamqp/amqp-client": "^3.1.1",
28
- "@quatrain/core": "^1.1.18",
29
- "@quatrain/queue": "^1.1.15"
27
+ "@cloudamqp/amqp-client": "^3.4.1",
28
+ "@quatrain/core": "^1.1.22",
29
+ "@quatrain/queue": "^1.1.16"
30
30
  },
31
31
  "scripts": {
32
32
  "test-ci": "jest --runInBand",