libkernel
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -33,9 +33,4 @@ import { logErr, init, postKernelQuery } from './init'; | ||
}) | ||
.catch(response => { | ||
if (!("err" in response) || typeof response.err !== "string") { | ||
logErr("unrecognized response in postKernelQuery catch", response); | ||
reject("unrecognized repsonse"); | ||
return; | ||
} | ||
reject(response.err); | ||
.catch(err => { | ||
reject(err); | ||
}); | ||
@@ -106,4 +101,4 @@ }) | ||
}) | ||
.catch(response => { | ||
reject(response.err); | ||
.catch(err => { | ||
reject(err); | ||
}); | ||
@@ -110,0 +105,0 @@ }) |
{ | ||
"name": "libkernel", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"description": "helper library to interact with the skynet kernel", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
11429
295