@riocrypto/common 1.0.683 → 1.0.684
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.
|
@@ -85,7 +85,7 @@ export declare class RioAdminClient {
|
|
|
85
85
|
volume: number;
|
|
86
86
|
revenue: number;
|
|
87
87
|
}>;
|
|
88
|
-
getBistoX(): Promise<{
|
|
88
|
+
getBistoX(bidPrice: number, bidAmount: number): Promise<{
|
|
89
89
|
x: number;
|
|
90
90
|
}>;
|
|
91
91
|
getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
|
|
@@ -324,9 +324,11 @@ class RioAdminClient {
|
|
|
324
324
|
return response.data;
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
-
getBistoX() {
|
|
327
|
+
getBistoX(bidPrice, bidAmount) {
|
|
328
328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
-
const response = yield this.axios.get(`/api/admin/bitso/x
|
|
329
|
+
const response = yield this.axios.get(`/api/admin/bitso/x`, {
|
|
330
|
+
params: { bidPrice, bidAmount },
|
|
331
|
+
});
|
|
330
332
|
return response.data;
|
|
331
333
|
});
|
|
332
334
|
}
|