Skip to content
Snippets Groups Projects
Commit 5c1a9f3f authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Remove old version of get_account_history since having both wasn't...

[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
parent 8d5c5214
No related branches found
No related tags found
1 merge request!14[JES] Remove old version of get_account_history since having both wasn't...
...@@ -337,7 +337,7 @@ hive.api.getConversionRequests(accountName, function(err, result) { ...@@ -337,7 +337,7 @@ hive.api.getConversionRequests(accountName, function(err, result) {
``` ```
### Get Account History ### Get Account History
``` ```
hive.api.getAccountHistory(account, from, limit, function(err, result) { hive.api.getAccountHistory(account, from, limit, operation_filter_low, operation_filter_high, function(err, result) {
console.log(err, result); console.log(err, result);
}); });
``` ```
......
{ {
"name": "@hiveio/hive-js", "name": "@hiveio/hive-js",
"version": "0.8.5", "version": "0.8.8",
"description": "Hive.js the JavaScript API for Hive blockchain", "description": "Hive.js the JavaScript API for Hive blockchain",
"main": "lib/index.js", "main": "lib/index.js",
"scripts": { "scripts": {
......
...@@ -209,11 +209,6 @@ export default [ ...@@ -209,11 +209,6 @@ export default [
"method": "get_conversion_requests", "method": "get_conversion_requests",
"params": ["accountName"] "params": ["accountName"]
}, },
{
"api": "database_api",
"method": "get_account_history",
"params": ["account", "from", "limit"]
},
{ {
"api": "database_api", "api": "database_api",
"method": "get_account_history", "method": "get_account_history",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment