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.62 to 0.0.63

2

dist/index.d.ts

@@ -6,3 +6,3 @@ export { blake2b } from "./blake2b.js";

export { init, newKernelQuery } from "./init.js";
export { blake2bMerkleRoot } from "./merkle.js";
export { addLeafBytesToBlake2bProofStack, blake2bMerkleRoot, blake2bProofStackRoot } from "./merkle.js";
export { testMessage, callModule, upload, padAndEncrypt } from "./messages.js";

@@ -9,0 +9,0 @@ export { taggedRegistryEntryKeys, deriveRegistryEntryID, resolverLink } from "./registry.js";

@@ -6,3 +6,3 @@ export { blake2b } from "./blake2b.js";

export { init, newKernelQuery } from "./init.js";
export { blake2bMerkleRoot } from "./merkle.js";
export { addLeafBytesToBlake2bProofStack, blake2bMerkleRoot, blake2bProofStackRoot } from "./merkle.js";
export { testMessage, callModule, upload, padAndEncrypt } from "./messages.js";

@@ -9,0 +9,0 @@ export { taggedRegistryEntryKeys, deriveRegistryEntryID, resolverLink } from "./registry.js";

@@ -0,3 +1,9 @@

interface blake2bProofStack {
subtreeRoots: Uint8Array[];
subtreeHeights: number[];
}
declare function addLeafBytesToBlake2bProofStack(ps: blake2bProofStack, leafBytes: Uint8Array): string | null;
declare function blake2bProofStackRoot(ps: blake2bProofStack): [Uint8Array, string | null];
declare function blake2bVerifySectorRangeProof(root: Uint8Array, data: Uint8Array, rangeStart: number, rangeEnd: number, proof: Uint8Array): string | null;
declare function blake2bMerkleRoot(data: Uint8Array): [Uint8Array, string | null];
export { blake2bVerifySectorRangeProof, blake2bMerkleRoot };
export { addLeafBytesToBlake2bProofStack, blake2bVerifySectorRangeProof, blake2bMerkleRoot, blake2bProofStackRoot };

@@ -229,2 +229,2 @@ import { addContextToErr } from "./err.js";

}
export { blake2bVerifySectorRangeProof, blake2bMerkleRoot };
export { addLeafBytesToBlake2bProofStack, blake2bVerifySectorRangeProof, blake2bMerkleRoot, blake2bProofStackRoot };
{
"name": "libkernel",
"version": "0.0.62",
"version": "0.0.63",
"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