Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@techloop/amqp-broker

Package Overview
Dependencies
Maintainers
8
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techloop/amqp-broker - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

PULLREQUEST.md

21

lib/broker.js

@@ -105,21 +105,6 @@ if (!process.env.EXCHANGE_NAME) {

msg: data,
key: deliveryInfo.routingKey
key: deliveryInfo.routingKey,
connection,
exchange
})
.then(() => {
console.log(`Task ${Task.key} accomplished`)
})
.catch(error => {
console.error(`Error: failed to run callback for task key=${Task.key}`, error);
if (Task.handleFailedMessages) {
const failureRoutingKey = `failed.${Task.key}`;
this.exchange.publish(failureRoutingKey, data, {
mandatory: true
},
(err, msg) => {
console.error('Can not publish message', err, msg)
});
}
});
}

@@ -126,0 +111,0 @@ }

{
"name": "@techloop/amqp-broker",
"version": "1.4.0",
"version": "1.4.1",
"description": "AMQP broker for microservices communication",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc