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

libkernelalpha

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libkernelalpha - npm Package Compare versions

Comparing version 0.0.102 to 0.0.103

2

dist/index.d.ts
export { addContextToErr, composeErr } from "./err.js";
export { testMessage } from "./messagetest.js";
export { callModule, init } from "./queries.js";
export { callModule, connectModule, init } from "./queries.js";
export { addContextToErr, composeErr } from "./err.js";
export { testMessage } from "./messagetest.js";
export { callModule, init } from "./queries.js";
export { callModule, connectModule, init } from "./queries.js";

@@ -5,2 +5,3 @@ import { dataFn, error, errTuple } from "libskynet";

declare function callModule(module: string, method: string, data?: any): Promise<errTuple>;
export { callModule, init, newKernelQuery };
declare function connectModule(module: string, method: string, data: any, receiveUpdate: dataFn): [sendUpdate: dataFn, response: Promise<errTuple>];
export { callModule, connectModule, init, newKernelQuery };

@@ -305,2 +305,10 @@ // TODO: Change 'getKernelNonce' to 'sendKernelNonce'

}
export { callModule, init, newKernelQuery };
function connectModule(module, method, data, receiveUpdate) {
let moduleCallData = {
module,
method,
data,
};
return newKernelQuery("moduleCall", moduleCallData, true, receiveUpdate);
}
export { callModule, connectModule, init, newKernelQuery };
{
"name": "libkernelalpha",
"version": "0.0.102",
"version": "0.0.103",
"description": "helper library to interact with skynet and 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