Build: 0.8.5
This commit is contained in:
parent
2b7568739c
commit
cb0dd22385
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bitcore",
|
"name": "bitcore",
|
||||||
"main": "browser/bitcore.min.js",
|
"main": "browser/bitcore.min.js",
|
||||||
"version": "0.8.4",
|
"version": "0.8.5",
|
||||||
"homepage": "http://bitcore.io",
|
"homepage": "http://bitcore.io",
|
||||||
"authors": [
|
"authors": [
|
||||||
"BitPay, Inc."
|
"BitPay, Inc."
|
||||||
|
|||||||
@ -121,9 +121,7 @@ function Address(data, network, type) {
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data) {
|
$.checkArgument(data, new TypeError('First argument is required, please include address data.'));
|
||||||
throw new TypeError('First argument is required, please include address data.');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (network && !Networks.get(network)) {
|
if (network && !Networks.get(network)) {
|
||||||
throw new TypeError('Second argument must be "livenet" or "testnet".');
|
throw new TypeError('Second argument must be "livenet" or "testnet".');
|
||||||
|
|||||||
2
browser/bitcore.min.js
vendored
2
browser/bitcore.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bitcore",
|
"name": "bitcore",
|
||||||
"version": "0.8.4",
|
"version": "0.8.5",
|
||||||
"description": "A pure and powerful JavaScript Bitcoin library.",
|
"description": "A pure and powerful JavaScript Bitcoin library.",
|
||||||
"author": "BitPay <dev@bitpay.com>",
|
"author": "BitPay <dev@bitpay.com>",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user