Socket
Socket
Sign inDemoInstall

rhea-promise

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rhea-promise - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

5

changelog.md

@@ -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).

2

dist/lib/connection.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc