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.8 to 0.1.9

11

changelog.md

@@ -0,1 +1,4 @@

### 0.1.9 - 2018-10-24
- With the usage of `importHelpers`, the tslib will be needed in package.json for installers using older versions of npm (or using yarn). [PR](https://github.com/amqp/rhea-promise/pull/16).
### 0.1.8 - 2018-10-22

@@ -8,3 +11,3 @@ - Allow setting drain property on the receiver [PR](https://github.com/amqp/rhea-promise/pull/14).

### 0.1.6 - 2018-09-28
- property `actionInitiated` is now of type `number` which is incremented when the `create`, `close`
- property `actionInitiated` is now of type `number` which is incremented when the `create`, `close`
action on an entity is under process and decremented when the action completes (succeeeded or failed).

@@ -14,3 +17,3 @@

- Improved log statements for better debugging.
- Any type of `error` event will be emitted with a tick delay. This would give enough time for the
- Any type of `error` event will be emitted with a tick delay. This would give enough time for the
`create()` methods to resolve the promise.

@@ -25,3 +28,3 @@ - Added a new `boolean` property `actionInitiated` which indicates whether the `create`, `close`

- Transform relevant objects in rhea EventContext to rhea-promise objects.
- Ensure that `container.createConnection()` creates a connection on that container and not on
- Ensure that `container.createConnection()` creates a connection on that container and not on
the default container.

@@ -36,2 +39,2 @@

### 0.1.0 - 2018-09-20
- Initial version of rhea-promise.
- Initial version of rhea-promise.

@@ -17,2 +17,5 @@ "use strict";

}
set drain(value) {
this._link.drain = value;
}
addCredit(credit) {

@@ -19,0 +22,0 @@ this._link.add_credit(credit);

@@ -64,2 +64,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

set drain(value: boolean) {
(this._link as RheaReceiver).drain = value;
}
addCredit(credit: number): void {

@@ -66,0 +70,0 @@ (this._link as RheaReceiver).add_credit(credit);

{
"name": "rhea-promise",
"version": "0.1.8",
"version": "0.1.9",
"description": "A Promisified layer over rhea AMQP client",

@@ -10,3 +10,4 @@ "license": "Apache-2.0",

"debug": "^3.1.0",
"rhea": "^0.3.3"
"rhea": "^0.3.3",
"tslib": "^1.9.3"
},

@@ -21,3 +22,3 @@ "keywords": [

"devDependencies": {
"@types/debug": "^0.0.30",
"@types/debug": "^0.0.31",
"@types/node": "^8.0.37",

@@ -28,4 +29,4 @@ "@types/dotenv": "^4.0.3",

"tslint": "^5.11.0",
"typescript": "^3.0.3",
"dotenv": "^6.0.0"
"typescript": "^3.1.3",
"dotenv": "^6.1.0"
},

@@ -38,3 +39,3 @@ "scripts": {

"test": "npm run build",
"prepare": "npm run build"
"prepack": "npm i && npm run build"
},

@@ -41,0 +42,0 @@ "homepage": "https://github.com/amqp/rhea-promise",

@@ -49,5 +49,5 @@ import { Session } from "./session";

constructor(session: Session, receiver: RheaReceiver, options?: ReceiverOptions);
readonly drain: boolean;
drain: boolean;
addCredit(credit: number): void;
setCreditWindow(creditWindow: number): void;
}

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