From 7363294ab336256b7c0e9f201018c8c3f63480a5 Mon Sep 17 00:00:00 2001 From: Kirill Kuznetcov Date: Thu, 2 May 2024 22:16:39 +0400 Subject: [PATCH] chore: export required data --- src/api/fusion-api.ts | 9 ++++++--- src/api/index.ts | 3 +++ src/fusion-order/auction-details/index.ts | 2 +- src/ws-api/README.md | 2 +- src/ws-api/index.ts | 3 +++ 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/api/fusion-api.ts b/src/api/fusion-api.ts index 70bbb8d..23956dc 100644 --- a/src/api/fusion-api.ts +++ b/src/api/fusion-api.ts @@ -1,7 +1,11 @@ import {FusionApiConfig} from './types' -import {QuoterApi, QuoterRequest} from './quoter' +import { + QuoterApi, + QuoterRequest, + QuoterCustomPresetRequest, + Quote +} from './quoter' import {RelayerApi, RelayerRequest} from './relayer' -import {Quote} from './quoter/quote/quote' import { ActiveOrdersRequest, ActiveOrdersResponse, @@ -11,7 +15,6 @@ import { OrderStatusResponse, OrdersByMakerResponse } from './orders' -import {QuoterCustomPresetRequest} from './quoter/quoter-custom-preset.request' import {AxiosProviderConnector} from '../connector' export class FusionApi { diff --git a/src/api/index.ts b/src/api/index.ts index 8efb55a..d7fe75f 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1,4 +1,7 @@ export * from './params' export * from './quoter/index' export * from './relayer/index' +export * from './orders/index' export * from './fusion-api' +export * from './pagination' +export * from './types' diff --git a/src/fusion-order/auction-details/index.ts b/src/fusion-order/auction-details/index.ts index f3e0f07..6f2be1d 100644 --- a/src/fusion-order/auction-details/index.ts +++ b/src/fusion-order/auction-details/index.ts @@ -1,2 +1,2 @@ export * from './auction-details' -export {AuctionPoint} from './types' +export * from './types' diff --git a/src/ws-api/README.md b/src/ws-api/README.md index bec5376..755c2c8 100644 --- a/src/ws-api/README.md +++ b/src/ws-api/README.md @@ -62,7 +62,7 @@ const ws = WebSocketApi.new({ **Lazy initialization:** -By default when user creates an instance of WebSocketApi, it automatically opens websocket connection which might be a problem for some use cases +By default, when user creates an instance of WebSocketApi, it automatically opens websocket connection which might be a problem for some use cases ```typescript import {WebSocketApi, NetworkEnum} from '@1inch/fusion-sdk' diff --git a/src/ws-api/index.ts b/src/ws-api/index.ts index f058d3a..f0acbc2 100644 --- a/src/ws-api/index.ts +++ b/src/ws-api/index.ts @@ -1,2 +1,5 @@ export * from './ws-api' export * from './types' +export * from './active-websocket-orders-api' +export * from './rpc-websocket-api' +export * from './constants'