@riocrypto/common 1.0.1461 → 1.0.1463
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.
|
@@ -168,7 +168,7 @@ export declare class RioAdminClient {
|
|
|
168
168
|
cancelChainedOrder(id?: string): Promise<void>;
|
|
169
169
|
getOrder(id: string): Promise<Order>;
|
|
170
170
|
createBankPayout(oid: string, bankAccountId: string): Promise<BankPayout>;
|
|
171
|
-
createInternalSwap(originCrypto: Crypto, destinationCrypto: Crypto, amount: number, origin: SwapOrigin, provider: SwapProvider): Promise<void>;
|
|
171
|
+
createInternalSwap(originCrypto: Crypto, destinationCrypto: Crypto, amount: number, origin: SwapOrigin, destination: SwapOrigin, provider: SwapProvider): Promise<void>;
|
|
172
172
|
expediteInternalSwap(id: string): Promise<void>;
|
|
173
173
|
getInternalSwaps(page: number, limit?: number): Promise<InternalSwap[]>;
|
|
174
174
|
getAddressVerification(cryptoAddressId: string): Promise<AddressVerification>;
|
|
@@ -568,13 +568,14 @@ class RioAdminClient {
|
|
|
568
568
|
return response.data;
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
createInternalSwap(originCrypto, destinationCrypto, amount, origin, provider) {
|
|
571
|
+
createInternalSwap(originCrypto, destinationCrypto, amount, origin, destination, provider) {
|
|
572
572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
573
573
|
yield this.axios.post(`/api/liquidity/swaps`, {
|
|
574
574
|
originCrypto,
|
|
575
575
|
destinationCrypto,
|
|
576
576
|
amount,
|
|
577
577
|
origin,
|
|
578
|
+
destination,
|
|
578
579
|
provider,
|
|
579
580
|
});
|
|
580
581
|
});
|