New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cryptoeconomicslab/merkle-tree

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptoeconomicslab/merkle-tree - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

18

lib/DoubleLayerTree.js

@@ -16,8 +16,8 @@ "use strict";

{
key: 'addressInclusionProof',
value: this.addressInclusionProof.toStruct()
},
{
key: 'intervalInclusionProof',
value: this.intervalInclusionProof.toStruct()
},
{
key: 'addressInclusionProof',
value: this.addressInclusionProof.toStruct()
}

@@ -27,3 +27,3 @@ ]);

static fromStruct(s) {
return new DoubleLayerInclusionProof(IntervalTree_1.IntervalTreeInclusionProof.fromStruct(s.data[0].value), AddressTree_1.AddressTreeInclusionProof.fromStruct(s.data[1].value));
return new DoubleLayerInclusionProof(IntervalTree_1.IntervalTreeInclusionProof.fromStruct(s.data[1].value), AddressTree_1.AddressTreeInclusionProof.fromStruct(s.data[0].value));
}

@@ -33,8 +33,8 @@ static getParamType() {

{
key: 'addressInclusionProof',
value: AddressTree_1.AddressTreeInclusionProof.getParamType()
},
{
key: 'intervalInclusionProof',
value: IntervalTree_1.IntervalTreeInclusionProof.getParamType()
},
{
key: 'addressInclusionProof',
value: AddressTree_1.AddressTreeInclusionProof.getParamType()
}

@@ -41,0 +41,0 @@ ]);

{
"name": "@cryptoeconomicslab/merkle-tree",
"version": "0.0.27",
"version": "0.0.28",
"description": "merkle tree implementation",

@@ -32,9 +32,9 @@ "author": {

"dependencies": {
"@cryptoeconomicslab/hash": "^0.0.27",
"@cryptoeconomicslab/utils": "^0.0.27",
"@cryptoeconomicslab/hash": "^0.0.28",
"@cryptoeconomicslab/utils": "^0.0.28",
"jsbi": "^3.1.1"
},
"devDependencies": {
"@cryptoeconomicslab/coder": "^0.0.27",
"@cryptoeconomicslab/primitives": "^0.0.27"
"@cryptoeconomicslab/coder": "^0.0.28",
"@cryptoeconomicslab/primitives": "^0.0.28"
},

@@ -44,3 +44,3 @@ "peerDependencies": {

},
"gitHead": "ebf178e1728febb981163a17be3e0aa13b0268ad"
"gitHead": "a826c6358355682efa9a2c46653bac780a828e22"
}

Sorry, the diff of this file is not supported yet

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