cashaddrjs
Advanced tools
Comparing version 0.1.5 to 0.1.8
{ | ||
"name": "cashaddrjs", | ||
"version": "0.1.5", | ||
"version": "0.1.8", | ||
"description": "Bitcoin Cash cashaddr address format support for Node.js and web browsers.", | ||
@@ -10,2 +10,7 @@ "main": "src/cashaddr.js", | ||
"coveralls": "npx nyc report --reporter=text-lcov | npx coveralls", | ||
"readme": "npx mustache package.json README.mst > README.md && git add -A README.md", | ||
"preversion": "npm test", | ||
"version": "rm dist/* && npm run build && git add -A dist && npm run readme", | ||
"postversion": "git push && git push --tags", | ||
"bump": "npm version patch -m 'Bump to %s.'", | ||
"docs": "sh scripts/docs.sh" | ||
@@ -44,2 +49,3 @@ }, | ||
"mocha-eslint": "^4.1.0", | ||
"mustache": "^2.3.0", | ||
"nyc": "^11.4.1", | ||
@@ -46,0 +52,0 @@ "random-js": "^1.0.8", |
@@ -27,3 +27,3 @@ # CashAddr.js: The new Bitcoin Cash address format for Node.js and web browsers. | ||
You may also download the distribution file manually and place it within your third-party scripts directory: [dist/cashaddrjs-0.1.5.min.js](https://cdn.rawgit.com/bitcoincashjs/cashaddrjs/master/dist/cashaddrjs-0.1.5.min.js). | ||
You may also download the distribution file manually and place it within your third-party scripts directory: [dist/cashaddrjs-0.1.8.min.js](https://cdn.rawgit.com/bitcoincashjs/cashaddrjs/master/dist/cashaddrjs-0.1.8.min.js). | ||
@@ -49,3 +49,3 @@ ## Usage | ||
console.log(decoded.prefix); // 'bitcoincash' | ||
console.log(decoded.type); // 'P2KH' | ||
console.log(decoded.type); // 'P2PKH' | ||
console.log(decoded.hash); // [ 118, 160, ..., 115 ] | ||
@@ -64,3 +64,3 @@ ``` | ||
... | ||
<script src="https://cdn.rawgit.com/bitcoincashjs/cashaddrjs/master/dist/cashaddrjs-0.1.5.min.js"></script> | ||
<script src="https://cdn.rawgit.com/bitcoincashjs/cashaddrjs/master/dist/cashaddrjs-0.1.8.min.js"></script> | ||
</head> | ||
@@ -67,0 +67,0 @@ ... |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1091560
47
17