@elastic.io/amqp-rpc
Advanced tools
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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1951
77906