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.6 to 0.1.7

3

changelog.md

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

### 0.1.7 - 2018-10-19
- Fixed a bug while populating the connectionId [PR](https://github.com/amqp/rhea-promise/pull/11).
### 0.1.6 - 2018-09-28

@@ -2,0 +5,0 @@ - property `actionInitiated` is now of type `number` which is incremented when the `create`, `close`

2

dist/lib/eventContext.js

@@ -20,3 +20,3 @@ "use strict";

function translate(rheaContext, emitter, eventName) {
const connectionId = rheaContext.connection.options.id || "";
const connectionId = (rheaContext.connection && rheaContext.connection.options) ? rheaContext.connection.options.id : "";
log.contextTranslator("[%s] Translating the context for event: '%s'.", connectionId, eventName);

@@ -23,0 +23,0 @@ // initialize the result

@@ -97,3 +97,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved.

eventName: string): EventContext {
const connectionId = rheaContext.connection.options.id || "";
const connectionId = (rheaContext.connection && rheaContext.connection.options) ? rheaContext.connection.options.id : "";
log.contextTranslator("[%s] Translating the context for event: '%s'.", connectionId, eventName);

@@ -100,0 +100,0 @@ // initialize the result

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

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

"debug": "^3.1.0",
"rhea": "^0.3.2"
"rhea": "^0.3.3"
},

@@ -24,2 +24,3 @@ "keywords": [

"@types/dotenv": "^4.0.3",
"rimraf": "^2.6.2",
"ts-node": "^7.0.1",

@@ -33,2 +34,3 @@ "tslint": "^5.11.0",

"tsc": "tsc",
"prebuild": "rimraf dist && rimraf typings",
"build": "npm run tslint && npm run tsc",

@@ -35,0 +37,0 @@ "test": "npm run build",

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