Bump zod version

This commit is contained in:
Aleksandr Kraiz
2022-05-12 23:24:45 +04:00
parent 3d11924300
commit d4c790c8bf
6 changed files with 201 additions and 250 deletions

View File

@@ -10,13 +10,13 @@ class PriceFeed {
this.getCandles = this.getCandles.bind(this);
}
getCandles(
getCandles = (
symbol: string,
timeStart: number,
timeEnd: number,
interval: '5m' | '30m' | '1h' | '1d',
exchange: string,
) {
) => {
const url = new URL(`https://${this.apiUrl}/candles/candles`);
url.searchParams.append('symbol', symbol);
url.searchParams.append('timeStart', timeStart.toString());
@@ -28,7 +28,7 @@ class PriceFeed {
url.toString(),
candlesSchema,
);
}
};
get candlesUrl() { return `https://${this.apiUrl}/candles/candles`; }