libkernel
Advanced tools
Comparing version 0.0.8 to 0.0.9
var bridgeExists; | ||
var bridgeAvailable; | ||
var bridgePromise = new Promise((resolve, reject) => { | ||
console.log("[libkernel] bridge confirmed to be available"); | ||
bridgeAvailable = { resolve, reject }; | ||
@@ -21,2 +20,3 @@ }); | ||
if (bridgeExists !== false) { | ||
console.log("[libkernel] bridge confirmed to be available"); | ||
bridgeExists = true; | ||
@@ -75,3 +75,2 @@ bridgeAvailable.resolve(); | ||
} | ||
console.log("[libkernel] received unrecognized method from bridge\n", event); | ||
} | ||
@@ -100,2 +99,5 @@ // init will add an event listener for messages from the kernel bridge. | ||
} | ||
else { | ||
console.log("[libkernel] bridge okay after timeout"); | ||
} | ||
}, 100); | ||
@@ -102,0 +104,0 @@ }); |
{ | ||
"name": "libkernel", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "helper library to interact with the skynet kernel", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
5099
138