4 Commits

Author SHA1 Message Date
463b4db091 1.0.7 2019-04-09 12:34:16 +02:00
66f463549d fix(core): update 2019-04-09 12:34:15 +02:00
ea47e1afc0 1.0.6 2019-04-09 12:33:46 +02:00
68132b996b fix(core): update 2019-04-09 12:33:46 +02:00
4 changed files with 7 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartipc",
"version": "1.0.5",
"version": "1.0.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartipc",
"version": "1.0.5",
"version": "1.0.7",
"private": false,
"description": "node inter process communication",
"main": "dist/index.js",

View File

@ -30,7 +30,7 @@ tap.test('should create a client', async tools => {
clientIpc.sendMessage('hi', { awesome: 'yes' });
});
tap.test('should terminate the smartipc process', async (tools) => {
tap.test('should terminate the smartipc process', async tools => {
await tools.delayFor(1000);
await clientIpc.stop();
await serverIpc.stop();

View File

@ -53,7 +53,7 @@ export class SmartIpc {
}
for (const handler of this.handlers) {
ipcEventEmitter.on(handler.keyword, (dataArg) => {
ipcEventEmitter.on(handler.keyword, dataArg => {
handler.handlerFunc(dataArg);
});
}