Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rhea

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rhea - npm Package Compare versions

Comparing version 0.2.18 to 0.2.19

6

lib/link.js

@@ -110,4 +110,8 @@ /*

link.is_itself_closed = function() {
return this.state.is_closed();
};
link.is_closed = function () {
return this.session.is_closed() || this.state.is_closed();
return this.session.is_closed() || this.is_itself_closed();
};

@@ -114,0 +118,0 @@

@@ -573,4 +573,8 @@ /*

Session.prototype.is_itself_closed = function () {
return this.state.is_closed();
};
Session.prototype.is_closed = function () {
return this.connection.is_closed() || this.state.is_closed();
return this.connection.is_closed() || this.is_itself_closed();
};

@@ -577,0 +581,0 @@

2

package.json
{
"name": "rhea",
"version": "0.2.18",
"version": "0.2.19",
"description": "reactive AMQP 1.0 library",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/amqp/rhea",

@@ -593,2 +593,6 @@ /// <reference types="node" />

is_remote_open(): boolean;
/**
* Determines whether both local and remote endpoints are closed.
* @returns {boolean} `true` - closed, `false` otherwise.
*/
is_closed(): boolean;

@@ -595,0 +599,0 @@ create_session(): Session;

@@ -44,3 +44,13 @@ /// <reference types="node" />

is_remote_open(): boolean;
/**
* Determines whether both local and remote endpoint for link or it's underlying session
* or it's underlying connection are closed.
* @returns {boolean} `true` - closed, `false` otherwise.
*/
is_closed(): boolean;
/**
* Determines whether both local and remote endpoint for just the link itself are closed.
* @returns {boolean} `true` - closed, `false` otherwise.
*/
is_itself_closed(): boolean;
has_credit(): boolean;

@@ -47,0 +57,0 @@ is_receiver(): boolean;

@@ -55,3 +55,13 @@ /// <reference types="node" />

is_remote_open(): boolean;
/**
* Determines whether both local and remote endpoint for session or it's underlying
* connection are closed.
* @returns {boolean} `true` - closed, `false` otherwise.
*/
is_closed(): boolean;
/**
* Determines whether both local and remote endpoint for just the session itself are closed.
* @returns {boolean} `true` - closed, `false` otherwise.
*/
is_itself_closed(): boolean;
remove(): void;

@@ -58,0 +68,0 @@ }

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