@riocrypto/common 1.0.440 → 1.0.441
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CCXTLiquidityProvider } from "../types/ccxt-liquidity-provider";
|
|
2
2
|
import { Fiat } from "../types/fiat";
|
|
3
3
|
import { Side } from "../types/side";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class CCXTClient {
|
|
5
5
|
private env;
|
|
6
6
|
constructor(env: "production" | "development");
|
|
7
7
|
createBuyOrder(amount: number, crypto: Crypto, fiat: Fiat, ccxtLiquidityProvider: CCXTLiquidityProvider): Promise<{
|
|
@@ -12,11 +12,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
15
|
+
exports.CCXTClient = void 0;
|
|
16
16
|
const ccxt_1 = __importDefault(require("ccxt"));
|
|
17
17
|
const ccxt_liquidity_provider_1 = require("../types/ccxt-liquidity-provider");
|
|
18
18
|
const side_1 = require("../types/side");
|
|
19
|
-
class
|
|
19
|
+
class CCXTClient {
|
|
20
20
|
constructor(env) {
|
|
21
21
|
this.env = env;
|
|
22
22
|
}
|
|
@@ -143,4 +143,4 @@ class ccxtClient {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
exports.
|
|
146
|
+
exports.CCXTClient = CCXTClient;
|