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

@elastic.io/amqp-rpc

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/amqp-rpc - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

{
"name": "@elastic.io/amqp-rpc",
"description": "RPC over RabbitMQ for Node.js",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "http://elastic.io",

@@ -6,0 +6,0 @@ "author": "elastic.io GmbH <info@elastic.io>",

@@ -18,3 +18,3 @@ 'use strict';

this._channel = null;
this._params = params;
this._params = Object.assign({}, params);
}

@@ -21,0 +21,0 @@

@@ -32,6 +32,6 @@ const assert = require('assert');

this._params = params;
params.queueName = params.queueName || '';
params.TTL = params.TTL || AMQPEventsReceiver.TTL;
this._queueName = params.queueName;
this._params = Object.assign({
queueName: ''
}, params);
this._queueName = this._params.queueName;

@@ -38,0 +38,0 @@ this._channel = null;

@@ -29,4 +29,5 @@ const EventEmitter = require('events');

this._params = params;
params.TTL = params.TTL || AMQPEventsSender.TTL;
this._params = Object.assign({
TTL: AMQPEventsSender.TTL
}, params);
this._queueName = params.queueName;

@@ -33,0 +34,0 @@