hive-keychain-commons 1.9.1 → 1.9.2
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 +8 -5
- package/package.json +1 -1
package/lib/utils/vsc.utils.js
CHANGED
|
@@ -131,14 +131,16 @@ 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
|
|
134
135
|
hbd
|
|
135
|
-
hive
|
|
136
|
-
hbd_savings
|
|
137
|
-
hbd_claim
|
|
138
|
-
hbd_modify
|
|
139
136
|
hbd_avg
|
|
140
|
-
|
|
137
|
+
hbd_modify
|
|
138
|
+
hbd_claim
|
|
139
|
+
hbd_savings
|
|
140
|
+
hive
|
|
141
141
|
hive_consensus
|
|
142
|
+
consensus_unstaking
|
|
143
|
+
pending_hbd_unstaking
|
|
142
144
|
}
|
|
143
145
|
}`;
|
|
144
146
|
return ((yield fetchQuery(query)).data.getAccountBalance || {
|
|
@@ -149,6 +151,7 @@ const getAccountBalance = (username) => __awaiter(void 0, void 0, void 0, functi
|
|
|
149
151
|
hbd_claim: 0,
|
|
150
152
|
hbd_modify: 0,
|
|
151
153
|
hbd_savings: 0,
|
|
154
|
+
pending_hbd_unstaking: 0,
|
|
152
155
|
});
|
|
153
156
|
});
|
|
154
157
|
const getWithdrawJson = (data, netId) => {
|