Comparing version 0.10.0 to 0.10.1
# Change log for amqplib | ||
## Chagnes in v0.10.0 | ||
## Changes in v0.10.1 | ||
git log v0.10.0..v0.10.1 | ||
* Allow servername to be specified via socket options as discussed in as discussed in | ||
[issue 697](https://github.com/squaremo/amqp.node/issues/697) | ||
## Changes in v0.10.0 | ||
git log v0.9.1..v0.10.0 | ||
* Use Native promises ([PR | ||
@@ -5,0 +15,0 @@ 689](https://github.com/amqp-node/amqplib/pull/689), thank you |
@@ -109,3 +109,3 @@ // | ||
sockopts.host = url.hostname; | ||
sockopts.servername = url.hostname; | ||
sockopts.servername = sockopts.servername || url.hostname; | ||
sockopts.port = url.port || ((protocol === 'amqp:') ? 5672 : 5671); | ||
@@ -135,3 +135,3 @@ | ||
sockopts.host = parts.hostname; | ||
sockopts.servername = parts.hostname; | ||
sockopts.servername = sockopts.servername || parts.hostname; | ||
sockopts.port = parseInt(parts.port) || ((protocol === 'amqp:') ? 5672 : 5671); | ||
@@ -138,0 +138,0 @@ var vhost = parts.pathname ? parts.pathname.substr(1) : null; |
@@ -5,3 +5,3 @@ { | ||
"main": "./channel_api.js", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "An AMQP 0-9-1 (e.g., RabbitMQ) library and client.", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
401268