Skip to content

Commit

Permalink
Build: 0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
maraoz committed Dec 24, 2014
1 parent 2b75687 commit cb0dd22
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
4 changes: 1 addition & 3 deletions browser/bitcore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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".');
Expand Down
2 changes: 1 addition & 1 deletion browser/bitcore.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitcore",
"version": "0.8.4",
"version": "0.8.5",
"description": "A pure and powerful JavaScript Bitcoin library.",
"author": "BitPay <[email protected]>",
"main": "index.js",
Expand Down

0 comments on commit cb0dd22

Please sign in to comment.