libkernel
Advanced tools
Comparing version 0.0.62 to 0.0.63
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109277
3754