@riocrypto/common 1.0.1474 → 1.0.1475
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.
|
@@ -174,7 +174,7 @@ export declare class RioAdminClient {
|
|
|
174
174
|
expediteInternalSwap(id: string): Promise<void>;
|
|
175
175
|
getInternalSwaps(page: number, limit?: number): Promise<InternalSwap[]>;
|
|
176
176
|
createMultipartOrder(amount: number, recipe: LiquidityOrderRecipe, amountUSDToLeaveAtCoinbase?: number): Promise<MultipartLiquidityOrder>;
|
|
177
|
-
updateMultipartOrder(amount?: number, recipe?: LiquidityOrderRecipe, amountUSDToLeaveAtCoinbase?: number): Promise<MultipartLiquidityOrder>;
|
|
177
|
+
updateMultipartOrder(id: string, amount?: number, recipe?: LiquidityOrderRecipe, amountUSDToLeaveAtCoinbase?: number): Promise<MultipartLiquidityOrder>;
|
|
178
178
|
getMultipartOrders(page: number, limit?: number): Promise<MultipartLiquidityOrder[]>;
|
|
179
179
|
getAddressVerification(cryptoAddressId: string): Promise<AddressVerification>;
|
|
180
180
|
getBankAccountVerification(bankAccountId: string): Promise<BankAccountVerification>;
|
|
@@ -606,9 +606,9 @@ class RioAdminClient {
|
|
|
606
606
|
return data;
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
updateMultipartOrder(amount, recipe, amountUSDToLeaveAtCoinbase) {
|
|
609
|
+
updateMultipartOrder(id, amount, recipe, amountUSDToLeaveAtCoinbase) {
|
|
610
610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
|
-
const { data } = yield this.axios.patch(`/api/liquidity/multipart-orders`, {
|
|
611
|
+
const { data } = yield this.axios.patch(`/api/liquidity/multipart-orders/${id}`, {
|
|
612
612
|
amount,
|
|
613
613
|
recipe,
|
|
614
614
|
amountUSDToLeaveAtCoinbase,
|