merkletreejs
Advanced tools
Comparing version 0.0.22 to 0.0.23
{ | ||
"name": "merkletreejs", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Construct Merkle Trees and verify proofs", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"main": "dist/index.js", | ||
"types": "typings/merkletreejs/*", | ||
"scripts": { | ||
"test": "tape test/*.js", | ||
"build": "rm -rf dist/ && tsc", | ||
"docs:md": "node jsdoc.js" | ||
@@ -39,2 +40,3 @@ }, | ||
"devDependencies": { | ||
"@types/node": "^11.12.1", | ||
"crypto": "0.0.3", | ||
@@ -41,0 +43,0 @@ "ethereumjs-util": "^5.1.2", |
@@ -57,3 +57,3 @@ <h3 align="center"> | ||
```js | ||
const MerkleTree = require('merkletreejs') | ||
const { MerkleTree } = require('merkletreejs') | ||
const SHA256 = require('crypto-js/sha256') | ||
@@ -143,3 +143,3 @@ | ||
```js | ||
const MerkleTree = require('merkletreejs') | ||
const { MerkleTree } = require('merkletreejs') | ||
const crypto = require('crypto') | ||
@@ -282,3 +282,3 @@ | ||
```js | ||
const MerkleTree = require('merkletreejs') | ||
const { MerkleTree } = require('merkletreejs') | ||
const crypto = require('crypto') | ||
@@ -285,0 +285,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
277703
22
1007
5
1