From 5c1a9f3f347cebcf5ec9184e84028faa8319866e Mon Sep 17 00:00:00 2001
From: jsalyers <jsalyers@syncad.com>
Date: Fri, 23 Oct 2020 17:33:37 -0400
Subject: [PATCH] [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

---
 doc/README.md      | 2 +-
 package.json       | 2 +-
 src/api/methods.js | 5 -----
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/doc/README.md b/doc/README.md
index 97819aa..68e4ec5 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -337,7 +337,7 @@ hive.api.getConversionRequests(accountName, function(err, result) {
 ```
 ### 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);
 });
 ```
diff --git a/package.json b/package.json
index f38dd2b..480d48d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@hiveio/hive-js",
-  "version": "0.8.5",
+  "version": "0.8.8",
   "description": "Hive.js the JavaScript API for Hive blockchain",
   "main": "lib/index.js",
   "scripts": {
diff --git a/src/api/methods.js b/src/api/methods.js
index 8997b4c..5c97f2e 100644
--- a/src/api/methods.js
+++ b/src/api/methods.js
@@ -209,11 +209,6 @@ export default [
       "method": "get_conversion_requests",
       "params": ["accountName"]
     },
-    {
-      "api": "database_api",
-      "method": "get_account_history",
-      "params": ["account", "from", "limit"]
-    },
     {
       "api": "database_api",
       "method": "get_account_history",
-- 
GitLab