Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libkernel

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libkernel - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

dist/messages.js
// Establish a system for matching messages to the kernel with responses from
// the kernel.
var nextNonce = 0;
var nextNonce = 1;
var queries = new Object();

@@ -26,2 +26,3 @@ // handleMessage will handle a message from the kernel, using the reponse to

if (event.data.resp !== null) {
console.log("trying to do a resolve");
let resolve = queries[event.data.nonce].resolve;

@@ -31,2 +32,3 @@ resolve(event.data.resp);

else if (event.data.resp !== null) {
console.log("trying to do a reject");
let reject = queries[event.data.nonce].reject;

@@ -33,0 +35,0 @@ reject(event.data.err);

{
"name": "libkernel",
"version": "0.0.5",
"version": "0.0.6",
"description": "helper library to interact with the skynet kernel",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc