@cryptoeconomicslab/merkle-tree
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
+ Added@cryptoeconomicslab/hash@0.0.28(transitive)
+ Added@cryptoeconomicslab/utils@0.0.28(transitive)
- Removed@cryptoeconomicslab/hash@0.0.27(transitive)
- Removed@cryptoeconomicslab/utils@0.0.27(transitive)