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.40 to 0.0.41

8

dist/init.js

@@ -31,2 +31,3 @@ // log provides a wrapper for console.log that prefixes 'libkernel'.

window.postMessage({
namespace: "libkernel",
method: "bridgeToKernelQuery",

@@ -78,11 +79,9 @@ nonce,

}
// Check that this message is a kernelResponse.
if (!("data" in event) || !("method" in event.data)) {
// Check that this message is a response targeting libkernel.
if (!("data" in event) || !("method" in event.data) || event.data.namespace !== "libkernel") {
return;
}
// Check that the method is a string.
if (typeof event.data.method !== "string") {
return;
}
// Check that the method is an inbound method.
if (!((event.data.method.endsWith("Response")) || (event.data.method.endsWith("ResponseUpdate")))) {

@@ -131,2 +130,3 @@ return;

window.postMessage({
namespace: "libkernel",
method: "bridgeTestQuery",

@@ -133,0 +133,0 @@ nonce: 0,

{
"name": "libkernel",
"version": "0.0.40",
"version": "0.0.41",
"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