@chainsafe/persistent-merkle-tree
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -6,2 +6,16 @@ # Change Log | ||
## [0.6.1](https://github.com/ChainSafe/ssz/compare/persistent-merkle-tree-v0.6.0...persistent-merkle-tree-v0.6.1) (2023-04-21) | ||
### Bug Fixes | ||
* Use file path imports ([#318](https://github.com/ChainSafe/ssz/issues/318)) ([f459e92](https://github.com/ChainSafe/ssz/commit/f459e92fbafc5d9388bfa630291855ec32a09566)) | ||
### Dependencies | ||
* The following workspace dependencies were updated | ||
* dependencies | ||
* @chainsafe/as-sha256 bumped to 0.4.1 | ||
## [0.6.0](https://github.com/ChainSafe/ssz/compare/persistent-merkle-tree-v0.5.0...persistent-merkle-tree-v0.6.0) (2023-04-05) | ||
@@ -8,0 +22,0 @@ |
import { Hasher } from "./types"; | ||
export { HashObject } from "@chainsafe/as-sha256/hashObject"; | ||
export { HashObject } from "@chainsafe/as-sha256/lib/hashObject"; | ||
export * from "./types"; | ||
@@ -4,0 +4,0 @@ export * from "./util"; |
@@ -1,2 +0,2 @@ | ||
import type { HashObject } from "@chainsafe/as-sha256/hashObject"; | ||
import type { HashObject } from "@chainsafe/as-sha256/lib/hashObject"; | ||
export declare type Hasher = { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { HashObject } from "@chainsafe/as-sha256/hashObject"; | ||
import { HashObject } from "@chainsafe/as-sha256/lib/hashObject"; | ||
export declare function hashObjectToUint8Array(obj: HashObject): Uint8Array; | ||
export declare function uint8ArrayToHashObject(byteArr: Uint8Array): HashObject; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.uint8ArrayToHashObject = exports.hashObjectToUint8Array = void 0; | ||
const hashObject_1 = require("@chainsafe/as-sha256/hashObject"); | ||
const hashObject_1 = require("@chainsafe/as-sha256/lib/hashObject"); | ||
function hashObjectToUint8Array(obj) { | ||
@@ -6,0 +6,0 @@ const byteArr = new Uint8Array(32); |
@@ -1,2 +0,2 @@ | ||
import { HashObject } from "@chainsafe/as-sha256/hashObject"; | ||
import { HashObject } from "@chainsafe/as-sha256/lib/hashObject"; | ||
/** | ||
@@ -3,0 +3,0 @@ * An immutable binary merkle tree node |
{ | ||
"name": "@chainsafe/persistent-merkle-tree", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Merkle tree implemented as a persistent datastructure", | ||
"main": "lib/index.js", | ||
"exports": { | ||
".": "./lib/index.js", | ||
"./hasher": "./lib/hasher/index.js", | ||
"./hasher/as-sha256": "./lib/hasher/as-sha256.js", | ||
"./hasher/noble": "./lib/hasher/noble.js" | ||
}, | ||
"typesVersions": { | ||
@@ -53,5 +47,5 @@ "*": { | ||
"dependencies": { | ||
"@chainsafe/as-sha256": "^0.4.0", | ||
"@chainsafe/as-sha256": "^0.4.1", | ||
"@noble/hashes": "^1.3.0" | ||
} | ||
} |
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
122538
Updated@chainsafe/as-sha256@^0.4.1