bitcore-lib-dash
Advanced tools
Comparing version 0.15.0 to 0.15.2
{ | ||
"name": "bitcore-lib", | ||
"main": "./bitcore-lib.min.js", | ||
"version": "0.14.3", | ||
"homepage": "http://bitcore.io", | ||
"name": "bitcore-lib-dash", | ||
"main": "./bitcore-lib-dash.min.js", | ||
"version": "0.15.2", | ||
"homepage": "https://github.com/dashevo/bitcore-lib-dash", | ||
"authors": [ | ||
"BitPay, Inc." | ||
"Dash", "BitPay, Inc." | ||
], | ||
"description": "A pure, powerful core for your bitcoin project.", | ||
"description": "A pure, powerful core for your dash project.", | ||
"moduleType": [ | ||
@@ -14,2 +14,3 @@ "globals" | ||
"keywords": [ | ||
"dash", | ||
"bitcoin", | ||
@@ -16,0 +17,0 @@ "bitcore", |
@@ -83,2 +83,6 @@ 'use strict'; | ||
} | ||
var receivedValue = proposal[expectedPropName]; | ||
if (receivedType === "number" && isNaN(receivedValue)) { | ||
throw new Error('Must be a valid JSON - Expected property ' + expectedPropName + ' to be a number'); | ||
} | ||
self[expectedPropName] = proposal[expectedPropName]; | ||
@@ -85,0 +89,0 @@ }); |
@@ -352,3 +352,3 @@ 'use strict'; | ||
if (arg instanceof Transaction) { | ||
transaction = transaction.toObject(); | ||
transaction = arg.toObject(); | ||
} else { | ||
@@ -355,0 +355,0 @@ transaction = arg; |
{ | ||
"name": "bitcore-lib-dash", | ||
"version": "0.15.0", | ||
"version": "0.15.2", | ||
"description": "A pure and powerful JavaScript Dash library.", | ||
@@ -109,3 +109,3 @@ "author": "BitPay <dev@bitpay.com>", | ||
"devDependencies": { | ||
"bitcore-build-dash": "dashpay/bitcore-build-dash", | ||
"bitcore-build-dash": "dashevo/bitcore-build-dash", | ||
"browserify": "latest", | ||
@@ -112,0 +112,0 @@ "brfs": "^1.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
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
5186919
147
91775
0
5