Socket
Socket
Sign inDemoInstall

merkletreejs

Package Overview
Dependencies
23
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.8 to 0.3.9

dist/MerkleSumTree.d.ts

1

dist/index.d.ts

@@ -5,2 +5,3 @@ import MerkleTree from './MerkleTree';

export { IncrementalMerkleTree } from './IncrementalMerkleTree';
export { MerkleSumTree } from './MerkleSumTree';
export default MerkleTree;

@@ -13,2 +13,4 @@ "use strict";

Object.defineProperty(exports, "IncrementalMerkleTree", { enumerable: true, get: function () { return IncrementalMerkleTree_1.IncrementalMerkleTree; } });
var MerkleSumTree_1 = require("./MerkleSumTree");
Object.defineProperty(exports, "MerkleSumTree", { enumerable: true, get: function () { return MerkleSumTree_1.MerkleSumTree; } });
exports.default = MerkleTree_1.default;

2

package.json
{
"name": "merkletreejs",
"version": "0.3.8",
"version": "0.3.9",
"description": "Construct Merkle Trees and verify proofs",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -102,7 +102,7 @@ <h3 align="center">

<img src="https://user-images.githubusercontent.com/168240/43616387-27ec860a-9671-11e8-9f3f-0b871a6581a6.png" alt="Merkle Tree Proof" width="420">
<img src="https://user-images.githubusercontent.com/168240/204968384-dbd16f5b-415c-4cc6-b993-5bbd7599ec8b.png" alt="Merkle Tree Proof" width="420">
▾ Visualization of Invalid Merkle Tree Proofs
<img src="https://user-images.githubusercontent.com/168240/43616398-33e20584-9671-11e8-9f62-9f48ce412898.png" alt="Merkle Tree Proof" width="420">
<img src="https://user-images.githubusercontent.com/168240/204968414-fefedb52-d27f-4b14-bf70-e3f96a50b6a3.png" alt="Merkle Tree Proof" width="420">

@@ -134,2 +134,6 @@ ▾ Visualization of Bitcoin Merkle Tree

- Q: What other types of merkle trees are supported?
- Besides standard `MerkleTree`, there's also `MerkleMountainRange`, `MerkleSumTree`, and `IncrementalMerkleTree` implemenation classes available.
- Q: Is there a CLI version of this library?

@@ -136,0 +140,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc