prepped for publish
This commit is contained in:
parent
bd967c7513
commit
23b2642041
3 changed files with 5 additions and 4 deletions
|
@ -25,7 +25,7 @@ function init(config,log){
|
||||||
}
|
}
|
||||||
|
|
||||||
function emit(type,data){
|
function emit(type,data){
|
||||||
this.log('dispatching event to '.debug, this.id.variable, this.path.variable,' : ', type.data,',', data);
|
this.log('dispatching event to '.debug, (this.id).variable, this.path.variable,' : ', type.data,',', data);
|
||||||
|
|
||||||
let message=new Message;
|
let message=new Message;
|
||||||
message.type=type;
|
message.type=type;
|
||||||
|
@ -48,7 +48,7 @@ function emit(type,data){
|
||||||
}
|
}
|
||||||
|
|
||||||
function syncEmit(message){
|
function syncEmit(message){
|
||||||
this.log('dispatching event to '.debug, this.id.variable, this.path.variable,' : ', message.data);
|
this.log('dispatching event to '.debug, (this.id).variable, this.path.variable,' : ', message.data);
|
||||||
this.socket.write(message);
|
this.socket.write(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ function connect(){
|
||||||
){
|
){
|
||||||
client.trigger('disconnect');
|
client.trigger('disconnect');
|
||||||
client.log(
|
client.log(
|
||||||
client.config.id.variable,
|
(client.config.id).variable,
|
||||||
'exceeded connection rety amount of'.warn,
|
'exceeded connection rety amount of'.warn,
|
||||||
' or stopRetrying flag set.'
|
' or stopRetrying flag set.'
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
|
|
||||||
class Defaults{
|
class Defaults{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "node-ipc",
|
"name": "node-ipc",
|
||||||
"version": "5.2.0",
|
"version": "6.0.0",
|
||||||
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
|
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.",
|
||||||
"main": "node-ipc.js",
|
"main": "node-ipc.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
Loading…
Reference in a new issue