Skip to content

Commit cb0dd22

Browse files
committed
Build: 0.8.5
1 parent 2b75687 commit cb0dd22

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bitcore",
33
"main": "browser/bitcore.min.js",
4-
"version": "0.8.4",
4+
"version": "0.8.5",
55
"homepage": "http://bitcore.io",
66
"authors": [
77
"BitPay, Inc."

browser/bitcore.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ function Address(data, network, type) {
121121
return data;
122122
}
123123

124-
if (!data) {
125-
throw new TypeError('First argument is required, please include address data.');
126-
}
124+
$.checkArgument(data, new TypeError('First argument is required, please include address data.'));
127125

128126
if (network && !Networks.get(network)) {
129127
throw new TypeError('Second argument must be "livenet" or "testnet".');

browser/bitcore.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitcore",
3-
"version": "0.8.4",
3+
"version": "0.8.5",
44
"description": "A pure and powerful JavaScript Bitcoin library.",
55
"author": "BitPay <dev@bitpay.com>",
66
"main": "index.js",

0 commit comments

Comments
 (0)