rhea-promise
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -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` |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
233777
8
Updatedrhea@^0.3.3