Skip to content

Commit

Permalink
fix: export ListUintNum64Type (#353)
Browse files Browse the repository at this point in the history
* fix: export ListUintNum64Type

* fix: modify readme in order to release a new version
  • Loading branch information
twoeths committed Mar 15, 2024
1 parent 39b39b4 commit 30e3deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/persistent-merkle-tree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const branch = new BranchNode(leaf, otherLeaf);

// The `root` property returns the merkle root of a Node

const r: Uint8Array = branch.root; // == hash(leaf.root, otherLeaf.root));
// this is equal to `hash(leaf.root, otherLeaf.root));`
const r: Uint8Array = branch.root;

// The `isLeaf` method returns true if the Node is a LeafNode

Expand Down
1 change: 1 addition & 0 deletions packages/ssz/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export {UnionType} from "./type/union";
export {OptionalType} from "./type/optional";
export {VectorBasicType} from "./type/vectorBasic";
export {VectorCompositeType} from "./type/vectorComposite";
export {ListUintNum64Type} from "./type/listUintNum64";

// Base types
export {ArrayType} from "./type/array";
Expand Down

0 comments on commit 30e3deb

Please sign in to comment.