Build: 0.8.5

This commit is contained in:
Manuel Araoz 2014-12-24 11:53:08 -03:00
parent 2b7568739c
commit cb0dd22385
4 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"name": "bitcore",
"main": "browser/bitcore.min.js",
"version": "0.8.4",
"version": "0.8.5",
"homepage": "http://bitcore.io",
"authors": [
"BitPay, Inc."

View File

@ -121,9 +121,7 @@ function Address(data, network, type) {
return data;
}
if (!data) {
throw new TypeError('First argument is required, please include address data.');
}
$.checkArgument(data, new TypeError('First argument is required, please include address data.'));
if (network && !Networks.get(network)) {
throw new TypeError('Second argument must be "livenet" or "testnet".');

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "bitcore",
"version": "0.8.4",
"version": "0.8.5",
"description": "A pure and powerful JavaScript Bitcoin library.",
"author": "BitPay <dev@bitpay.com>",
"main": "index.js",