- Jul 29, 2021
-
-
Mahdi Yari authored
-
Mahdi Yari authored
-
Mahdi Yari authored
-
Mahdi Yari authored
-
- Oct 23, 2020
-
-
Jason Salyers authored
[JES] Remove old version of get_account_history since having both wasn't playing nicely. Update the package version. Update API docs with new parameters for get_account_history
-
- Oct 22, 2020
-
-
Jason Salyers authored
-
- May 05, 2020
-
-
Emmanuel King Turner authored
-
- Oct 16, 2019
-
-
Michael Vandeberg authored
-
- Jul 17, 2019
-
-
Jonathan Porta authored
-
- Jul 16, 2019
-
-
Jonathan Porta authored
-
Jonathan Porta authored
-
- Jul 12, 2019
-
-
motrebski authored
-
- Oct 06, 2017
-
-
Harry Schmidt authored
-
- Sep 19, 2017
-
-
adcpm authored
-
- Jul 17, 2017
-
-
yamadapc authored
-
- May 23, 2017
-
-
Aaron Cox authored
-
- May 11, 2017
-
-
Anthony Martin authored
-
- May 10, 2017
-
-
Anthony Martin authored
-
- Apr 17, 2017
-
-
Tim authored
-
- Apr 03, 2017
-
-
gropox authored
-
- Mar 13, 2017
-
-
James Calfee authored
-
James Calfee authored
-
- Feb 08, 2017
-
-
adcpm authored
-
- Jan 27, 2017
-
-
adcpm authored
-
- Jan 26, 2017
-
-
adcpm authored
-
- Jan 25, 2017
-
-
yamadapc authored
-
- Jan 23, 2017
-
-
Nilesh Suthar authored
-
- Dec 26, 2016
-
-
adcpm authored
-
- Oct 05, 2016
- Sep 30, 2016
-
-
p0o authored
-
- Sep 16, 2016
-
-
yamadapc authored
Doesn't mess with the exported API. Adds a `lib/api-from-methods` module exporting all API methods that use the `this.send(apiName, options, callback)` scheme. The generated functions work as follows. For every method in `methods.json`, two functions are generated: - `camelCaseMethodWith` - `camelCaseMethod` The usages are: ```javascript api.camelCaseMethodWith(options, callback); ``` And: ```javascript api.camelCaseMethod(param1, param2, callback); ``` `options` currently holds parameters with their names generated from the source `lib/api.js` variable names. For example: ```javascript api.getBlockWith({ blockNum: 1, // <- because `lib/api.js` called the variable `blockNum` }, function (err, operation) { console.log(err, operation); }); api.getBlock(1, function (err, operation) { console.log(err, operation); }); ``` Further improvements could be made to the method data and generated code. Namely: - It'll require a `json-loader` or way to require `.json` files on browser bundlers - It doesn't handle #22 - When there's no error but the `data.id` mismatches the iterator, the callback isn't called; this is a weird design decision This closes #23.
-