Skip to content

Commit cbdcbeb

Browse files
committed
fix(integrations): keep the kalshi book-side helper module-private
1 parent ce2d810 commit cbdcbeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/tools/kalshi/orders.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function optionalFlag(value: unknown): boolean | undefined {
7878
}
7979

8080
/** The V2 book side for a legacy (side, action): buy yes and sell no bid; buy no and sell yes ask. */
81-
export function kalshiBookSide(side: unknown, action: unknown): 'bid' | 'ask' {
81+
function kalshiBookSide(side: unknown, action: unknown): 'bid' | 'ask' {
8282
const outcome = oneOf(side, ['yes', 'no'], '', 'Side')
8383
const direction = oneOf(action, ['buy', 'sell'], '', 'Action')
8484
if (!outcome) throw new Error('Side is required: yes or no')

0 commit comments

Comments
 (0)