New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.16 to 1.3.17

6

lib/amqp.js

@@ -23,11 +23,9 @@ if (!process.env.RABBITMQ_DSN) {

console.log("Connected to AMQP server")
const exchange = connection.exchange(process.env.EXCHANGE_NAME)
console.log(exchange);
exchange.on('open', (e) => {
const exchange = connection.exchange(process.env.EXCHANGE_NAME, (e) => {
console.log("exchange is open", e)
console.log("exchange is open", this.exchange)
})
callback(false, connection, exchange)
})
}

@@ -108,3 +108,3 @@ if (!process.env.EXCHANGE_NAME) {

.then(() => {
console.log(`Task ${Task.routingKey} accomplished`)
console.log(`Task ${Task.key} accomplished`)
})

@@ -118,3 +118,3 @@ .catch(error => {

console.log(data)
console.log(process.env.EXCHANGE_NAM);
console.log(process.env.EXCHANGE_NAME);

@@ -121,0 +121,0 @@ this.exchange.publish(failureRoutingKey, data, {

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