bitcore-message
Advanced tools
Comparing version 0.10.1 to 0.11.0
{ | ||
"name": "bitcore-message", | ||
"main": "./bitcore-message.min.js", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"homepage": "https://github.com/bitpay/bitcore-message", | ||
@@ -6,0 +6,0 @@ "authors": [ |
{ | ||
"name": "bitcore-message", | ||
"version": "0.10.1", | ||
"version": "0.11.0", | ||
"description": "Bitcoin Messages for Bitcore", | ||
@@ -26,3 +26,3 @@ "author": "BitPay <dev@bitpay.com>", | ||
"dependencies": { | ||
"bitcore": "^0.11.4" | ||
"bitcore": "^0.12.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
@@ -26,3 +26,6 @@ <img src="http://bitcore.io/css/images/module-message.png" alt="bitcore message" height="35"> | ||
```javascript | ||
var privateKey = PrivateKey.fromWIF('cPBn5A4ikZvBTQ8D7NnvHZYCAxzDZ5Z2TSGW2LkyPiLxqYaJPBW4'); | ||
var bitcore = require('bitcore'); | ||
var Message = require('bitcore-message'); | ||
var privateKey = bitcore.PrivateKey.fromWIF('cPBn5A4ikZvBTQ8D7NnvHZYCAxzDZ5Z2TSGW2LkyPiLxqYaJPBW4'); | ||
var signature = Message('hello, world').sign(privateKey); | ||
@@ -29,0 +32,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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances 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
17776
15
51
2
+ Addedbitcore@0.12.15(transitive)
- Removedbitcore@0.11.7(transitive)
Updatedbitcore@^0.12.0