docta-package 1.2.12 → 1.2.13
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/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/rabbitmq/publisher.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -19,7 +19,7 @@ function publishToTopicExchange(_a) {
|
|
|
19
19
|
return __awaiter(this, arguments, void 0, function* ({ exchange, routingKey, message, }) {
|
|
20
20
|
try {
|
|
21
21
|
// Connect to RabbitMQ server
|
|
22
|
-
const connection = yield amqplib_1.default.connect((0, config_1.getGeneralConfig)().rabbitmqHost);
|
|
22
|
+
const connection = yield amqplib_1.default.connect((0, config_1.getGeneralConfig)().rabbitmqHost);
|
|
23
23
|
const channel = yield connection.createChannel();
|
|
24
24
|
// Assert the topic exchange exists
|
|
25
25
|
yield channel.assertExchange(exchange, "topic", { durable: true });
|