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.3.3 to 1.3.4

8

lib/broker.js

@@ -31,4 +31,4 @@ if (!process.env.EXCHANGE_NAME) {

onQueueOpen(failed_q,q){
console.log(failed_q,q);
onQueueOpen(failed_q, q) {
console.log(failed_q, q);
console.log(`Queue ${q.name} was opened`);

@@ -70,4 +70,4 @@ this.set("q", q);

const options = { autoDelete: false, durable: true };
connection.queue(process.env.QUEUE_NAME, options, onQueueOpen(false));
connection.queue(`${process.env.QUEUE_NAME}_failed`, options, onQueueOpen(true));
connection.queue(process.env.QUEUE_NAME, options, (q) => { onQueueOpen(false, q) });
connection.queue(`${process.env.QUEUE_NAME}_failed`, options, (q) => { onQueueOpen(true, q) });
});

@@ -74,0 +74,0 @@ }

{
"name": "@techloop/amqp-broker",
"version": "1.3.3",
"version": "1.3.4",
"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