@chainx/util-crypto
Advanced tools
Comparing version 2.20.2 to 2.21.0-alpha.0
@@ -20,3 +20,3 @@ 'use strict'; | ||
const mnemonic = (0, _generate.default)(); | ||
console.error(mnemonic); | ||
console.debug(mnemonic); | ||
expect((0, _validate.default)(mnemonic)).toEqual(true); | ||
@@ -28,3 +28,3 @@ }); | ||
const isValid = (0, _validate.default)(mnemonic); | ||
console.error(mnemonic); | ||
console.debug(mnemonic); | ||
expect(mnemonic.split(' ')).toHaveLength(num); | ||
@@ -31,0 +31,0 @@ expect(isValid).toEqual(true); |
{ | ||
"name": "@chainx/util-crypto", | ||
"version": "2.20.2", | ||
"version": "2.21.0-alpha.0", | ||
"description": "A collection of useful crypto utilities for @polkadot", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "36f367bc21988d55c7ad5c20be035c8299cd7fd1" | ||
"gitHead": "fa8f01c8999f1ce437dfd625eaa1b9f62277e08d" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
145116
2