merkletreejs
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -87,3 +87,3 @@ "use strict"; | ||
const left = nodes[i]; | ||
let right = i + 1 === nodes.length ? left : nodes[i + 1]; | ||
const right = i + 1 === nodes.length ? left : nodes[i + 1]; | ||
let data = null; | ||
@@ -90,0 +90,0 @@ let combined = null; |
{ | ||
"name": "merkletreejs", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Construct Merkle Trees and verify proofs", | ||
@@ -15,3 +15,4 @@ "main": "dist/index.js", | ||
"lint": "standardx --fix index.ts test/*.js", | ||
"docs": "rm -rf docs/ && typedoc --plugin typedoc-plugin-markdown -hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts" | ||
"docs": "rm -rf docs/ && typedoc --plugin typedoc-plugin-markdown -hideSources --theme markdown --hideGenerator --excludeExternals --excludePrivate --out docs index.ts", | ||
"prepare": "npm run lint && npm run build" | ||
}, | ||
@@ -18,0 +19,0 @@ "repository": { |
64269