hive-keychain-commons 1.9.2 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utils/vsc.utils.js +6 -7
- package/package.json +1 -1
package/lib/utils/vsc.utils.js
CHANGED
|
@@ -50,7 +50,7 @@ const checkStatus = (id) => {
|
|
|
50
50
|
};
|
|
51
51
|
const fetchHistory = (username) => __awaiter(void 0, void 0, void 0, function* () {
|
|
52
52
|
const query = `{
|
|
53
|
-
findTransaction(filterOptions: {
|
|
53
|
+
findTransaction(filterOptions: {byAccount: "hive:${username}"}) {
|
|
54
54
|
id
|
|
55
55
|
anchr_height
|
|
56
56
|
anchr_index
|
|
@@ -131,15 +131,14 @@ const getAccountBalance = (username) => __awaiter(void 0, void 0, void 0, functi
|
|
|
131
131
|
const query = `{
|
|
132
132
|
getAccountBalance(account: "hive:${username}") {
|
|
133
133
|
account
|
|
134
|
-
block_height
|
|
135
134
|
hbd
|
|
136
|
-
hbd_avg
|
|
137
|
-
hbd_modify
|
|
138
|
-
hbd_claim
|
|
139
|
-
hbd_savings
|
|
140
135
|
hive
|
|
136
|
+
hbd_savings
|
|
137
|
+
hbd_claim
|
|
138
|
+
hbd_modify
|
|
139
|
+
hbd_avg
|
|
140
|
+
block_height
|
|
141
141
|
hive_consensus
|
|
142
|
-
consensus_unstaking
|
|
143
142
|
pending_hbd_unstaking
|
|
144
143
|
}
|
|
145
144
|
}`;
|