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

antenna-amqp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antenna-amqp - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/bus.js

@@ -76,3 +76,3 @@ /**

var self = this;
this._connection = amqp.createConnection(options);
this._connection = amqp.createConnection(options, { reconnect: false });
this._connection.once('ready', function() {

@@ -79,0 +79,0 @@ var exchange = options.exchange || 'amq.fanout';

@@ -9,4 +9,4 @@ /**

this.topic = deliveryInfo.routingKey.replace(/\./g, '/');
this.headers = {};
if (deliveryInfo.contentType) { headers['content-type'] = deliveryInfo.contentType; }
this.headers = headers;
if (deliveryInfo.contentType) { this.headers['content-type'] = deliveryInfo.contentType; }
// TODO: only set body if it has been parsed, otherwise set `data`

@@ -13,0 +13,0 @@ this.body = message;

{
"name": "antenna-amqp",
"version": "0.1.0",
"version": "0.1.1",
"description": "AMQP adapter for Antenna.",

@@ -5,0 +5,0 @@ "keywords": [

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