Skip to content

Commit

Permalink
feat: expose transaction types (Uniswap#176)
Browse files Browse the repository at this point in the history
* feat: expose transaction types

* style(lint): lint action with ESLint

* export ALLLLLL the transaction types

* style(lint): lint action with ESLint

Co-authored-by: Lint Action <[email protected]>
  • Loading branch information
JFrankfurt and Lint Action authored Aug 30, 2022
1 parent 43a6d1a commit 2c8357f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ export type { ErrorHandler } from 'components/Error/ErrorBoundary'
export { SupportedChainId } from 'constants/chains'
export type { SupportedLocale } from 'constants/locales'
export { DEFAULT_LOCALE, SUPPORTED_LOCALES } from 'constants/locales'
export type { SwapController } from 'hooks/swap/useSyncController'
export type { SwapSettingsController } from 'hooks/swap/useSyncController'
export type { SwapController, SwapSettingsController } from 'hooks/swap/useSyncController'
export type { FeeOptions } from 'hooks/swap/useSyncConvenienceFee'
export type { DefaultAddress, TokenDefaults } from 'hooks/swap/useSyncTokenDefaults'
export type { OnTxFail, OnTxSubmit, OnTxSuccess, TransactionEventHandlers } from 'hooks/transactions'
Expand All @@ -30,6 +29,17 @@ export type {
} from 'state/swap'
export { Field } from 'state/swap'
export type { Slippage } from 'state/swap/settings'
export type {
ApprovalTransactionInfo,
ExactInputSwapTransactionInfo,
ExactOutputSwapTransactionInfo,
SwapTransactionInfo,
Transaction,
TransactionInfo,
TransactionType,
UnwrapTransactionInfo,
WrapTransactionInfo,
} from 'state/transactions'
export type { Theme } from 'theme'
export { darkTheme, defaultTheme, lightTheme } from 'theme'
export { invertTradeType, toTradeType } from 'utils/tradeType'
Expand Down

0 comments on commit 2c8357f

Please sign in to comment.