Skip to content

Commit

Permalink
chore: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
maxencerb committed May 5, 2024
1 parent 95768de commit 57a436f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export type {
MarketOrderResultFromLogsParams,
LimitOrderResultFromLogsParams,
LimitOrderResult,
AmountsToHumanPriceParams,
AmountsParams,
AmountsOutput,
} from './lib/index.js'

export {
Expand Down
14 changes: 13 additions & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,19 @@ export { unpackGlobalConfig } from './global.js'

// human-readable

export { rpcOfferToHumanOffer } from './human-readable.js'
export type {
AmountsToHumanPriceParams,
AmountsParams,
AmountsOutput,
} from './human-readable.js'

export {
rpcOfferToHumanOffer,
rawPriceToHumanPrice,
humanPriceToRawPrice,
amountsToHumanPrice,
amounts,
} from './human-readable.js'

// limit-order

Expand Down

0 comments on commit 57a436f

Please sign in to comment.