Socket
Socket
Sign inDemoInstall

rhea-promise

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rhea-promise - npm Package Versions

23

3.0.3

Diff

Changelog

Source

3.0.3 - (2024-06-12)

  • Release the resources if Session.createReceiver() rejects due to timeout.
jeremymeng
published 3.0.2 •

Changelog

Source

3.0.2 - (2024-05-02)

  • Set the max listener limit to 1000 for RheaConnection
jeremymeng
published 3.0.1 •

Changelog

Source

3.0.1 - (2023-05-05)

  • Fix a bug where Connection constructor isn't setting operationTimeoutInSeconds correctly.
jeremymeng
published 3.0.0 •

Changelog

Source

3.0.0 - (2023-03-02)

  • Update rhea dependency to the 3.x major version.
  • Update dev dependency typescript to ~4.3.0
Breaking changes
  • rhea has one breaking change introduced in version 3.x that impact this library: The TLS options type to Container.listen() now requires a transport property which is either "ssl" or "tls".
alexghiondea
published 2.1.0 •

Changelog

Source

2.1.0 - (2021-06-30)

  • Exposes a new receiver.drainCredit() method that calls through to rhea's receiver.drain_credit() method.
  • Update rhea minimum version to 2.0.3
ramya-rao-a
published 2.0.0 •

Changelog

Source

2.0.0 - (2021-06-03)

  • Updates rhea dependency to the 2.x major version, and the tslib dependency to the 2.x major version.
  • Adds CreateRequestResponseLinkOptions as an exported interface.
Breaking changes
  • rhea has 1 breaking change introduced in version 2.x: timestamps are not deserialized as Date objects instead of numbers.
  • Updates AwaitableSendOptions to include the optional fields tag and format which were previously passed to AwaitableSender.send(). These fields are no longer positional arguments on AwaitableSender.send().
  • Adds SenderSendOptions to include the optional fields tag and format which were previously passed to Sender.send(). These fields are no longer positional arguments on Sender.send().
  • Removes sendTimeoutInSeconds from the AwaitableSendOptions that is passed to the AwaitableSender constructor. timeoutInSeconds on AwaitableSenderOptions can still be used to set the timeout for individual AwaitableSender.send() invocations.
  • Renames the following TypeScript interfaces to better match the methods they apply to:
    • SenderOptionsWithSession -> CreateSenderOptions
    • AwaitableSenderOptionsWithSession -> CreateAwaitableSenderOptions
    • ReceiverOptionsWithSession -> CreateReceiverOptions
ramya-rao-a
published 1.2.1 •

Changelog

Source

1.2.1 - (2021-04-15)

  • createSession, createReceiver, and createSender methods now only close underlying rhea analogue when cancelled if the resource has already been opened.
ramya-rao-a
published 1.2.0 •

Changelog

Source

1.2.0 - 2021-03-25

  • Exposes the incoming getter on the Session that lets accessing size and capacity of the incoming deliveries #79.
  • Updates the error message for the AbortError to be a standard message The operation was aborted..
ramya-rao-a
published 1.1.0 •

Changelog

Source

1.1.0 - 2021-02-08

  • All async methods now take a signal that can be used to cancel the operation. Fixes #48
  • Added a timeoutInSeconds parameter to the send method on the AwaitableSender that overrides the timeout value for the send operation set when creating the sender.
  • When the error event is fired when closing the sender/receiver link, surface errors occurring on the sender/receiver context if none are found on the session context. Details can be found in PR #55
  • Updated minimum version of rhea to ^1.0.24. Details can be found in PR 68
amarzavery
published 1.0.0 •

Changelog

Source

1.0.0 - 2019-06-27

  • Updated minimum version of rhea to ^1.0.8.
  • Added a read only property id to the Session object. The id property is created by concatenating session's local channel, remote channel and the connection id "local-<number>_remote-<number>_<connection-id>", thus making it unique for that connection.
  • Improved log statements by adding the session id and the sender, receiver name to help while debugging applications.
  • Added options to Link.close({closeSession: true | false}), thus the user can specify whether the underlying session should be closed while closing the Sender|Receiver. Default is true.
  • Improved open and close operations on Connection, Session and Link by creating timer in case the connection gets disconnected. Fixes #41.
  • The current Sender does not have a provision of "awaiting" on sending a message. The user needs to add handlers on the Sender for accepted, rejected, released, modified to ensure whether the message was successfully sent. Now, we have added a new AwaitableSender which adds the handlers internally and provides an awaitable send() operation to the customer. Fixes #45.
  • Exporting new Errors:
    • InsufficientCreditError: Defines the error that occurs when the Sender does not have enough credit.
    • SendOperationFailedError: Defines the error that occurs when the Sender fails to send a message.
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