libkernel
Advanced tools
Comparing version 0.0.27 to 0.0.28
export declare function postKernelMessage(resolve: Function, reject: Function, message: any): void; | ||
export declare function init(): Promise<void>; | ||
export declare function init(): Promise<string>; |
@@ -43,3 +43,3 @@ // log provides a wrapper for console.log that prefixes 'libkernel'. | ||
bridgeExists = true; | ||
bridgeAvailable.resolve(); | ||
bridgeAvailable.resolve("bridge is available"); | ||
} | ||
@@ -120,3 +120,3 @@ else { | ||
bridgeExists = false; | ||
bridgeAvailable.reject("bridge unavailable, need skynet extension"); | ||
bridgeAvailable.reject(new Error("bridge unavailable, need skynet extension")); | ||
logErr("bridge did not respond after 2 seconds"); | ||
@@ -123,0 +123,0 @@ } |
{ | ||
"name": "libkernel", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "helper library to interact with the skynet kernel", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
8456