Skip to content

Commit

Permalink
core: constants: export admin wallet updates ws route
Browse files Browse the repository at this point in the history
  • Loading branch information
akirillo committed Oct 25, 2024
1 parent 33fef2d commit 8919e98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ export const ADMIN_GET_ORDER_MATCHING_POOL_ROUTE = (order_id: string) =>
export const ADMIN_WALLET_ORDER_IDS_ROUTE = (wallet_id: string) =>
`/admin/wallet/${wallet_id}/order-ids`

// The admin wallet updates topic, streams opaque event indicating
// updates for all wallets
export const WS_ADMIN_WALLET_UPDATES_ROUTE = '/v0/admin/wallet-updates'

////////////////////////////////////////////////////////////////////////////////
// Price Reporter
////////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/exports/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export {
type GetWalletOrderIdsParameters as GetWalletOrdersParameters,
type GetWalletOrderIdsReturnType as GetWalletOrdersReturnType,
type GetWalletOrderIdsErrorType as GetWalletOrdersErrorType,
getWalletOrderIds as getWalletOrders,
getWalletOrderIds,
} from '../actions/getWalletOrderIds.js'

export {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export {
type GetWalletOrderIdsParameters as GetWalletOrdersParameters,
type GetWalletOrderIdsReturnType as GetWalletOrdersReturnType,
type GetWalletOrderIdsErrorType as GetWalletOrdersErrorType,
getWalletOrderIds as getWalletOrders,
getWalletOrderIds,
} from '../actions/getWalletOrderIds.js'

export {
Expand Down

0 comments on commit 8919e98

Please sign in to comment.