rhea-promise
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -0,1 +1,6 @@ | ||
### 0.1.15 - 2019-04-10 | ||
- Export rhea types for `Typed`. [PR](https://github.com/amqp/rhea-promise/pull/36). | ||
- Export rhea types for `WebSocketImpl` and `WebSocketInstance`. [PR](https://github.com/amqp/rhea-promise/pull/38). | ||
- When opening a connection fails with no error, use standard error message. [PR](https://github.com/amqp/rhea-promise/pull/27). | ||
### 0.1.14 - 2019-03-19 | ||
@@ -2,0 +7,0 @@ - Allow websockets usage on a connection without creating a container first. [PR](https://github.com/amqp/rhea-promise/pull/32). |
@@ -129,3 +129,3 @@ "use strict"; | ||
removeListeners(); | ||
const err = context.error || context.connection.error; | ||
const err = context.error || context.connection.error || Error('Failed to connect'); | ||
log.error("[%s] Error occurred while establishing amqp connection: %O", this.id, err); | ||
@@ -132,0 +132,0 @@ return reject(err); |
@@ -16,2 +16,3 @@ "use strict"; | ||
exports.SessionEvents = rhea_1.SessionEvents; | ||
exports.Typed = rhea_1.Typed; | ||
var eventContext_1 = require("./eventContext"); | ||
@@ -18,0 +19,0 @@ exports.EventContext = eventContext_1.EventContext; |
@@ -286,3 +286,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
removeListeners(); | ||
const err = context.error || context.connection.error; | ||
const err = context.error || context.connection.error || Error('Failed to connect'); | ||
log.error("[%s] Error occurred while establishing amqp connection: %O", | ||
@@ -289,0 +289,0 @@ this.id, err); |
@@ -10,3 +10,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
SessionEvents, ContainerOptions as ContainerOptionsBase, TerminusOptions, Types, Sasl, | ||
EndpointOptions, MessageUtil, TypeError, SimpleError, Source, ConnectionError | ||
EndpointOptions, MessageUtil, TypeError, SimpleError, Source, ConnectionError, Typed, WebSocketImpl, WebSocketInstance | ||
} from "rhea"; | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "rhea-promise", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "A Promisified layer over rhea AMQP client", | ||
@@ -10,3 +10,3 @@ "license": "Apache-2.0", | ||
"debug": "^3.1.0", | ||
"rhea": "^1.0.2", | ||
"rhea": "^1.0.4", | ||
"tslib": "^1.9.3" | ||
@@ -13,0 +13,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
export { Delivery, Message, MessageProperties, MessageHeader, EventContext as RheaEventContext, ConnectionOptions as ConnectionOptionsBase, AmqpError, Dictionary, types, message, filter, Filter, uuid_to_string, generate_uuid, string_to_uuid, LinkError, ProtocolError, LinkOptions, DeliveryAnnotations, MessageAnnotations, ReceiverEvents, SenderEvents, ConnectionEvents, SessionEvents, ContainerOptions as ContainerOptionsBase, TerminusOptions, Types, Sasl, EndpointOptions, MessageUtil, TypeError, SimpleError, Source, ConnectionError } from "rhea"; | ||
export { Delivery, Message, MessageProperties, MessageHeader, EventContext as RheaEventContext, ConnectionOptions as ConnectionOptionsBase, AmqpError, Dictionary, types, message, filter, Filter, uuid_to_string, generate_uuid, string_to_uuid, LinkError, ProtocolError, LinkOptions, DeliveryAnnotations, MessageAnnotations, ReceiverEvents, SenderEvents, ConnectionEvents, SessionEvents, ContainerOptions as ContainerOptionsBase, TerminusOptions, Types, Sasl, EndpointOptions, MessageUtil, TypeError, SimpleError, Source, ConnectionError, Typed, WebSocketImpl, WebSocketInstance } from "rhea"; | ||
export { EventContext, OnAmqpEvent } from "./eventContext"; | ||
@@ -3,0 +3,0 @@ export { Container, ContainerOptions } from "./container"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
265795
4568
0
Updatedrhea@^1.0.4