harcon-amqp
Advanced tools
Comparing version 9.2.0 to 9.2.1
@@ -16,2 +16,6 @@ let _ = require('isa.js') | ||
const fs = require('fs') | ||
const path = require('path') | ||
let VERSION = exports.VERSION = JSON.parse( fs.readFileSync( path.join( process.cwd(), 'package.json'), 'utf8' ) ).version | ||
let errorAttribs = [ 'code', 'message', 'errorCode', 'id', 'reason', 'params' ] | ||
@@ -120,3 +124,8 @@ function printError (err) { | ||
self.presences[ status.division ][ status.entity ][ status.nodeID ] = { timestamp: Date.now(), warper: self.warper.inpose( status.warper ) } | ||
self.presences[ status.division ][ status.entity ][ status.nodeID ] = { | ||
timestamp: Date.now(), | ||
warper: self.warper.inpose( status.warper ), | ||
projectVersion: status.projectVersion, | ||
entityVersion: status.entityVersion | ||
} | ||
} catch (err) { self.logger.harconlog( err ) } | ||
@@ -341,3 +350,4 @@ }, true ) | ||
self.outs[ division ].publish( DIVISION_REPORTS, JSON.stringify( { | ||
division: division, entity: entity, nodeID: self.nodeID, warper: self.warper.expose() | ||
division: division, entity: entity, nodeID: self.nodeID, warper: self.warper.expose(), | ||
projectVersion: VERSION, entityVersion: entity.version || '1.0.0' | ||
} ), 'utf8') | ||
@@ -344,0 +354,0 @@ } ) |
{ | ||
"name": "harcon-amqp", | ||
"version": "9.2.0", | ||
"version": "9.2.1", | ||
"description": "AMQP plugin for the harcon messaging/service bus of node-based enterprise entities.", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"pino": "~5", | ||
"pino-pretty": "~2", | ||
"pino-pretty": "~3", | ||
"watch": "^1.0.2" | ||
@@ -41,0 +41,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
39813
1007
3