Skip to content

Commit

Permalink
chore: export required data
Browse files Browse the repository at this point in the history
  • Loading branch information
krboktv committed May 2, 2024
1 parent 6fbdda9 commit 7363294
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
9 changes: 6 additions & 3 deletions src/api/fusion-api.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -11,7 +15,6 @@ import {
OrderStatusResponse,
OrdersByMakerResponse
} from './orders'
import {QuoterCustomPresetRequest} from './quoter/quoter-custom-preset.request'
import {AxiosProviderConnector} from '../connector'

export class FusionApi {
Expand Down
3 changes: 3 additions & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion src/fusion-order/auction-details/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './auction-details'
export {AuctionPoint} from './types'
export * from './types'
2 changes: 1 addition & 1 deletion src/ws-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions src/ws-api/index.ts
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 7363294

Please sign in to comment.