Comparing version 2.0.4 to 2.0.5
@@ -454,4 +454,9 @@ /* | ||
Connection.prototype._is_fatal = function (error_condition) { | ||
var non_fatal = this.get_option('non_fatal_errors', ['amqp:connection:forced']); | ||
return non_fatal.indexOf(error_condition) < 0; | ||
var all_errors_non_fatal = this.get_option('all_errors_non_fatal', false); | ||
if (all_errors_non_fatal) { | ||
return false; | ||
} else { | ||
var non_fatal = this.get_option('non_fatal_errors', ['amqp:connection:forced']); | ||
return non_fatal.indexOf(error_condition) < 0; | ||
} | ||
}; | ||
@@ -458,0 +463,0 @@ |
{ | ||
"name": "rhea", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "reactive AMQP 1.0 library", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/amqp/rhea", |
@@ -213,2 +213,3 @@ ![Node.js CI](https://github.com/amqp/rhea/workflows/Node.js%20CI/badge.svg) | ||
default this only includes amqp:connection:forced) | ||
* all_errors_non_fatal - a boolean which determines if rhea's auto-reconnect should attempt reconnection on all fatal errors | ||
@@ -686,3 +687,3 @@ If the transport is TLS, the options may additionally specify a | ||
* message_annotations, an object/map of non-standard delivery | ||
annotations propagated accross all steps that should be negotiated | ||
annotations propagated across all steps that should be negotiated | ||
at link attach | ||
@@ -689,0 +690,0 @@ * message_id |
@@ -104,3 +104,3 @@ /// <reference types="node" /> | ||
* which the connection is being created. | ||
* | ||
* | ||
* The `"container_id"` is how the peer will identify the 'container' the connection is being | ||
@@ -194,2 +194,6 @@ * established from. The container in AMQP terminology is roughly analogous to a process. | ||
/** | ||
* @property {boolean} [all_errors_non_fatal] Determines if rhea's auto-reconnect should attempt reconnection on all fatal errors | ||
*/ | ||
all_errors_non_fatal?: boolean, | ||
/** | ||
* @property {string} [key] The private key of the certificate to be used with tls connection option | ||
@@ -381,3 +385,3 @@ */ | ||
* @property {object} target - The target to which messages are sent. | ||
* | ||
* | ||
* If the target is set to `{}` no target address will be associated with the sender; the peer | ||
@@ -419,3 +423,3 @@ * may use the `to` field on each individual message to handle it correctly in that case. | ||
* peer to the receiving peer. This is the base interface for Delivery Annotations. | ||
* | ||
* | ||
* @interface DeliveryAnnotations | ||
@@ -528,3 +532,3 @@ */ | ||
* constructed or seen (for example message hashes, HMACs, signatures and encryption details). | ||
* | ||
* | ||
* @interface MessageFooter | ||
@@ -531,0 +535,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
1016102
15349
741