harcon-amqp
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -111,4 +111,2 @@ 'use strict' | ||
amqpbarrel.newEntity = function ( division, context, name, callback) { | ||
if ( this.ins[division] && this.ins[division][name] ) return callback() | ||
if ( !this.ins[division] ) this.ins[division] = [] | ||
@@ -118,9 +116,10 @@ | ||
let fns = [] | ||
if (context) | ||
if (context && !this.ins[division][context] ) | ||
fns.push(function (cb) { | ||
self.createIn( division, context, cb ) | ||
}) | ||
fns.push(function (cb) { | ||
self.createIn( division, name, cb ) | ||
}) | ||
if (!this.ins[division][name] ) | ||
fns.push(function (cb) { | ||
self.createIn( division, name, cb ) | ||
}) | ||
async.series( fns, callback ) | ||
@@ -127,0 +126,0 @@ } |
{ | ||
"name": "harcon-amqp", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "AMQP plugin for the harcon messaging/service bus of node-based enterprise entities.", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"async": "^1.5.2", | ||
"harcon": "^3.8.0", | ||
"harcon": "^3.8.1", | ||
"rabbit.js": "^0.4.4" | ||
@@ -30,0 +30,0 @@ }, |
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
30454
Updatedharcon@^3.8.1