Comparing version 9.2.0 to 9.2.1
@@ -8,2 +8,3 @@ let Cerobee = require('clerobee') | ||
const CronJob = require('cron').CronJob | ||
let Proback = require('proback.js') | ||
@@ -31,5 +32,7 @@ module.exports = function (self) { | ||
blow: async function (newComm) { | ||
self.blower.blow( newComm ) | ||
await self.barrel.intoxicate( newComm ) | ||
return OK | ||
return new Promise( async function (resolve, reject) { | ||
newComm.callback = Proback.handler(null, resolve, reject) | ||
self.blower.blow( newComm ) | ||
await self.barrel.intoxicate( newComm ) | ||
} ) | ||
}, | ||
@@ -36,0 +39,0 @@ request: self.auditor ? async function ( ...params ) { |
@@ -209,3 +209,3 @@ let Communication = require('./Communication') | ||
*/ | ||
let terms = assigner.cloneObject( comm.terms ) | ||
let terms = assigner.cloneObject( comm.terms ) || {} | ||
terms.sourceComm = comm.shallow() | ||
@@ -212,0 +212,0 @@ |
{ | ||
"name": "harcon", | ||
"version": "9.2.0", | ||
"version": "9.2.1", | ||
"description": "Messaging/Service Bus for the harmonic convergence of node-based enterprise entities.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -63,3 +63,3 @@ const assert = require('assert') | ||
}) | ||
/* | ||
describe('Test Harcon system calls', function () { | ||
@@ -108,3 +108,3 @@ it('Retrieve divisions...', async function () { | ||
}) | ||
*/ | ||
describe('simple messages', function () { | ||
@@ -133,3 +133,3 @@ it('Alize dormir', async function () { | ||
}) | ||
/* | ||
describe('Harcon broadcasting', function () { | ||
@@ -325,3 +325,3 @@ it('Broatcasting', async function () { | ||
}) | ||
*/ | ||
after(async function () { | ||
@@ -328,0 +328,0 @@ if (inflicter) { |
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
647496
4225