libkernel
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -118,9 +118,3 @@ // log provides a wrapper for console.log that prefixes 'libkernel'. | ||
function handleKernelResponse(resolve, reject, data) { | ||
// Check that the response is well formed. | ||
if (!("response" in data)) { | ||
logErr("no response returned to bridge\n", data); | ||
reject("no response returned to bridge: " + JSON.stringify(data)); | ||
return; | ||
} | ||
resolve(data.response); | ||
resolve(data); | ||
} | ||
@@ -127,0 +121,0 @@ // handleMessage will handle a message from the kernel, using the response to |
{ | ||
"name": "libkernel", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "helper library to interact with the skynet kernel", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
14988
375