dashphrase
Advanced tools
Comparing version 1.3.9 to 1.4.0
@@ -28,3 +28,3 @@ /** | ||
let crypto = globalThis.crypto || require("node:crypto"); | ||
let crypto = globalThis.crypto; | ||
@@ -274,5 +274,5 @@ // See BIP-39 Spec at https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki | ||
.split(" "); | ||
// @ts-ignore | ||
window.DashPhrase = DashPhrase | ||
window.DashPhrase = DashPhrase; | ||
})(globalThis.window || {}, DashPhrase); | ||
@@ -279,0 +279,0 @@ if ("object" === typeof module) { |
{ | ||
"name": "dashphrase", | ||
"version": "1.3.9", | ||
"version": "1.4.0", | ||
"description": "Dash HD Wallet Recovery Phrase generator. Secure, lightweight, BIP-39-compatible Base2048 mnemonic word lists. Works in Node, Bundlers, and Browsers.", | ||
@@ -17,3 +17,4 @@ "main": "dashphrase.js", | ||
"lint": "npx -p typescript@4.x -- tsc -p ./jsconfig.json", | ||
"test": "open index.html" | ||
"test": "node ./test.js", | ||
"test-browser": "open ./index.html" | ||
}, | ||
@@ -20,0 +21,0 @@ "repository": { |
@@ -17,2 +17,3 @@ # [DashPhrase.js][dashphrasejs] | ||
- [x] [CLI](https://github.com/dashhive/dashphrase-cli) | ||
- [x] Base2048 (BIP-0039 compliant) | ||
@@ -35,4 +36,10 @@ - [x] Easy to retype on different devices | ||
**Node**, **Bun**, & **Bundlers**: | ||
### CLI | ||
See [`dashphrase-cli`](https://github.com/dashhive/dashphrase-cli): | ||
- <https://github.com/dashhive/dashphrase-cli> | ||
### Node, Bun, & Bundlers | ||
```sh | ||
@@ -39,0 +46,0 @@ npm install --save dashphrase@1.2.2 |
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
45076
313
0