Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "eosjs-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Application programming interface to EOS blockchain nodes.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -29,7 +29,7 @@ [](https://travis-ci.org/eosjs/api) | ||
// Parameters can be an array | ||
// Parameters are added before the callback | ||
testnet.getBlock(1, callback) | ||
// Parameters can be an object | ||
testnet.getBlock({"block_num_or_id": 1}, callback) | ||
testnet.getBlock({block_num_or_id: 1}, callback) | ||
@@ -36,0 +36,0 @@ // All methods work under promisifyAll |
38099