mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-10 21:17:41 +03:00
STF to ESM
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import stf from 'simple-typed-fetch';
|
||||
import { fetchWithValidation } from 'simple-typed-fetch';
|
||||
import type { Exchange } from '../../types.js';
|
||||
import { statisticsOverviewSchema, topPairsStatisticsSchema } from './schemas/index.js';
|
||||
import candlesSchema from './schemas/candlesSchema.js';
|
||||
import { PriceFeedWS } from './ws/index.js';
|
||||
|
||||
const { fetchWithValidation } = stf;
|
||||
|
||||
class PriceFeed {
|
||||
private readonly apiUrl: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user