@agg-build/sdk 4.24.0 → 4.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agg-websocket-Cm_8f8hA.d.mts → agg-websocket-Bxt9PzTz.d.mts} +31 -1
- package/dist/{agg-websocket-Cm_8f8hA.d.ts → agg-websocket-Bxt9PzTz.d.ts} +31 -1
- package/dist/browser.d.mts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +29 -4
- package/dist/index.mjs +28 -4
- package/dist/market-data.d.mts +2 -2
- package/dist/market-data.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1905,6 +1905,16 @@ type SignerFn = (req: SignatureRequest) => Promise<string | {
|
|
|
1905
1905
|
declare const SELF_CUSTODY_FILL_TIMEOUT_MS: number;
|
|
1906
1906
|
/** Gap between re-reads while an on-chain step is in flight. */
|
|
1907
1907
|
declare const SELF_CUSTODY_POLL_INTERVAL_MS = 2000;
|
|
1908
|
+
/**
|
|
1909
|
+
* How long `fillSelfCustody` waits on the `signer` for ONE optional request
|
|
1910
|
+
* signed by a wallet other than the user's — e.g. a partner's activation
|
|
1911
|
+
* sponsor. Such a request can delay the batch's submission by at most this long,
|
|
1912
|
+
* after which it is declined and the required signatures go out without it.
|
|
1913
|
+
* Required requests, and optional ones the user's own wallet signs (the fill's
|
|
1914
|
+
* `signingAddress` or any required request's `signerAddress`, e.g. a referral
|
|
1915
|
+
* code), are never bounded by this.
|
|
1916
|
+
*/
|
|
1917
|
+
declare const OPTIONAL_SIGNATURE_TIMEOUT_MS = 15000;
|
|
1908
1918
|
/**
|
|
1909
1919
|
* States a run never leaves. Everything else means "still working".
|
|
1910
1920
|
*
|
|
@@ -2725,6 +2735,15 @@ interface PlaceOrderParams {
|
|
|
2725
2735
|
referralPayer?: "user" | "app";
|
|
2726
2736
|
/** Required with `referralPayer: "app"`: the wallet that signs the parked payout transaction. */
|
|
2727
2737
|
referralPayerAddress?: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* User-paid referral only: a wallet that pays Hyperliquid's one-time 1 USDC
|
|
2740
|
+
* activation fee for a referrer with no HyperCore account (self-custody
|
|
2741
|
+
* Hyperliquid buys). Before the fill a pending signature with this
|
|
2742
|
+
* `signerAddress` and `purpose: "hl_activation_sponsor"` is passed to your
|
|
2743
|
+
* `signer`; it is `optional`, so declining it — or not answering within
|
|
2744
|
+
* `OPTIONAL_SIGNATURE_TIMEOUT_MS` — never costs the trade.
|
|
2745
|
+
*/
|
|
2746
|
+
referralActivationSponsorAddress?: string;
|
|
2728
2747
|
/**
|
|
2729
2748
|
* Skip the smart-route solver and send one order straight to `venue` (predict,
|
|
2730
2749
|
* hyperliquid, novig and prophetx only; others return 400). Requires a `read_write` `x-app-api-key`. No
|
|
@@ -3655,6 +3674,15 @@ interface SmartRouteParams {
|
|
|
3655
3674
|
referralPayer?: "user" | "app";
|
|
3656
3675
|
/** Required with `referralPayer: "app"`: the wallet that signs the parked payout transaction. */
|
|
3657
3676
|
referralPayerAddress?: string;
|
|
3677
|
+
/**
|
|
3678
|
+
* User-paid referral only: a wallet that pays Hyperliquid's one-time 1 USDC
|
|
3679
|
+
* activation fee for a referrer with no HyperCore account (self-custody
|
|
3680
|
+
* Hyperliquid buys). Before the fill a pending signature with this
|
|
3681
|
+
* `signerAddress` and `purpose: "hl_activation_sponsor"` is passed to your
|
|
3682
|
+
* `signer`; it is `optional`, so declining it — or not answering within
|
|
3683
|
+
* `OPTIONAL_SIGNATURE_TIMEOUT_MS` — never costs the trade.
|
|
3684
|
+
*/
|
|
3685
|
+
referralActivationSponsorAddress?: string;
|
|
3658
3686
|
}
|
|
3659
3687
|
/** One-time setup line item — populated only on deep-estimate quotes. */
|
|
3660
3688
|
interface SmartRouteSetupCostLine {
|
|
@@ -3843,6 +3871,8 @@ interface SmartRouteResponse {
|
|
|
3843
3871
|
feeBipsByVenue?: Record<string, number>;
|
|
3844
3872
|
payer: "user" | "app";
|
|
3845
3873
|
payerAddress?: string;
|
|
3874
|
+
/** Wallet sponsoring the referrer's HyperCore activation, when sent. */
|
|
3875
|
+
activationSponsorAddress?: string;
|
|
3846
3876
|
quotedFeeUsd: number;
|
|
3847
3877
|
} | null;
|
|
3848
3878
|
/** Populated only when status === "insufficient_position". */
|
|
@@ -4446,4 +4476,4 @@ declare class AggWebSocket {
|
|
|
4446
4476
|
private isOrderbookDebugEnabled;
|
|
4447
4477
|
}
|
|
4448
4478
|
|
|
4449
|
-
export { type PaperTradingAppOptions as $, AggWebSocket as A, type ExecutionStatusQuery as B, type ChartBarsResponse as C, type ExecutionStatusResponse as D, type ExecutionOrdersQuery as E, type UserActivityQuery as F, type UserActivityItem as G, type LeaderboardRow as H, type LeaderboardSeriesQuery as I, type LeaderboardSeries as J, type ExecutionPositionsQuery as K, type LeaderboardQuery as L, MarketDataEngine as M, type ExecutionPositionGroup as N, type OrderbookState as O, type PaginatedResponse as P, type ManagedBalancesParams as Q, type UnifiedBalanceResponse as R, type SiweMessageParams as S, type TradeSplit as T, type UserProfile as U, Venue as V, type WsArbMarketUpdate as W, type UpsertVenueKey as X, type VenueKeySummary as Y, type VenueKeyStatus as Z, type CreatePaperTradingAccountParams as _, type AggWebSocketOptions as a, type WithdrawManagedResponse as a$, type PaperTradingAccount as a0, type PaperTradingAccountListParams as a1, type PaperTradingAccountsPage as a2, type SetPaperTradingBalanceParams as a3, type PaperTradingBalanceResponse as a4, type ResetPaperTradingAccountParams as a5, type PlacePaperTradingOrderParams as a6, type PaperTradingOrder as a7, type PaperTradingListParams as a8, type PaperTradingPositionsPage as a9, type SearchParams as aA, type SearchResponse as aB, type CorrelatedMarketsStatus as aC, type CorrelatedMarketSignalBatch as aD, type CorrelatedMarketQueryResult as aE, type CorrelatedMarketCascadeResponse as aF, type ResolveCorrelatedMarketsParams as aG, type ResolveCorrelatedMarketsResponse as aH, type ChartResolution as aI, type BatchOrderbooksResponse as aJ, type BatchMidpointsResponse as aK, type OutcomeOrderbookResponse as aL, type SmartRouteParams as aM, type SmartRouteResponse as aN, type ExecuteManagedParams as aO, type ExecuteManagedResponse as aP, type PlaceLimitOrderParams as aQ, type PlaceLimitOrderResponse as aR, type PlaceOrderParams as aS, type PlaceOrderResponse as aT, type RedeemRequest as aU, type RedeemResponse as aV, type BalanceRefillPolicy as aW, type CreateBalanceRefillPolicyParams as aX, type UpdateBalanceRefillPolicyParams as aY, type BalanceRefillAttempt as aZ, type WithdrawManagedParams as a_, type PaperTradingOrdersPage as aa, type PaperTradingPortfolio as ab, type CancelOrderSignature as ac, type CancelManagedExecutionResponse as ad, type CancelVenueOrderParams as ae, MatchStatus as af, MarketStatus as ag, type RecurrenceFilter as ah, type VenueEvent as ai, type EventBootstrapResponse as aj, type SportsLiveResponse as ak, type ListRecurringCryptoMarketsOptions as al, type RecurringCryptoMarketsResponse as am, type GetCryptoReferencePricesOptions as an, type CryptoReferencePricesResponse as ao, type Category as ap, type AppClientConfigResponse as aq, type VenueGeoPolicyResponse as ar, type RpcTokenResponse as as, type NewsFeedListResponse as at, type NewsFeedPageOptions as au, type NewsFeedArticleFeedResponse as av, type NewsFeedMarketFeedResponse as aw, type NewsFeedStatusResponse as ax, type NewsFeedMarketNewsParams as ay, type NewsFeedMarketNewsResponse as az, type ChartHistoryManifest as b, type DiagnosticEvent as b$, type WithdrawPreviewParams as b0, type WithdrawPreviewResponse as b1, type WithdrawalQuoteParams as b2, type WithdrawalQuoteResponse as b3, type SyncBalancesResponse as b4, type DepositAddressesResponse as b5, type GetPositionsParams as b6, type PositionGroup as b7, type RampQuoteRequest as b8, type RampQuote as b9, CONFIRMED_MATCH_STATUSES as bA, CandleBuilder as bB, type CandleInterval as bC, type CandleTail as bD, Chain as bE, type ChartBarsMeta as bF, type ChartVenueCandles as bG, type ComputeSplitsRequest as bH, type ComputeSplitsResponse as bI, type ComputeSplitsSelection as bJ, type CorrelatedMarketCascadeItem as bK, type CorrelatedMarketSide as bL, type CorrelatedMarketSignal as bM, type CorrelatedMarketSignalDirection as bN, type CreateApp as bO, type CryptoReferencePriceError as bP, type CryptoReferencePriceExternalMarketInput as bQ, type CryptoReferencePriceMarketInput as bR, type CryptoReferencePriceResult as bS, type CryptoReferencePriceSource as bT, type CryptoReferencePriceTarget as bU, type DepositAddressesPendingResponse as bV, type DepositAddressesReadyResponse as bW, type DepositAddressesSupportedChain as bX, type DepositAddressesToken as bY, type DepositStep as bZ, type DiagnosticCallback as b_, type RampSessionRequest as ba, type RampWidgetSession as bb, type Candle as bc, ACTIVE_VENUES as bd, type Account as be, AccountProvider as bf, AccountType as bg, type AggAuthDeliveryMode as bh, type AggAuthPrivyVerifyBody as bi, type AggAuthProviderType as bj, type AggAuthWalletVerifyBody as bk, type AggClientAuthOptions as bl, type AggSessionUser as bm, type AggregatedOrderbookLevel as bn, type AggregatedOrderbookResponse as bo, type App as bp, type AppTradingMode as bq, type AttributedOrderbook as br, type AttributedOrderbookLevel as bs, type AuthCodeResponse as bt, type AuthTokenResponse as bu, type AuthUser as bv, type BalanceCustody as bw, type BalanceRefillAttemptStatus as bx, type BalanceRefillPolicyStatus as by, type BookQuality as bz, type ChartCandle as c, type PositionRedeemStatus as c$, type ExecuteManagedRequest as c0, type ExecuteTradeRequest as c1, type ExecuteTradeResponse as c2, type ExecutionDagProgress as c3, type ExecutionDisplayGroupStatus as c4, type ExecutionDisplayStepKind as c5, type ExecutionMode as c6, type ExecutionOverallState as c7, type ExecutionStatusOrder as c8, type ExecutionStatusStep as c9, type NewsFeedLinkedMarket as cA, type NewsFeedMarketFeedArticle as cB, type NewsFeedMarketFeedItem as cC, type NewsFeedMarketNewsResult as cD, type NonceResponse as cE, type NovigExecutionMode as cF, type OrderListItem as cG, OrderStatus as cH, OrderType as cI, type OrderbookBatchItemError as cJ, type OrderbookBatchItemErrorCode as cK, type OrderbookBatchItemStatus as cL, type OrderbookHistoryPoint as cM, type OrderbookHistoryResponse as cN, type OrderbookLevel as cO, type OrderbookQuoteFill as cP, type OrderbookQuoteParams as cQ, type OrderbookQuoteResponse as cR, type OrderbookServiceUnavailableError as cS, type OrderbooksOnlyError as cT, type OutcomeMidpoint as cU, type OutcomeMidpointRow as cV, type PaperTradingBalanceAdjustment as cW, type PaperTradingLiquidityStatus as cX, type PaperTradingMarkSource as cY, type PaperTradingPosition as cZ, type PersistedAuthSnapshot as c_, type GetBalanceQuery as ca, type GetBalanceResponse as cb, type GetHoldingsQuery as cc, type GetHoldingsResponse as cd, type GetOrdersParams as ce, type GetOrdersQuery as cf, type GetPositionsQuery as cg, type HelloResponse as ch, type HistoryRangeRequest as ci, INACTIVE_VENUES as cj, type LeaderboardMetric as ck, type LeaderboardSeriesPoint as cl, type LimitOrderTimeInForce as cm, type MarkSource as cn, type MarketPriceHistory as co, type MarketView as cp, type MarketViewBatch as cq, MatchType as cr, type MatchedMidpoint as cs, type MatchedMidpointOutcome as ct, type MatchedOrderbookMarket as cu, type MatchedVenueMarketOutcomeRef as cv, type MidpointItem as cw, type MidpointRow as cx, type NewsFeedArticleFeedItem as cy, type NewsFeedArticleWithSummary as cz, type AggWebSocketDiagnostics as d, type UserActivityWithdrawal as d$, type PricePoint as d0, type PriceSource as d1, type PricesHistoryResponse as d2, type ProphetxExecutionMode as d3, RECURRENCE_CADENCES as d4, type RecurrenceCadence as d5, type RecurringCryptoComparisonPoint as d6, type RecurringCryptoComparisonPriceSource as d7, type RecurringCryptoDuration as d8, type RecurringCryptoDurationInput as d9, type SignatureRequestType as dA, type SignerFn as dB, type SimpleOrderbookLevel as dC, type SmartRouteAllocation as dD, type SmartRouteBridgeStep as dE, type SmartRouteFeeBreakdown as dF, type SmartRouteFill as dG, type SmartRouteSettlementLeg as dH, type SmartRouteSettlementPlan as dI, type SmartRouteSetupCostLine as dJ, type SmartRouteSide as dK, type SmartRouteStatus as dL, type SmartRouteVenueFill as dM, type SportsGameStatus as dN, type SportsLiveParticipant as dO, type SportsLiveState as dP, TERMINAL_EXECUTION_STATES as dQ, TimeInForce as dR, type TradeExecutorOrder as dS, type TradeStep as dT, type UserActivityBridge as dU, type UserActivityDeposit as dV, type UserActivityRedeem as dW, type UserActivityRedeemLeg as dX, type UserActivityTrade as dY, type UserActivityType as dZ, type UserActivityUserOp as d_, type RecurringCryptoMarketMetrics as da, type RecurringCryptoOrderbookDepthLevel as db, type RecurringCryptoOrderbookDepthSide as dc, type RecurringCryptoOutcome as dd, type RecurringCryptoOutcomeOrderbookDepth as de, type RecurringCryptoPriceComparison as df, type RecurringCryptoReferencePrice as dg, type RecurringCryptoResolution as dh, type RecurringCryptoSourceConfidence as di, type RecurringCryptoVenueMarket as dj, type RecurringCryptoWindowComparisons as dk, type RecurringCryptoWindowMarket as dl, type RedeemLegResult as dm, type RedeemLegStatus as dn, type RequestedOrderbookMarket as dp, type ResolvedCorrelatedMarketsResponse as dq, SELF_CUSTODY_FILL_TIMEOUT_MS as dr, SELF_CUSTODY_POLL_INTERVAL_MS as ds, type ServerWallet as dt, type SettlementDiff as du, type SettlementDifference as dv, type SettlementSource as dw, type SetupDepositAddressStep as dx, type SetupVenueKeyStep as dy, type SignatureRequest as dz, type WsArbFeedBatch as e, computeChecksum as e$, VENUES as e0, VENUE_CHAIN_IDS as e1, type ValidateBalanceOnClientStep as e2, type ValidateManagedParams as e3, type ValidateManagedRequest as e4, type ValidateManagedResponse as e5, type ValidateTradeRequest as e6, type ValidateTradeResponse as e7, type VenueEventListItem as e8, type VenueEventWithMarkets as e9, type WsAuthenticated as eA, type WsBalanceUpdate as eB, type WsCandleInterval as eC, type WsClientMessage as eD, type WsConnected as eE, type WsError as eF, type WsHeartbeat as eG, type WsMarkSource as eH, type WsMarketResolved as eI, type WsOrderEvent as eJ, type WsOrderEventType as eK, type WsOrderSubmitted as eL, type WsOrderbookDelta as eM, type WsOrderbookSnapshot as eN, type WsRedeemEvent as eO, type WsServerMessage as eP, type WsSubscribed as eQ, type WsTrade as eR, type WsUnsubscribed as eS, type WsVenueBook as eT, type WsVenueInfo as eU, type WsVenueLevel as eV, type WsWithdrawalLegStatus as eW, type WsWithdrawalLifecycleEvent as eX, type WsWithdrawalLifecycleLeg as eY, type WsWithdrawalLifecycleStatus as eZ, applyOrderbookDelta as e_, type VenueGeoPolicyEntry as ea, type VenueMarketListItem as eb, type VenueMarketRef as ec, type VenueOrderbookEntry as ed, type VenueOrderbookLevel as ee, type VenuePositionBalance as ef, type VenuePriceInfo as eg, type VenueSoloQuote as eh, type VerifyBody as ei, type VerifyResponse as ej, type WalletChainBalance as ek, type WalletTokenBalance as el, type WithdrawManagedRequest as em, type WithdrawManagedSourceItem as en, type WithdrawTokenSymbol as eo, type WithdrawalExpected as ep, type WithdrawalLeg as eq, type WithdrawalLegStatus as er, type WithdrawalLegType as es, type WithdrawalLifecycleStatus as et, type WithdrawalSource as eu, type WithdrawalSourceItem as ev, type WithdrawalSourceStatus as ew, type WithdrawalSourceTokenSymbol as ex, type WsArbFeedEntry as ey, type WsAttributedLevel as ez, type AggWebSocketCallbacks as f, getEffectiveDisabledVenues as f0, isVenueActive as f1, isVenueDataVisible as f2, isVenueInactive as f3, snapshotToOrderbook as f4, type VenueMarket as g, type VenueMarketOutcome as h, type Orderbook as i, TradeSide$1 as j, type AggClientOptions as k, type AggClientSessionInput as l, type AuthStatus as m, type SiwsMessageParams as n, type AggAuthVerifyBody as o, type AggAuthStartBody as p, type AggAuthStartResult as q, type AggLinkAccountBody as r, type AggLinkAccountResult as s, type AggLinkAccountWalletConfirmBody as t, type AggLinkAccountConfirmResult as u, type UpdateUserBody as v, type UserHolding as w, type OrderListQuery as x, type TradeExecutorOrderListResponse as y, type ExecutionOrderItem as z };
|
|
4479
|
+
export { type PaperTradingAppOptions as $, AggWebSocket as A, type ExecutionStatusQuery as B, type ChartBarsResponse as C, type ExecutionStatusResponse as D, type ExecutionOrdersQuery as E, type UserActivityQuery as F, type UserActivityItem as G, type LeaderboardRow as H, type LeaderboardSeriesQuery as I, type LeaderboardSeries as J, type ExecutionPositionsQuery as K, type LeaderboardQuery as L, MarketDataEngine as M, type ExecutionPositionGroup as N, type OrderbookState as O, type PaginatedResponse as P, type ManagedBalancesParams as Q, type UnifiedBalanceResponse as R, type SiweMessageParams as S, type TradeSplit as T, type UserProfile as U, Venue as V, type WsArbMarketUpdate as W, type UpsertVenueKey as X, type VenueKeySummary as Y, type VenueKeyStatus as Z, type CreatePaperTradingAccountParams as _, type AggWebSocketOptions as a, type WithdrawManagedResponse as a$, type PaperTradingAccount as a0, type PaperTradingAccountListParams as a1, type PaperTradingAccountsPage as a2, type SetPaperTradingBalanceParams as a3, type PaperTradingBalanceResponse as a4, type ResetPaperTradingAccountParams as a5, type PlacePaperTradingOrderParams as a6, type PaperTradingOrder as a7, type PaperTradingListParams as a8, type PaperTradingPositionsPage as a9, type SearchParams as aA, type SearchResponse as aB, type CorrelatedMarketsStatus as aC, type CorrelatedMarketSignalBatch as aD, type CorrelatedMarketQueryResult as aE, type CorrelatedMarketCascadeResponse as aF, type ResolveCorrelatedMarketsParams as aG, type ResolveCorrelatedMarketsResponse as aH, type ChartResolution as aI, type BatchOrderbooksResponse as aJ, type BatchMidpointsResponse as aK, type OutcomeOrderbookResponse as aL, type SmartRouteParams as aM, type SmartRouteResponse as aN, type ExecuteManagedParams as aO, type ExecuteManagedResponse as aP, type PlaceLimitOrderParams as aQ, type PlaceLimitOrderResponse as aR, type PlaceOrderParams as aS, type PlaceOrderResponse as aT, type RedeemRequest as aU, type RedeemResponse as aV, type BalanceRefillPolicy as aW, type CreateBalanceRefillPolicyParams as aX, type UpdateBalanceRefillPolicyParams as aY, type BalanceRefillAttempt as aZ, type WithdrawManagedParams as a_, type PaperTradingOrdersPage as aa, type PaperTradingPortfolio as ab, type CancelOrderSignature as ac, type CancelManagedExecutionResponse as ad, type CancelVenueOrderParams as ae, MatchStatus as af, MarketStatus as ag, type RecurrenceFilter as ah, type VenueEvent as ai, type EventBootstrapResponse as aj, type SportsLiveResponse as ak, type ListRecurringCryptoMarketsOptions as al, type RecurringCryptoMarketsResponse as am, type GetCryptoReferencePricesOptions as an, type CryptoReferencePricesResponse as ao, type Category as ap, type AppClientConfigResponse as aq, type VenueGeoPolicyResponse as ar, type RpcTokenResponse as as, type NewsFeedListResponse as at, type NewsFeedPageOptions as au, type NewsFeedArticleFeedResponse as av, type NewsFeedMarketFeedResponse as aw, type NewsFeedStatusResponse as ax, type NewsFeedMarketNewsParams as ay, type NewsFeedMarketNewsResponse as az, type ChartHistoryManifest as b, type DiagnosticEvent as b$, type WithdrawPreviewParams as b0, type WithdrawPreviewResponse as b1, type WithdrawalQuoteParams as b2, type WithdrawalQuoteResponse as b3, type SyncBalancesResponse as b4, type DepositAddressesResponse as b5, type GetPositionsParams as b6, type PositionGroup as b7, type RampQuoteRequest as b8, type RampQuote as b9, CONFIRMED_MATCH_STATUSES as bA, CandleBuilder as bB, type CandleInterval as bC, type CandleTail as bD, Chain as bE, type ChartBarsMeta as bF, type ChartVenueCandles as bG, type ComputeSplitsRequest as bH, type ComputeSplitsResponse as bI, type ComputeSplitsSelection as bJ, type CorrelatedMarketCascadeItem as bK, type CorrelatedMarketSide as bL, type CorrelatedMarketSignal as bM, type CorrelatedMarketSignalDirection as bN, type CreateApp as bO, type CryptoReferencePriceError as bP, type CryptoReferencePriceExternalMarketInput as bQ, type CryptoReferencePriceMarketInput as bR, type CryptoReferencePriceResult as bS, type CryptoReferencePriceSource as bT, type CryptoReferencePriceTarget as bU, type DepositAddressesPendingResponse as bV, type DepositAddressesReadyResponse as bW, type DepositAddressesSupportedChain as bX, type DepositAddressesToken as bY, type DepositStep as bZ, type DiagnosticCallback as b_, type RampSessionRequest as ba, type RampWidgetSession as bb, type Candle as bc, ACTIVE_VENUES as bd, type Account as be, AccountProvider as bf, AccountType as bg, type AggAuthDeliveryMode as bh, type AggAuthPrivyVerifyBody as bi, type AggAuthProviderType as bj, type AggAuthWalletVerifyBody as bk, type AggClientAuthOptions as bl, type AggSessionUser as bm, type AggregatedOrderbookLevel as bn, type AggregatedOrderbookResponse as bo, type App as bp, type AppTradingMode as bq, type AttributedOrderbook as br, type AttributedOrderbookLevel as bs, type AuthCodeResponse as bt, type AuthTokenResponse as bu, type AuthUser as bv, type BalanceCustody as bw, type BalanceRefillAttemptStatus as bx, type BalanceRefillPolicyStatus as by, type BookQuality as bz, type ChartCandle as c, type PersistedAuthSnapshot as c$, type ExecuteManagedRequest as c0, type ExecuteTradeRequest as c1, type ExecuteTradeResponse as c2, type ExecutionDagProgress as c3, type ExecutionDisplayGroupStatus as c4, type ExecutionDisplayStepKind as c5, type ExecutionMode as c6, type ExecutionOverallState as c7, type ExecutionStatusOrder as c8, type ExecutionStatusStep as c9, type NewsFeedLinkedMarket as cA, type NewsFeedMarketFeedArticle as cB, type NewsFeedMarketFeedItem as cC, type NewsFeedMarketNewsResult as cD, type NonceResponse as cE, type NovigExecutionMode as cF, OPTIONAL_SIGNATURE_TIMEOUT_MS as cG, type OrderListItem as cH, OrderStatus as cI, OrderType as cJ, type OrderbookBatchItemError as cK, type OrderbookBatchItemErrorCode as cL, type OrderbookBatchItemStatus as cM, type OrderbookHistoryPoint as cN, type OrderbookHistoryResponse as cO, type OrderbookLevel as cP, type OrderbookQuoteFill as cQ, type OrderbookQuoteParams as cR, type OrderbookQuoteResponse as cS, type OrderbookServiceUnavailableError as cT, type OrderbooksOnlyError as cU, type OutcomeMidpoint as cV, type OutcomeMidpointRow as cW, type PaperTradingBalanceAdjustment as cX, type PaperTradingLiquidityStatus as cY, type PaperTradingMarkSource as cZ, type PaperTradingPosition as c_, type GetBalanceQuery as ca, type GetBalanceResponse as cb, type GetHoldingsQuery as cc, type GetHoldingsResponse as cd, type GetOrdersParams as ce, type GetOrdersQuery as cf, type GetPositionsQuery as cg, type HelloResponse as ch, type HistoryRangeRequest as ci, INACTIVE_VENUES as cj, type LeaderboardMetric as ck, type LeaderboardSeriesPoint as cl, type LimitOrderTimeInForce as cm, type MarkSource as cn, type MarketPriceHistory as co, type MarketView as cp, type MarketViewBatch as cq, MatchType as cr, type MatchedMidpoint as cs, type MatchedMidpointOutcome as ct, type MatchedOrderbookMarket as cu, type MatchedVenueMarketOutcomeRef as cv, type MidpointItem as cw, type MidpointRow as cx, type NewsFeedArticleFeedItem as cy, type NewsFeedArticleWithSummary as cz, type AggWebSocketDiagnostics as d, type UserActivityUserOp as d$, type PositionRedeemStatus as d0, type PricePoint as d1, type PriceSource as d2, type PricesHistoryResponse as d3, type ProphetxExecutionMode as d4, RECURRENCE_CADENCES as d5, type RecurrenceCadence as d6, type RecurringCryptoComparisonPoint as d7, type RecurringCryptoComparisonPriceSource as d8, type RecurringCryptoDuration as d9, type SignatureRequest as dA, type SignatureRequestType as dB, type SignerFn as dC, type SimpleOrderbookLevel as dD, type SmartRouteAllocation as dE, type SmartRouteBridgeStep as dF, type SmartRouteFeeBreakdown as dG, type SmartRouteFill as dH, type SmartRouteSettlementLeg as dI, type SmartRouteSettlementPlan as dJ, type SmartRouteSetupCostLine as dK, type SmartRouteSide as dL, type SmartRouteStatus as dM, type SmartRouteVenueFill as dN, type SportsGameStatus as dO, type SportsLiveParticipant as dP, type SportsLiveState as dQ, TERMINAL_EXECUTION_STATES as dR, TimeInForce as dS, type TradeExecutorOrder as dT, type TradeStep as dU, type UserActivityBridge as dV, type UserActivityDeposit as dW, type UserActivityRedeem as dX, type UserActivityRedeemLeg as dY, type UserActivityTrade as dZ, type UserActivityType as d_, type RecurringCryptoDurationInput as da, type RecurringCryptoMarketMetrics as db, type RecurringCryptoOrderbookDepthLevel as dc, type RecurringCryptoOrderbookDepthSide as dd, type RecurringCryptoOutcome as de, type RecurringCryptoOutcomeOrderbookDepth as df, type RecurringCryptoPriceComparison as dg, type RecurringCryptoReferencePrice as dh, type RecurringCryptoResolution as di, type RecurringCryptoSourceConfidence as dj, type RecurringCryptoVenueMarket as dk, type RecurringCryptoWindowComparisons as dl, type RecurringCryptoWindowMarket as dm, type RedeemLegResult as dn, type RedeemLegStatus as dp, type RequestedOrderbookMarket as dq, type ResolvedCorrelatedMarketsResponse as dr, SELF_CUSTODY_FILL_TIMEOUT_MS as ds, SELF_CUSTODY_POLL_INTERVAL_MS as dt, type ServerWallet as du, type SettlementDiff as dv, type SettlementDifference as dw, type SettlementSource as dx, type SetupDepositAddressStep as dy, type SetupVenueKeyStep as dz, type WsArbFeedBatch as e, applyOrderbookDelta as e$, type UserActivityWithdrawal as e0, VENUES as e1, VENUE_CHAIN_IDS as e2, type ValidateBalanceOnClientStep as e3, type ValidateManagedParams as e4, type ValidateManagedRequest as e5, type ValidateManagedResponse as e6, type ValidateTradeRequest as e7, type ValidateTradeResponse as e8, type VenueEventListItem as e9, type WsAttributedLevel as eA, type WsAuthenticated as eB, type WsBalanceUpdate as eC, type WsCandleInterval as eD, type WsClientMessage as eE, type WsConnected as eF, type WsError as eG, type WsHeartbeat as eH, type WsMarkSource as eI, type WsMarketResolved as eJ, type WsOrderEvent as eK, type WsOrderEventType as eL, type WsOrderSubmitted as eM, type WsOrderbookDelta as eN, type WsOrderbookSnapshot as eO, type WsRedeemEvent as eP, type WsServerMessage as eQ, type WsSubscribed as eR, type WsTrade as eS, type WsUnsubscribed as eT, type WsVenueBook as eU, type WsVenueInfo as eV, type WsVenueLevel as eW, type WsWithdrawalLegStatus as eX, type WsWithdrawalLifecycleEvent as eY, type WsWithdrawalLifecycleLeg as eZ, type WsWithdrawalLifecycleStatus as e_, type VenueEventWithMarkets as ea, type VenueGeoPolicyEntry as eb, type VenueMarketListItem as ec, type VenueMarketRef as ed, type VenueOrderbookEntry as ee, type VenueOrderbookLevel as ef, type VenuePositionBalance as eg, type VenuePriceInfo as eh, type VenueSoloQuote as ei, type VerifyBody as ej, type VerifyResponse as ek, type WalletChainBalance as el, type WalletTokenBalance as em, type WithdrawManagedRequest as en, type WithdrawManagedSourceItem as eo, type WithdrawTokenSymbol as ep, type WithdrawalExpected as eq, type WithdrawalLeg as er, type WithdrawalLegStatus as es, type WithdrawalLegType as et, type WithdrawalLifecycleStatus as eu, type WithdrawalSource as ev, type WithdrawalSourceItem as ew, type WithdrawalSourceStatus as ex, type WithdrawalSourceTokenSymbol as ey, type WsArbFeedEntry as ez, type AggWebSocketCallbacks as f, computeChecksum as f0, getEffectiveDisabledVenues as f1, isVenueActive as f2, isVenueDataVisible as f3, isVenueInactive as f4, snapshotToOrderbook as f5, type VenueMarket as g, type VenueMarketOutcome as h, type Orderbook as i, TradeSide$1 as j, type AggClientOptions as k, type AggClientSessionInput as l, type AuthStatus as m, type SiwsMessageParams as n, type AggAuthVerifyBody as o, type AggAuthStartBody as p, type AggAuthStartResult as q, type AggLinkAccountBody as r, type AggLinkAccountResult as s, type AggLinkAccountWalletConfirmBody as t, type AggLinkAccountConfirmResult as u, type UpdateUserBody as v, type UserHolding as w, type OrderListQuery as x, type TradeExecutorOrderListResponse as y, type ExecutionOrderItem as z };
|
|
@@ -1905,6 +1905,16 @@ type SignerFn = (req: SignatureRequest) => Promise<string | {
|
|
|
1905
1905
|
declare const SELF_CUSTODY_FILL_TIMEOUT_MS: number;
|
|
1906
1906
|
/** Gap between re-reads while an on-chain step is in flight. */
|
|
1907
1907
|
declare const SELF_CUSTODY_POLL_INTERVAL_MS = 2000;
|
|
1908
|
+
/**
|
|
1909
|
+
* How long `fillSelfCustody` waits on the `signer` for ONE optional request
|
|
1910
|
+
* signed by a wallet other than the user's — e.g. a partner's activation
|
|
1911
|
+
* sponsor. Such a request can delay the batch's submission by at most this long,
|
|
1912
|
+
* after which it is declined and the required signatures go out without it.
|
|
1913
|
+
* Required requests, and optional ones the user's own wallet signs (the fill's
|
|
1914
|
+
* `signingAddress` or any required request's `signerAddress`, e.g. a referral
|
|
1915
|
+
* code), are never bounded by this.
|
|
1916
|
+
*/
|
|
1917
|
+
declare const OPTIONAL_SIGNATURE_TIMEOUT_MS = 15000;
|
|
1908
1918
|
/**
|
|
1909
1919
|
* States a run never leaves. Everything else means "still working".
|
|
1910
1920
|
*
|
|
@@ -2725,6 +2735,15 @@ interface PlaceOrderParams {
|
|
|
2725
2735
|
referralPayer?: "user" | "app";
|
|
2726
2736
|
/** Required with `referralPayer: "app"`: the wallet that signs the parked payout transaction. */
|
|
2727
2737
|
referralPayerAddress?: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* User-paid referral only: a wallet that pays Hyperliquid's one-time 1 USDC
|
|
2740
|
+
* activation fee for a referrer with no HyperCore account (self-custody
|
|
2741
|
+
* Hyperliquid buys). Before the fill a pending signature with this
|
|
2742
|
+
* `signerAddress` and `purpose: "hl_activation_sponsor"` is passed to your
|
|
2743
|
+
* `signer`; it is `optional`, so declining it — or not answering within
|
|
2744
|
+
* `OPTIONAL_SIGNATURE_TIMEOUT_MS` — never costs the trade.
|
|
2745
|
+
*/
|
|
2746
|
+
referralActivationSponsorAddress?: string;
|
|
2728
2747
|
/**
|
|
2729
2748
|
* Skip the smart-route solver and send one order straight to `venue` (predict,
|
|
2730
2749
|
* hyperliquid, novig and prophetx only; others return 400). Requires a `read_write` `x-app-api-key`. No
|
|
@@ -3655,6 +3674,15 @@ interface SmartRouteParams {
|
|
|
3655
3674
|
referralPayer?: "user" | "app";
|
|
3656
3675
|
/** Required with `referralPayer: "app"`: the wallet that signs the parked payout transaction. */
|
|
3657
3676
|
referralPayerAddress?: string;
|
|
3677
|
+
/**
|
|
3678
|
+
* User-paid referral only: a wallet that pays Hyperliquid's one-time 1 USDC
|
|
3679
|
+
* activation fee for a referrer with no HyperCore account (self-custody
|
|
3680
|
+
* Hyperliquid buys). Before the fill a pending signature with this
|
|
3681
|
+
* `signerAddress` and `purpose: "hl_activation_sponsor"` is passed to your
|
|
3682
|
+
* `signer`; it is `optional`, so declining it — or not answering within
|
|
3683
|
+
* `OPTIONAL_SIGNATURE_TIMEOUT_MS` — never costs the trade.
|
|
3684
|
+
*/
|
|
3685
|
+
referralActivationSponsorAddress?: string;
|
|
3658
3686
|
}
|
|
3659
3687
|
/** One-time setup line item — populated only on deep-estimate quotes. */
|
|
3660
3688
|
interface SmartRouteSetupCostLine {
|
|
@@ -3843,6 +3871,8 @@ interface SmartRouteResponse {
|
|
|
3843
3871
|
feeBipsByVenue?: Record<string, number>;
|
|
3844
3872
|
payer: "user" | "app";
|
|
3845
3873
|
payerAddress?: string;
|
|
3874
|
+
/** Wallet sponsoring the referrer's HyperCore activation, when sent. */
|
|
3875
|
+
activationSponsorAddress?: string;
|
|
3846
3876
|
quotedFeeUsd: number;
|
|
3847
3877
|
} | null;
|
|
3848
3878
|
/** Populated only when status === "insufficient_position". */
|
|
@@ -4446,4 +4476,4 @@ declare class AggWebSocket {
|
|
|
4446
4476
|
private isOrderbookDebugEnabled;
|
|
4447
4477
|
}
|
|
4448
4478
|
|
|
4449
|
-
export { type PaperTradingAppOptions as $, AggWebSocket as A, type ExecutionStatusQuery as B, type ChartBarsResponse as C, type ExecutionStatusResponse as D, type ExecutionOrdersQuery as E, type UserActivityQuery as F, type UserActivityItem as G, type LeaderboardRow as H, type LeaderboardSeriesQuery as I, type LeaderboardSeries as J, type ExecutionPositionsQuery as K, type LeaderboardQuery as L, MarketDataEngine as M, type ExecutionPositionGroup as N, type OrderbookState as O, type PaginatedResponse as P, type ManagedBalancesParams as Q, type UnifiedBalanceResponse as R, type SiweMessageParams as S, type TradeSplit as T, type UserProfile as U, Venue as V, type WsArbMarketUpdate as W, type UpsertVenueKey as X, type VenueKeySummary as Y, type VenueKeyStatus as Z, type CreatePaperTradingAccountParams as _, type AggWebSocketOptions as a, type WithdrawManagedResponse as a$, type PaperTradingAccount as a0, type PaperTradingAccountListParams as a1, type PaperTradingAccountsPage as a2, type SetPaperTradingBalanceParams as a3, type PaperTradingBalanceResponse as a4, type ResetPaperTradingAccountParams as a5, type PlacePaperTradingOrderParams as a6, type PaperTradingOrder as a7, type PaperTradingListParams as a8, type PaperTradingPositionsPage as a9, type SearchParams as aA, type SearchResponse as aB, type CorrelatedMarketsStatus as aC, type CorrelatedMarketSignalBatch as aD, type CorrelatedMarketQueryResult as aE, type CorrelatedMarketCascadeResponse as aF, type ResolveCorrelatedMarketsParams as aG, type ResolveCorrelatedMarketsResponse as aH, type ChartResolution as aI, type BatchOrderbooksResponse as aJ, type BatchMidpointsResponse as aK, type OutcomeOrderbookResponse as aL, type SmartRouteParams as aM, type SmartRouteResponse as aN, type ExecuteManagedParams as aO, type ExecuteManagedResponse as aP, type PlaceLimitOrderParams as aQ, type PlaceLimitOrderResponse as aR, type PlaceOrderParams as aS, type PlaceOrderResponse as aT, type RedeemRequest as aU, type RedeemResponse as aV, type BalanceRefillPolicy as aW, type CreateBalanceRefillPolicyParams as aX, type UpdateBalanceRefillPolicyParams as aY, type BalanceRefillAttempt as aZ, type WithdrawManagedParams as a_, type PaperTradingOrdersPage as aa, type PaperTradingPortfolio as ab, type CancelOrderSignature as ac, type CancelManagedExecutionResponse as ad, type CancelVenueOrderParams as ae, MatchStatus as af, MarketStatus as ag, type RecurrenceFilter as ah, type VenueEvent as ai, type EventBootstrapResponse as aj, type SportsLiveResponse as ak, type ListRecurringCryptoMarketsOptions as al, type RecurringCryptoMarketsResponse as am, type GetCryptoReferencePricesOptions as an, type CryptoReferencePricesResponse as ao, type Category as ap, type AppClientConfigResponse as aq, type VenueGeoPolicyResponse as ar, type RpcTokenResponse as as, type NewsFeedListResponse as at, type NewsFeedPageOptions as au, type NewsFeedArticleFeedResponse as av, type NewsFeedMarketFeedResponse as aw, type NewsFeedStatusResponse as ax, type NewsFeedMarketNewsParams as ay, type NewsFeedMarketNewsResponse as az, type ChartHistoryManifest as b, type DiagnosticEvent as b$, type WithdrawPreviewParams as b0, type WithdrawPreviewResponse as b1, type WithdrawalQuoteParams as b2, type WithdrawalQuoteResponse as b3, type SyncBalancesResponse as b4, type DepositAddressesResponse as b5, type GetPositionsParams as b6, type PositionGroup as b7, type RampQuoteRequest as b8, type RampQuote as b9, CONFIRMED_MATCH_STATUSES as bA, CandleBuilder as bB, type CandleInterval as bC, type CandleTail as bD, Chain as bE, type ChartBarsMeta as bF, type ChartVenueCandles as bG, type ComputeSplitsRequest as bH, type ComputeSplitsResponse as bI, type ComputeSplitsSelection as bJ, type CorrelatedMarketCascadeItem as bK, type CorrelatedMarketSide as bL, type CorrelatedMarketSignal as bM, type CorrelatedMarketSignalDirection as bN, type CreateApp as bO, type CryptoReferencePriceError as bP, type CryptoReferencePriceExternalMarketInput as bQ, type CryptoReferencePriceMarketInput as bR, type CryptoReferencePriceResult as bS, type CryptoReferencePriceSource as bT, type CryptoReferencePriceTarget as bU, type DepositAddressesPendingResponse as bV, type DepositAddressesReadyResponse as bW, type DepositAddressesSupportedChain as bX, type DepositAddressesToken as bY, type DepositStep as bZ, type DiagnosticCallback as b_, type RampSessionRequest as ba, type RampWidgetSession as bb, type Candle as bc, ACTIVE_VENUES as bd, type Account as be, AccountProvider as bf, AccountType as bg, type AggAuthDeliveryMode as bh, type AggAuthPrivyVerifyBody as bi, type AggAuthProviderType as bj, type AggAuthWalletVerifyBody as bk, type AggClientAuthOptions as bl, type AggSessionUser as bm, type AggregatedOrderbookLevel as bn, type AggregatedOrderbookResponse as bo, type App as bp, type AppTradingMode as bq, type AttributedOrderbook as br, type AttributedOrderbookLevel as bs, type AuthCodeResponse as bt, type AuthTokenResponse as bu, type AuthUser as bv, type BalanceCustody as bw, type BalanceRefillAttemptStatus as bx, type BalanceRefillPolicyStatus as by, type BookQuality as bz, type ChartCandle as c, type PositionRedeemStatus as c$, type ExecuteManagedRequest as c0, type ExecuteTradeRequest as c1, type ExecuteTradeResponse as c2, type ExecutionDagProgress as c3, type ExecutionDisplayGroupStatus as c4, type ExecutionDisplayStepKind as c5, type ExecutionMode as c6, type ExecutionOverallState as c7, type ExecutionStatusOrder as c8, type ExecutionStatusStep as c9, type NewsFeedLinkedMarket as cA, type NewsFeedMarketFeedArticle as cB, type NewsFeedMarketFeedItem as cC, type NewsFeedMarketNewsResult as cD, type NonceResponse as cE, type NovigExecutionMode as cF, type OrderListItem as cG, OrderStatus as cH, OrderType as cI, type OrderbookBatchItemError as cJ, type OrderbookBatchItemErrorCode as cK, type OrderbookBatchItemStatus as cL, type OrderbookHistoryPoint as cM, type OrderbookHistoryResponse as cN, type OrderbookLevel as cO, type OrderbookQuoteFill as cP, type OrderbookQuoteParams as cQ, type OrderbookQuoteResponse as cR, type OrderbookServiceUnavailableError as cS, type OrderbooksOnlyError as cT, type OutcomeMidpoint as cU, type OutcomeMidpointRow as cV, type PaperTradingBalanceAdjustment as cW, type PaperTradingLiquidityStatus as cX, type PaperTradingMarkSource as cY, type PaperTradingPosition as cZ, type PersistedAuthSnapshot as c_, type GetBalanceQuery as ca, type GetBalanceResponse as cb, type GetHoldingsQuery as cc, type GetHoldingsResponse as cd, type GetOrdersParams as ce, type GetOrdersQuery as cf, type GetPositionsQuery as cg, type HelloResponse as ch, type HistoryRangeRequest as ci, INACTIVE_VENUES as cj, type LeaderboardMetric as ck, type LeaderboardSeriesPoint as cl, type LimitOrderTimeInForce as cm, type MarkSource as cn, type MarketPriceHistory as co, type MarketView as cp, type MarketViewBatch as cq, MatchType as cr, type MatchedMidpoint as cs, type MatchedMidpointOutcome as ct, type MatchedOrderbookMarket as cu, type MatchedVenueMarketOutcomeRef as cv, type MidpointItem as cw, type MidpointRow as cx, type NewsFeedArticleFeedItem as cy, type NewsFeedArticleWithSummary as cz, type AggWebSocketDiagnostics as d, type UserActivityWithdrawal as d$, type PricePoint as d0, type PriceSource as d1, type PricesHistoryResponse as d2, type ProphetxExecutionMode as d3, RECURRENCE_CADENCES as d4, type RecurrenceCadence as d5, type RecurringCryptoComparisonPoint as d6, type RecurringCryptoComparisonPriceSource as d7, type RecurringCryptoDuration as d8, type RecurringCryptoDurationInput as d9, type SignatureRequestType as dA, type SignerFn as dB, type SimpleOrderbookLevel as dC, type SmartRouteAllocation as dD, type SmartRouteBridgeStep as dE, type SmartRouteFeeBreakdown as dF, type SmartRouteFill as dG, type SmartRouteSettlementLeg as dH, type SmartRouteSettlementPlan as dI, type SmartRouteSetupCostLine as dJ, type SmartRouteSide as dK, type SmartRouteStatus as dL, type SmartRouteVenueFill as dM, type SportsGameStatus as dN, type SportsLiveParticipant as dO, type SportsLiveState as dP, TERMINAL_EXECUTION_STATES as dQ, TimeInForce as dR, type TradeExecutorOrder as dS, type TradeStep as dT, type UserActivityBridge as dU, type UserActivityDeposit as dV, type UserActivityRedeem as dW, type UserActivityRedeemLeg as dX, type UserActivityTrade as dY, type UserActivityType as dZ, type UserActivityUserOp as d_, type RecurringCryptoMarketMetrics as da, type RecurringCryptoOrderbookDepthLevel as db, type RecurringCryptoOrderbookDepthSide as dc, type RecurringCryptoOutcome as dd, type RecurringCryptoOutcomeOrderbookDepth as de, type RecurringCryptoPriceComparison as df, type RecurringCryptoReferencePrice as dg, type RecurringCryptoResolution as dh, type RecurringCryptoSourceConfidence as di, type RecurringCryptoVenueMarket as dj, type RecurringCryptoWindowComparisons as dk, type RecurringCryptoWindowMarket as dl, type RedeemLegResult as dm, type RedeemLegStatus as dn, type RequestedOrderbookMarket as dp, type ResolvedCorrelatedMarketsResponse as dq, SELF_CUSTODY_FILL_TIMEOUT_MS as dr, SELF_CUSTODY_POLL_INTERVAL_MS as ds, type ServerWallet as dt, type SettlementDiff as du, type SettlementDifference as dv, type SettlementSource as dw, type SetupDepositAddressStep as dx, type SetupVenueKeyStep as dy, type SignatureRequest as dz, type WsArbFeedBatch as e, computeChecksum as e$, VENUES as e0, VENUE_CHAIN_IDS as e1, type ValidateBalanceOnClientStep as e2, type ValidateManagedParams as e3, type ValidateManagedRequest as e4, type ValidateManagedResponse as e5, type ValidateTradeRequest as e6, type ValidateTradeResponse as e7, type VenueEventListItem as e8, type VenueEventWithMarkets as e9, type WsAuthenticated as eA, type WsBalanceUpdate as eB, type WsCandleInterval as eC, type WsClientMessage as eD, type WsConnected as eE, type WsError as eF, type WsHeartbeat as eG, type WsMarkSource as eH, type WsMarketResolved as eI, type WsOrderEvent as eJ, type WsOrderEventType as eK, type WsOrderSubmitted as eL, type WsOrderbookDelta as eM, type WsOrderbookSnapshot as eN, type WsRedeemEvent as eO, type WsServerMessage as eP, type WsSubscribed as eQ, type WsTrade as eR, type WsUnsubscribed as eS, type WsVenueBook as eT, type WsVenueInfo as eU, type WsVenueLevel as eV, type WsWithdrawalLegStatus as eW, type WsWithdrawalLifecycleEvent as eX, type WsWithdrawalLifecycleLeg as eY, type WsWithdrawalLifecycleStatus as eZ, applyOrderbookDelta as e_, type VenueGeoPolicyEntry as ea, type VenueMarketListItem as eb, type VenueMarketRef as ec, type VenueOrderbookEntry as ed, type VenueOrderbookLevel as ee, type VenuePositionBalance as ef, type VenuePriceInfo as eg, type VenueSoloQuote as eh, type VerifyBody as ei, type VerifyResponse as ej, type WalletChainBalance as ek, type WalletTokenBalance as el, type WithdrawManagedRequest as em, type WithdrawManagedSourceItem as en, type WithdrawTokenSymbol as eo, type WithdrawalExpected as ep, type WithdrawalLeg as eq, type WithdrawalLegStatus as er, type WithdrawalLegType as es, type WithdrawalLifecycleStatus as et, type WithdrawalSource as eu, type WithdrawalSourceItem as ev, type WithdrawalSourceStatus as ew, type WithdrawalSourceTokenSymbol as ex, type WsArbFeedEntry as ey, type WsAttributedLevel as ez, type AggWebSocketCallbacks as f, getEffectiveDisabledVenues as f0, isVenueActive as f1, isVenueDataVisible as f2, isVenueInactive as f3, snapshotToOrderbook as f4, type VenueMarket as g, type VenueMarketOutcome as h, type Orderbook as i, TradeSide$1 as j, type AggClientOptions as k, type AggClientSessionInput as l, type AuthStatus as m, type SiwsMessageParams as n, type AggAuthVerifyBody as o, type AggAuthStartBody as p, type AggAuthStartResult as q, type AggLinkAccountBody as r, type AggLinkAccountResult as s, type AggLinkAccountWalletConfirmBody as t, type AggLinkAccountConfirmResult as u, type UpdateUserBody as v, type UserHolding as w, type OrderListQuery as x, type TradeExecutorOrderListResponse as y, type ExecutionOrderItem as z };
|
|
4479
|
+
export { type PaperTradingAppOptions as $, AggWebSocket as A, type ExecutionStatusQuery as B, type ChartBarsResponse as C, type ExecutionStatusResponse as D, type ExecutionOrdersQuery as E, type UserActivityQuery as F, type UserActivityItem as G, type LeaderboardRow as H, type LeaderboardSeriesQuery as I, type LeaderboardSeries as J, type ExecutionPositionsQuery as K, type LeaderboardQuery as L, MarketDataEngine as M, type ExecutionPositionGroup as N, type OrderbookState as O, type PaginatedResponse as P, type ManagedBalancesParams as Q, type UnifiedBalanceResponse as R, type SiweMessageParams as S, type TradeSplit as T, type UserProfile as U, Venue as V, type WsArbMarketUpdate as W, type UpsertVenueKey as X, type VenueKeySummary as Y, type VenueKeyStatus as Z, type CreatePaperTradingAccountParams as _, type AggWebSocketOptions as a, type WithdrawManagedResponse as a$, type PaperTradingAccount as a0, type PaperTradingAccountListParams as a1, type PaperTradingAccountsPage as a2, type SetPaperTradingBalanceParams as a3, type PaperTradingBalanceResponse as a4, type ResetPaperTradingAccountParams as a5, type PlacePaperTradingOrderParams as a6, type PaperTradingOrder as a7, type PaperTradingListParams as a8, type PaperTradingPositionsPage as a9, type SearchParams as aA, type SearchResponse as aB, type CorrelatedMarketsStatus as aC, type CorrelatedMarketSignalBatch as aD, type CorrelatedMarketQueryResult as aE, type CorrelatedMarketCascadeResponse as aF, type ResolveCorrelatedMarketsParams as aG, type ResolveCorrelatedMarketsResponse as aH, type ChartResolution as aI, type BatchOrderbooksResponse as aJ, type BatchMidpointsResponse as aK, type OutcomeOrderbookResponse as aL, type SmartRouteParams as aM, type SmartRouteResponse as aN, type ExecuteManagedParams as aO, type ExecuteManagedResponse as aP, type PlaceLimitOrderParams as aQ, type PlaceLimitOrderResponse as aR, type PlaceOrderParams as aS, type PlaceOrderResponse as aT, type RedeemRequest as aU, type RedeemResponse as aV, type BalanceRefillPolicy as aW, type CreateBalanceRefillPolicyParams as aX, type UpdateBalanceRefillPolicyParams as aY, type BalanceRefillAttempt as aZ, type WithdrawManagedParams as a_, type PaperTradingOrdersPage as aa, type PaperTradingPortfolio as ab, type CancelOrderSignature as ac, type CancelManagedExecutionResponse as ad, type CancelVenueOrderParams as ae, MatchStatus as af, MarketStatus as ag, type RecurrenceFilter as ah, type VenueEvent as ai, type EventBootstrapResponse as aj, type SportsLiveResponse as ak, type ListRecurringCryptoMarketsOptions as al, type RecurringCryptoMarketsResponse as am, type GetCryptoReferencePricesOptions as an, type CryptoReferencePricesResponse as ao, type Category as ap, type AppClientConfigResponse as aq, type VenueGeoPolicyResponse as ar, type RpcTokenResponse as as, type NewsFeedListResponse as at, type NewsFeedPageOptions as au, type NewsFeedArticleFeedResponse as av, type NewsFeedMarketFeedResponse as aw, type NewsFeedStatusResponse as ax, type NewsFeedMarketNewsParams as ay, type NewsFeedMarketNewsResponse as az, type ChartHistoryManifest as b, type DiagnosticEvent as b$, type WithdrawPreviewParams as b0, type WithdrawPreviewResponse as b1, type WithdrawalQuoteParams as b2, type WithdrawalQuoteResponse as b3, type SyncBalancesResponse as b4, type DepositAddressesResponse as b5, type GetPositionsParams as b6, type PositionGroup as b7, type RampQuoteRequest as b8, type RampQuote as b9, CONFIRMED_MATCH_STATUSES as bA, CandleBuilder as bB, type CandleInterval as bC, type CandleTail as bD, Chain as bE, type ChartBarsMeta as bF, type ChartVenueCandles as bG, type ComputeSplitsRequest as bH, type ComputeSplitsResponse as bI, type ComputeSplitsSelection as bJ, type CorrelatedMarketCascadeItem as bK, type CorrelatedMarketSide as bL, type CorrelatedMarketSignal as bM, type CorrelatedMarketSignalDirection as bN, type CreateApp as bO, type CryptoReferencePriceError as bP, type CryptoReferencePriceExternalMarketInput as bQ, type CryptoReferencePriceMarketInput as bR, type CryptoReferencePriceResult as bS, type CryptoReferencePriceSource as bT, type CryptoReferencePriceTarget as bU, type DepositAddressesPendingResponse as bV, type DepositAddressesReadyResponse as bW, type DepositAddressesSupportedChain as bX, type DepositAddressesToken as bY, type DepositStep as bZ, type DiagnosticCallback as b_, type RampSessionRequest as ba, type RampWidgetSession as bb, type Candle as bc, ACTIVE_VENUES as bd, type Account as be, AccountProvider as bf, AccountType as bg, type AggAuthDeliveryMode as bh, type AggAuthPrivyVerifyBody as bi, type AggAuthProviderType as bj, type AggAuthWalletVerifyBody as bk, type AggClientAuthOptions as bl, type AggSessionUser as bm, type AggregatedOrderbookLevel as bn, type AggregatedOrderbookResponse as bo, type App as bp, type AppTradingMode as bq, type AttributedOrderbook as br, type AttributedOrderbookLevel as bs, type AuthCodeResponse as bt, type AuthTokenResponse as bu, type AuthUser as bv, type BalanceCustody as bw, type BalanceRefillAttemptStatus as bx, type BalanceRefillPolicyStatus as by, type BookQuality as bz, type ChartCandle as c, type PersistedAuthSnapshot as c$, type ExecuteManagedRequest as c0, type ExecuteTradeRequest as c1, type ExecuteTradeResponse as c2, type ExecutionDagProgress as c3, type ExecutionDisplayGroupStatus as c4, type ExecutionDisplayStepKind as c5, type ExecutionMode as c6, type ExecutionOverallState as c7, type ExecutionStatusOrder as c8, type ExecutionStatusStep as c9, type NewsFeedLinkedMarket as cA, type NewsFeedMarketFeedArticle as cB, type NewsFeedMarketFeedItem as cC, type NewsFeedMarketNewsResult as cD, type NonceResponse as cE, type NovigExecutionMode as cF, OPTIONAL_SIGNATURE_TIMEOUT_MS as cG, type OrderListItem as cH, OrderStatus as cI, OrderType as cJ, type OrderbookBatchItemError as cK, type OrderbookBatchItemErrorCode as cL, type OrderbookBatchItemStatus as cM, type OrderbookHistoryPoint as cN, type OrderbookHistoryResponse as cO, type OrderbookLevel as cP, type OrderbookQuoteFill as cQ, type OrderbookQuoteParams as cR, type OrderbookQuoteResponse as cS, type OrderbookServiceUnavailableError as cT, type OrderbooksOnlyError as cU, type OutcomeMidpoint as cV, type OutcomeMidpointRow as cW, type PaperTradingBalanceAdjustment as cX, type PaperTradingLiquidityStatus as cY, type PaperTradingMarkSource as cZ, type PaperTradingPosition as c_, type GetBalanceQuery as ca, type GetBalanceResponse as cb, type GetHoldingsQuery as cc, type GetHoldingsResponse as cd, type GetOrdersParams as ce, type GetOrdersQuery as cf, type GetPositionsQuery as cg, type HelloResponse as ch, type HistoryRangeRequest as ci, INACTIVE_VENUES as cj, type LeaderboardMetric as ck, type LeaderboardSeriesPoint as cl, type LimitOrderTimeInForce as cm, type MarkSource as cn, type MarketPriceHistory as co, type MarketView as cp, type MarketViewBatch as cq, MatchType as cr, type MatchedMidpoint as cs, type MatchedMidpointOutcome as ct, type MatchedOrderbookMarket as cu, type MatchedVenueMarketOutcomeRef as cv, type MidpointItem as cw, type MidpointRow as cx, type NewsFeedArticleFeedItem as cy, type NewsFeedArticleWithSummary as cz, type AggWebSocketDiagnostics as d, type UserActivityUserOp as d$, type PositionRedeemStatus as d0, type PricePoint as d1, type PriceSource as d2, type PricesHistoryResponse as d3, type ProphetxExecutionMode as d4, RECURRENCE_CADENCES as d5, type RecurrenceCadence as d6, type RecurringCryptoComparisonPoint as d7, type RecurringCryptoComparisonPriceSource as d8, type RecurringCryptoDuration as d9, type SignatureRequest as dA, type SignatureRequestType as dB, type SignerFn as dC, type SimpleOrderbookLevel as dD, type SmartRouteAllocation as dE, type SmartRouteBridgeStep as dF, type SmartRouteFeeBreakdown as dG, type SmartRouteFill as dH, type SmartRouteSettlementLeg as dI, type SmartRouteSettlementPlan as dJ, type SmartRouteSetupCostLine as dK, type SmartRouteSide as dL, type SmartRouteStatus as dM, type SmartRouteVenueFill as dN, type SportsGameStatus as dO, type SportsLiveParticipant as dP, type SportsLiveState as dQ, TERMINAL_EXECUTION_STATES as dR, TimeInForce as dS, type TradeExecutorOrder as dT, type TradeStep as dU, type UserActivityBridge as dV, type UserActivityDeposit as dW, type UserActivityRedeem as dX, type UserActivityRedeemLeg as dY, type UserActivityTrade as dZ, type UserActivityType as d_, type RecurringCryptoDurationInput as da, type RecurringCryptoMarketMetrics as db, type RecurringCryptoOrderbookDepthLevel as dc, type RecurringCryptoOrderbookDepthSide as dd, type RecurringCryptoOutcome as de, type RecurringCryptoOutcomeOrderbookDepth as df, type RecurringCryptoPriceComparison as dg, type RecurringCryptoReferencePrice as dh, type RecurringCryptoResolution as di, type RecurringCryptoSourceConfidence as dj, type RecurringCryptoVenueMarket as dk, type RecurringCryptoWindowComparisons as dl, type RecurringCryptoWindowMarket as dm, type RedeemLegResult as dn, type RedeemLegStatus as dp, type RequestedOrderbookMarket as dq, type ResolvedCorrelatedMarketsResponse as dr, SELF_CUSTODY_FILL_TIMEOUT_MS as ds, SELF_CUSTODY_POLL_INTERVAL_MS as dt, type ServerWallet as du, type SettlementDiff as dv, type SettlementDifference as dw, type SettlementSource as dx, type SetupDepositAddressStep as dy, type SetupVenueKeyStep as dz, type WsArbFeedBatch as e, applyOrderbookDelta as e$, type UserActivityWithdrawal as e0, VENUES as e1, VENUE_CHAIN_IDS as e2, type ValidateBalanceOnClientStep as e3, type ValidateManagedParams as e4, type ValidateManagedRequest as e5, type ValidateManagedResponse as e6, type ValidateTradeRequest as e7, type ValidateTradeResponse as e8, type VenueEventListItem as e9, type WsAttributedLevel as eA, type WsAuthenticated as eB, type WsBalanceUpdate as eC, type WsCandleInterval as eD, type WsClientMessage as eE, type WsConnected as eF, type WsError as eG, type WsHeartbeat as eH, type WsMarkSource as eI, type WsMarketResolved as eJ, type WsOrderEvent as eK, type WsOrderEventType as eL, type WsOrderSubmitted as eM, type WsOrderbookDelta as eN, type WsOrderbookSnapshot as eO, type WsRedeemEvent as eP, type WsServerMessage as eQ, type WsSubscribed as eR, type WsTrade as eS, type WsUnsubscribed as eT, type WsVenueBook as eU, type WsVenueInfo as eV, type WsVenueLevel as eW, type WsWithdrawalLegStatus as eX, type WsWithdrawalLifecycleEvent as eY, type WsWithdrawalLifecycleLeg as eZ, type WsWithdrawalLifecycleStatus as e_, type VenueEventWithMarkets as ea, type VenueGeoPolicyEntry as eb, type VenueMarketListItem as ec, type VenueMarketRef as ed, type VenueOrderbookEntry as ee, type VenueOrderbookLevel as ef, type VenuePositionBalance as eg, type VenuePriceInfo as eh, type VenueSoloQuote as ei, type VerifyBody as ej, type VerifyResponse as ek, type WalletChainBalance as el, type WalletTokenBalance as em, type WithdrawManagedRequest as en, type WithdrawManagedSourceItem as eo, type WithdrawTokenSymbol as ep, type WithdrawalExpected as eq, type WithdrawalLeg as er, type WithdrawalLegStatus as es, type WithdrawalLegType as et, type WithdrawalLifecycleStatus as eu, type WithdrawalSource as ev, type WithdrawalSourceItem as ew, type WithdrawalSourceStatus as ex, type WithdrawalSourceTokenSymbol as ey, type WsArbFeedEntry as ez, type AggWebSocketCallbacks as f, computeChecksum as f0, getEffectiveDisabledVenues as f1, isVenueActive as f2, isVenueDataVisible as f3, isVenueInactive as f4, snapshotToOrderbook as f5, type VenueMarket as g, type VenueMarketOutcome as h, type Orderbook as i, TradeSide$1 as j, type AggClientOptions as k, type AggClientSessionInput as l, type AuthStatus as m, type SiwsMessageParams as n, type AggAuthVerifyBody as o, type AggAuthStartBody as p, type AggAuthStartResult as q, type AggLinkAccountBody as r, type AggLinkAccountResult as s, type AggLinkAccountWalletConfirmBody as t, type AggLinkAccountConfirmResult as u, type UpdateUserBody as v, type UserHolding as w, type OrderListQuery as x, type TradeExecutorOrderListResponse as y, type ExecutionOrderItem as z };
|
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AggWebSocket, a as AggWebSocketOptions, C as ChartBarsResponse, b as ChartHistoryManifest, c as ChartCandle, d as AggWebSocketDiagnostics, M as MarketDataEngine, O as OrderbookState, W as WsArbMarketUpdate, e as WsArbFeedBatch, f as AggWebSocketCallbacks } from './agg-websocket-
|
|
1
|
+
import { A as AggWebSocket, a as AggWebSocketOptions, C as ChartBarsResponse, b as ChartHistoryManifest, c as ChartCandle, d as AggWebSocketDiagnostics, M as MarketDataEngine, O as OrderbookState, W as WsArbMarketUpdate, e as WsArbFeedBatch, f as AggWebSocketCallbacks } from './agg-websocket-Bxt9PzTz.mjs';
|
|
2
2
|
|
|
3
3
|
/** The application owns the native module Worker URL so its static bundler fingerprints it. */
|
|
4
4
|
type MarketDataWorkerFactory = () => Worker;
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AggWebSocket, a as AggWebSocketOptions, C as ChartBarsResponse, b as ChartHistoryManifest, c as ChartCandle, d as AggWebSocketDiagnostics, M as MarketDataEngine, O as OrderbookState, W as WsArbMarketUpdate, e as WsArbFeedBatch, f as AggWebSocketCallbacks } from './agg-websocket-
|
|
1
|
+
import { A as AggWebSocket, a as AggWebSocketOptions, C as ChartBarsResponse, b as ChartHistoryManifest, c as ChartCandle, d as AggWebSocketDiagnostics, M as MarketDataEngine, O as OrderbookState, W as WsArbMarketUpdate, e as WsArbFeedBatch, f as AggWebSocketCallbacks } from './agg-websocket-Bxt9PzTz.js';
|
|
2
2
|
|
|
3
3
|
/** The application owns the native module Worker URL so its static bundler fingerprints it. */
|
|
4
4
|
type MarketDataWorkerFactory = () => Worker;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as Venue, U as UserProfile, T as TradeSplit, g as VenueMarket, h as VenueMarketOutcome, i as Orderbook, j as TradeSide, k as AggClientOptions, l as AggClientSessionInput, m as AuthStatus, S as SiweMessageParams, n as SiwsMessageParams, o as AggAuthVerifyBody, p as AggAuthStartBody, q as AggAuthStartResult, r as AggLinkAccountBody, s as AggLinkAccountResult, t as AggLinkAccountWalletConfirmBody, u as AggLinkAccountConfirmResult, v as UpdateUserBody, P as PaginatedResponse, w as UserHolding, x as OrderListQuery, y as TradeExecutorOrderListResponse, E as ExecutionOrdersQuery, z as ExecutionOrderItem, B as ExecutionStatusQuery, D as ExecutionStatusResponse, F as UserActivityQuery, G as UserActivityItem, L as LeaderboardQuery, H as LeaderboardRow, I as LeaderboardSeriesQuery, J as LeaderboardSeries, K as ExecutionPositionsQuery, N as ExecutionPositionGroup, Q as ManagedBalancesParams, R as UnifiedBalanceResponse, X as UpsertVenueKey, Y as VenueKeySummary, Z as VenueKeyStatus, _ as CreatePaperTradingAccountParams, $ as PaperTradingAppOptions, a0 as PaperTradingAccount, a1 as PaperTradingAccountListParams, a2 as PaperTradingAccountsPage, a3 as SetPaperTradingBalanceParams, a4 as PaperTradingBalanceResponse, a5 as ResetPaperTradingAccountParams, a6 as PlacePaperTradingOrderParams, a7 as PaperTradingOrder, a8 as PaperTradingListParams, a9 as PaperTradingPositionsPage, aa as PaperTradingOrdersPage, ab as PaperTradingPortfolio, ac as CancelOrderSignature, ad as CancelManagedExecutionResponse, ae as CancelVenueOrderParams, af as MatchStatus, ag as MarketStatus, ah as RecurrenceFilter, ai as VenueEvent, aj as EventBootstrapResponse, ak as SportsLiveResponse, al as ListRecurringCryptoMarketsOptions, am as RecurringCryptoMarketsResponse, an as GetCryptoReferencePricesOptions, ao as CryptoReferencePricesResponse, ap as Category, aq as AppClientConfigResponse, ar as VenueGeoPolicyResponse, as as RpcTokenResponse, at as NewsFeedListResponse, au as NewsFeedPageOptions, av as NewsFeedArticleFeedResponse, aw as NewsFeedMarketFeedResponse, ax as NewsFeedStatusResponse, ay as NewsFeedMarketNewsParams, az as NewsFeedMarketNewsResponse, aA as SearchParams, aB as SearchResponse, aC as CorrelatedMarketsStatus, aD as CorrelatedMarketSignalBatch, aE as CorrelatedMarketQueryResult, aF as CorrelatedMarketCascadeResponse, aG as ResolveCorrelatedMarketsParams, aH as ResolveCorrelatedMarketsResponse, aI as ChartResolution, C as ChartBarsResponse, b as ChartHistoryManifest, aJ as BatchOrderbooksResponse, aK as BatchMidpointsResponse, aL as OutcomeOrderbookResponse, aM as SmartRouteParams, aN as SmartRouteResponse, f as AggWebSocketCallbacks, A as AggWebSocket, aO as ExecuteManagedParams, aP as ExecuteManagedResponse, aQ as PlaceLimitOrderParams, aR as PlaceLimitOrderResponse, aS as PlaceOrderParams, aT as PlaceOrderResponse, aU as RedeemRequest, aV as RedeemResponse, aW as BalanceRefillPolicy, aX as CreateBalanceRefillPolicyParams, aY as UpdateBalanceRefillPolicyParams, aZ as BalanceRefillAttempt, a_ as WithdrawManagedParams, a$ as WithdrawManagedResponse, b0 as WithdrawPreviewParams, b1 as WithdrawPreviewResponse, b2 as WithdrawalQuoteParams, b3 as WithdrawalQuoteResponse, b4 as SyncBalancesResponse, b5 as DepositAddressesResponse, b6 as GetPositionsParams, b7 as PositionGroup, b8 as RampQuoteRequest, b9 as RampQuote, ba as RampSessionRequest, bb as RampWidgetSession, bc as Candle, c as ChartCandle } from './agg-websocket-
|
|
2
|
-
export { bd as ACTIVE_VENUES, be as Account, bf as AccountProvider, bg as AccountType, bh as AggAuthDeliveryMode, bi as AggAuthPrivyVerifyBody, bj as AggAuthProviderType, bk as AggAuthWalletVerifyBody, bl as AggClientAuthOptions, bm as AggSessionUser, d as AggWebSocketDiagnostics, a as AggWebSocketOptions, bn as AggregatedOrderbookLevel, bo as AggregatedOrderbookResponse, bp as App, bq as AppTradingMode, br as AttributedOrderbook, bs as AttributedOrderbookLevel, bt as AuthCodeResponse, bu as AuthTokenResponse, bv as AuthUser, bw as BalanceCustody, bx as BalanceRefillAttemptStatus, by as BalanceRefillPolicyStatus, bz as BookQuality, bA as CONFIRMED_MATCH_STATUSES, bB as CandleBuilder, bC as CandleInterval, bD as CandleTail, bE as Chain, bF as ChartBarsMeta, bG as ChartVenueCandles, bH as ComputeSplitsRequest, bI as ComputeSplitsResponse, bJ as ComputeSplitsSelection, bK as CorrelatedMarketCascadeItem, bL as CorrelatedMarketSide, bM as CorrelatedMarketSignal, bN as CorrelatedMarketSignalDirection, bO as CreateApp, bP as CryptoReferencePriceError, bQ as CryptoReferencePriceExternalMarketInput, bR as CryptoReferencePriceMarketInput, bS as CryptoReferencePriceResult, bT as CryptoReferencePriceSource, bU as CryptoReferencePriceTarget, bV as DepositAddressesPendingResponse, bW as DepositAddressesReadyResponse, bX as DepositAddressesSupportedChain, bY as DepositAddressesToken, bZ as DepositStep, b_ as DiagnosticCallback, b$ as DiagnosticEvent, c0 as ExecuteManagedRequest, c1 as ExecuteTradeRequest, c2 as ExecuteTradeResponse, c3 as ExecutionDagProgress, c4 as ExecutionDisplayGroupStatus, c5 as ExecutionDisplayStepKind, c6 as ExecutionMode, c7 as ExecutionOverallState, c8 as ExecutionStatusOrder, c9 as ExecutionStatusStep, ca as GetBalanceQuery, cb as GetBalanceResponse, cc as GetHoldingsQuery, cd as GetHoldingsResponse, ce as GetOrdersParams, cf as GetOrdersQuery, cg as GetPositionsQuery, ch as HelloResponse, ci as HistoryRangeRequest, cj as INACTIVE_VENUES, ck as LeaderboardMetric, cl as LeaderboardSeriesPoint, cm as LimitOrderTimeInForce, cn as MarkSource, co as MarketPriceHistory, cp as MarketView, cq as MarketViewBatch, cr as MatchType, cs as MatchedMidpoint, ct as MatchedMidpointOutcome, cu as MatchedOrderbookMarket, cv as MatchedVenueMarketOutcomeRef, cw as MidpointItem, cx as MidpointRow, cy as NewsFeedArticleFeedItem, cz as NewsFeedArticleWithSummary, cA as NewsFeedLinkedMarket, cB as NewsFeedMarketFeedArticle, cC as NewsFeedMarketFeedItem, cD as NewsFeedMarketNewsResult, cE as NonceResponse, cF as NovigExecutionMode, cG as
|
|
1
|
+
import { V as Venue, U as UserProfile, T as TradeSplit, g as VenueMarket, h as VenueMarketOutcome, i as Orderbook, j as TradeSide, k as AggClientOptions, l as AggClientSessionInput, m as AuthStatus, S as SiweMessageParams, n as SiwsMessageParams, o as AggAuthVerifyBody, p as AggAuthStartBody, q as AggAuthStartResult, r as AggLinkAccountBody, s as AggLinkAccountResult, t as AggLinkAccountWalletConfirmBody, u as AggLinkAccountConfirmResult, v as UpdateUserBody, P as PaginatedResponse, w as UserHolding, x as OrderListQuery, y as TradeExecutorOrderListResponse, E as ExecutionOrdersQuery, z as ExecutionOrderItem, B as ExecutionStatusQuery, D as ExecutionStatusResponse, F as UserActivityQuery, G as UserActivityItem, L as LeaderboardQuery, H as LeaderboardRow, I as LeaderboardSeriesQuery, J as LeaderboardSeries, K as ExecutionPositionsQuery, N as ExecutionPositionGroup, Q as ManagedBalancesParams, R as UnifiedBalanceResponse, X as UpsertVenueKey, Y as VenueKeySummary, Z as VenueKeyStatus, _ as CreatePaperTradingAccountParams, $ as PaperTradingAppOptions, a0 as PaperTradingAccount, a1 as PaperTradingAccountListParams, a2 as PaperTradingAccountsPage, a3 as SetPaperTradingBalanceParams, a4 as PaperTradingBalanceResponse, a5 as ResetPaperTradingAccountParams, a6 as PlacePaperTradingOrderParams, a7 as PaperTradingOrder, a8 as PaperTradingListParams, a9 as PaperTradingPositionsPage, aa as PaperTradingOrdersPage, ab as PaperTradingPortfolio, ac as CancelOrderSignature, ad as CancelManagedExecutionResponse, ae as CancelVenueOrderParams, af as MatchStatus, ag as MarketStatus, ah as RecurrenceFilter, ai as VenueEvent, aj as EventBootstrapResponse, ak as SportsLiveResponse, al as ListRecurringCryptoMarketsOptions, am as RecurringCryptoMarketsResponse, an as GetCryptoReferencePricesOptions, ao as CryptoReferencePricesResponse, ap as Category, aq as AppClientConfigResponse, ar as VenueGeoPolicyResponse, as as RpcTokenResponse, at as NewsFeedListResponse, au as NewsFeedPageOptions, av as NewsFeedArticleFeedResponse, aw as NewsFeedMarketFeedResponse, ax as NewsFeedStatusResponse, ay as NewsFeedMarketNewsParams, az as NewsFeedMarketNewsResponse, aA as SearchParams, aB as SearchResponse, aC as CorrelatedMarketsStatus, aD as CorrelatedMarketSignalBatch, aE as CorrelatedMarketQueryResult, aF as CorrelatedMarketCascadeResponse, aG as ResolveCorrelatedMarketsParams, aH as ResolveCorrelatedMarketsResponse, aI as ChartResolution, C as ChartBarsResponse, b as ChartHistoryManifest, aJ as BatchOrderbooksResponse, aK as BatchMidpointsResponse, aL as OutcomeOrderbookResponse, aM as SmartRouteParams, aN as SmartRouteResponse, f as AggWebSocketCallbacks, A as AggWebSocket, aO as ExecuteManagedParams, aP as ExecuteManagedResponse, aQ as PlaceLimitOrderParams, aR as PlaceLimitOrderResponse, aS as PlaceOrderParams, aT as PlaceOrderResponse, aU as RedeemRequest, aV as RedeemResponse, aW as BalanceRefillPolicy, aX as CreateBalanceRefillPolicyParams, aY as UpdateBalanceRefillPolicyParams, aZ as BalanceRefillAttempt, a_ as WithdrawManagedParams, a$ as WithdrawManagedResponse, b0 as WithdrawPreviewParams, b1 as WithdrawPreviewResponse, b2 as WithdrawalQuoteParams, b3 as WithdrawalQuoteResponse, b4 as SyncBalancesResponse, b5 as DepositAddressesResponse, b6 as GetPositionsParams, b7 as PositionGroup, b8 as RampQuoteRequest, b9 as RampQuote, ba as RampSessionRequest, bb as RampWidgetSession, bc as Candle, c as ChartCandle } from './agg-websocket-Bxt9PzTz.mjs';
|
|
2
|
+
export { bd as ACTIVE_VENUES, be as Account, bf as AccountProvider, bg as AccountType, bh as AggAuthDeliveryMode, bi as AggAuthPrivyVerifyBody, bj as AggAuthProviderType, bk as AggAuthWalletVerifyBody, bl as AggClientAuthOptions, bm as AggSessionUser, d as AggWebSocketDiagnostics, a as AggWebSocketOptions, bn as AggregatedOrderbookLevel, bo as AggregatedOrderbookResponse, bp as App, bq as AppTradingMode, br as AttributedOrderbook, bs as AttributedOrderbookLevel, bt as AuthCodeResponse, bu as AuthTokenResponse, bv as AuthUser, bw as BalanceCustody, bx as BalanceRefillAttemptStatus, by as BalanceRefillPolicyStatus, bz as BookQuality, bA as CONFIRMED_MATCH_STATUSES, bB as CandleBuilder, bC as CandleInterval, bD as CandleTail, bE as Chain, bF as ChartBarsMeta, bG as ChartVenueCandles, bH as ComputeSplitsRequest, bI as ComputeSplitsResponse, bJ as ComputeSplitsSelection, bK as CorrelatedMarketCascadeItem, bL as CorrelatedMarketSide, bM as CorrelatedMarketSignal, bN as CorrelatedMarketSignalDirection, bO as CreateApp, bP as CryptoReferencePriceError, bQ as CryptoReferencePriceExternalMarketInput, bR as CryptoReferencePriceMarketInput, bS as CryptoReferencePriceResult, bT as CryptoReferencePriceSource, bU as CryptoReferencePriceTarget, bV as DepositAddressesPendingResponse, bW as DepositAddressesReadyResponse, bX as DepositAddressesSupportedChain, bY as DepositAddressesToken, bZ as DepositStep, b_ as DiagnosticCallback, b$ as DiagnosticEvent, c0 as ExecuteManagedRequest, c1 as ExecuteTradeRequest, c2 as ExecuteTradeResponse, c3 as ExecutionDagProgress, c4 as ExecutionDisplayGroupStatus, c5 as ExecutionDisplayStepKind, c6 as ExecutionMode, c7 as ExecutionOverallState, c8 as ExecutionStatusOrder, c9 as ExecutionStatusStep, ca as GetBalanceQuery, cb as GetBalanceResponse, cc as GetHoldingsQuery, cd as GetHoldingsResponse, ce as GetOrdersParams, cf as GetOrdersQuery, cg as GetPositionsQuery, ch as HelloResponse, ci as HistoryRangeRequest, cj as INACTIVE_VENUES, ck as LeaderboardMetric, cl as LeaderboardSeriesPoint, cm as LimitOrderTimeInForce, cn as MarkSource, co as MarketPriceHistory, cp as MarketView, cq as MarketViewBatch, cr as MatchType, cs as MatchedMidpoint, ct as MatchedMidpointOutcome, cu as MatchedOrderbookMarket, cv as MatchedVenueMarketOutcomeRef, cw as MidpointItem, cx as MidpointRow, cy as NewsFeedArticleFeedItem, cz as NewsFeedArticleWithSummary, cA as NewsFeedLinkedMarket, cB as NewsFeedMarketFeedArticle, cC as NewsFeedMarketFeedItem, cD as NewsFeedMarketNewsResult, cE as NonceResponse, cF as NovigExecutionMode, cG as OPTIONAL_SIGNATURE_TIMEOUT_MS, cH as OrderListItem, cI as OrderStatus, cJ as OrderType, cK as OrderbookBatchItemError, cL as OrderbookBatchItemErrorCode, cM as OrderbookBatchItemStatus, cN as OrderbookHistoryPoint, cO as OrderbookHistoryResponse, cP as OrderbookLevel, cQ as OrderbookQuoteFill, cR as OrderbookQuoteParams, cS as OrderbookQuoteResponse, cT as OrderbookServiceUnavailableError, O as OrderbookState, cU as OrderbooksOnlyError, cV as OutcomeMidpoint, cW as OutcomeMidpointRow, cX as PaperTradingBalanceAdjustment, cY as PaperTradingLiquidityStatus, cZ as PaperTradingMarkSource, c_ as PaperTradingPosition, c$ as PersistedAuthSnapshot, d0 as PositionRedeemStatus, d1 as PricePoint, d2 as PriceSource, d3 as PricesHistoryResponse, d4 as ProphetxExecutionMode, d5 as RECURRENCE_CADENCES, d6 as RecurrenceCadence, d7 as RecurringCryptoComparisonPoint, d8 as RecurringCryptoComparisonPriceSource, d9 as RecurringCryptoDuration, da as RecurringCryptoDurationInput, db as RecurringCryptoMarketMetrics, dc as RecurringCryptoOrderbookDepthLevel, dd as RecurringCryptoOrderbookDepthSide, de as RecurringCryptoOutcome, df as RecurringCryptoOutcomeOrderbookDepth, dg as RecurringCryptoPriceComparison, dh as RecurringCryptoReferencePrice, di as RecurringCryptoResolution, dj as RecurringCryptoSourceConfidence, dk as RecurringCryptoVenueMarket, dl as RecurringCryptoWindowComparisons, dm as RecurringCryptoWindowMarket, dn as RedeemLegResult, dp as RedeemLegStatus, dq as RequestedOrderbookMarket, dr as ResolvedCorrelatedMarketsResponse, ds as SELF_CUSTODY_FILL_TIMEOUT_MS, dt as SELF_CUSTODY_POLL_INTERVAL_MS, du as ServerWallet, dv as SettlementDiff, dw as SettlementDifference, dx as SettlementSource, dy as SetupDepositAddressStep, dz as SetupVenueKeyStep, dA as SignatureRequest, dB as SignatureRequestType, dC as SignerFn, dD as SimpleOrderbookLevel, dE as SmartRouteAllocation, dF as SmartRouteBridgeStep, dG as SmartRouteFeeBreakdown, dH as SmartRouteFill, dI as SmartRouteSettlementLeg, dJ as SmartRouteSettlementPlan, dK as SmartRouteSetupCostLine, dL as SmartRouteSide, dM as SmartRouteStatus, dN as SmartRouteVenueFill, dO as SportsGameStatus, dP as SportsLiveParticipant, dQ as SportsLiveState, dR as TERMINAL_EXECUTION_STATES, dS as TimeInForce, dT as TradeExecutorOrder, dU as TradeStep, dV as UserActivityBridge, dW as UserActivityDeposit, dX as UserActivityRedeem, dY as UserActivityRedeemLeg, dZ as UserActivityTrade, d_ as UserActivityType, d$ as UserActivityUserOp, e0 as UserActivityWithdrawal, e1 as VENUES, e2 as VENUE_CHAIN_IDS, e3 as ValidateBalanceOnClientStep, e4 as ValidateManagedParams, e5 as ValidateManagedRequest, e6 as ValidateManagedResponse, e7 as ValidateTradeRequest, e8 as ValidateTradeResponse, e9 as VenueEventListItem, ea as VenueEventWithMarkets, eb as VenueGeoPolicyEntry, ec as VenueMarketListItem, ed as VenueMarketRef, ee as VenueOrderbookEntry, ef as VenueOrderbookLevel, eg as VenuePositionBalance, eh as VenuePriceInfo, ei as VenueSoloQuote, ej as VerifyBody, ek as VerifyResponse, el as WalletChainBalance, em as WalletTokenBalance, en as WithdrawManagedRequest, eo as WithdrawManagedSourceItem, ep as WithdrawTokenSymbol, eq as WithdrawalExpected, er as WithdrawalLeg, es as WithdrawalLegStatus, et as WithdrawalLegType, eu as WithdrawalLifecycleStatus, ev as WithdrawalSource, ew as WithdrawalSourceItem, ex as WithdrawalSourceStatus, ey as WithdrawalSourceTokenSymbol, e as WsArbFeedBatch, ez as WsArbFeedEntry, W as WsArbMarketUpdate, eA as WsAttributedLevel, eB as WsAuthenticated, eC as WsBalanceUpdate, eD as WsCandleInterval, eE as WsClientMessage, eF as WsConnected, eG as WsError, eH as WsHeartbeat, eI as WsMarkSource, eJ as WsMarketResolved, eK as WsOrderEvent, eL as WsOrderEventType, eM as WsOrderSubmitted, eN as WsOrderbookDelta, eO as WsOrderbookSnapshot, eP as WsRedeemEvent, eQ as WsServerMessage, eR as WsSubscribed, eS as WsTrade, eT as WsUnsubscribed, eU as WsVenueBook, eV as WsVenueInfo, eW as WsVenueLevel, eX as WsWithdrawalLegStatus, eY as WsWithdrawalLifecycleEvent, eZ as WsWithdrawalLifecycleLeg, e_ as WsWithdrawalLifecycleStatus, e$ as applyOrderbookDelta, f0 as computeChecksum, f1 as getEffectiveDisabledVenues, f2 as isVenueActive, f3 as isVenueDataVisible, f4 as isVenueInactive, f5 as snapshotToOrderbook } from './agg-websocket-Bxt9PzTz.mjs';
|
|
3
3
|
|
|
4
4
|
declare enum ImageSize {
|
|
5
5
|
sm = 44,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as Venue, U as UserProfile, T as TradeSplit, g as VenueMarket, h as VenueMarketOutcome, i as Orderbook, j as TradeSide, k as AggClientOptions, l as AggClientSessionInput, m as AuthStatus, S as SiweMessageParams, n as SiwsMessageParams, o as AggAuthVerifyBody, p as AggAuthStartBody, q as AggAuthStartResult, r as AggLinkAccountBody, s as AggLinkAccountResult, t as AggLinkAccountWalletConfirmBody, u as AggLinkAccountConfirmResult, v as UpdateUserBody, P as PaginatedResponse, w as UserHolding, x as OrderListQuery, y as TradeExecutorOrderListResponse, E as ExecutionOrdersQuery, z as ExecutionOrderItem, B as ExecutionStatusQuery, D as ExecutionStatusResponse, F as UserActivityQuery, G as UserActivityItem, L as LeaderboardQuery, H as LeaderboardRow, I as LeaderboardSeriesQuery, J as LeaderboardSeries, K as ExecutionPositionsQuery, N as ExecutionPositionGroup, Q as ManagedBalancesParams, R as UnifiedBalanceResponse, X as UpsertVenueKey, Y as VenueKeySummary, Z as VenueKeyStatus, _ as CreatePaperTradingAccountParams, $ as PaperTradingAppOptions, a0 as PaperTradingAccount, a1 as PaperTradingAccountListParams, a2 as PaperTradingAccountsPage, a3 as SetPaperTradingBalanceParams, a4 as PaperTradingBalanceResponse, a5 as ResetPaperTradingAccountParams, a6 as PlacePaperTradingOrderParams, a7 as PaperTradingOrder, a8 as PaperTradingListParams, a9 as PaperTradingPositionsPage, aa as PaperTradingOrdersPage, ab as PaperTradingPortfolio, ac as CancelOrderSignature, ad as CancelManagedExecutionResponse, ae as CancelVenueOrderParams, af as MatchStatus, ag as MarketStatus, ah as RecurrenceFilter, ai as VenueEvent, aj as EventBootstrapResponse, ak as SportsLiveResponse, al as ListRecurringCryptoMarketsOptions, am as RecurringCryptoMarketsResponse, an as GetCryptoReferencePricesOptions, ao as CryptoReferencePricesResponse, ap as Category, aq as AppClientConfigResponse, ar as VenueGeoPolicyResponse, as as RpcTokenResponse, at as NewsFeedListResponse, au as NewsFeedPageOptions, av as NewsFeedArticleFeedResponse, aw as NewsFeedMarketFeedResponse, ax as NewsFeedStatusResponse, ay as NewsFeedMarketNewsParams, az as NewsFeedMarketNewsResponse, aA as SearchParams, aB as SearchResponse, aC as CorrelatedMarketsStatus, aD as CorrelatedMarketSignalBatch, aE as CorrelatedMarketQueryResult, aF as CorrelatedMarketCascadeResponse, aG as ResolveCorrelatedMarketsParams, aH as ResolveCorrelatedMarketsResponse, aI as ChartResolution, C as ChartBarsResponse, b as ChartHistoryManifest, aJ as BatchOrderbooksResponse, aK as BatchMidpointsResponse, aL as OutcomeOrderbookResponse, aM as SmartRouteParams, aN as SmartRouteResponse, f as AggWebSocketCallbacks, A as AggWebSocket, aO as ExecuteManagedParams, aP as ExecuteManagedResponse, aQ as PlaceLimitOrderParams, aR as PlaceLimitOrderResponse, aS as PlaceOrderParams, aT as PlaceOrderResponse, aU as RedeemRequest, aV as RedeemResponse, aW as BalanceRefillPolicy, aX as CreateBalanceRefillPolicyParams, aY as UpdateBalanceRefillPolicyParams, aZ as BalanceRefillAttempt, a_ as WithdrawManagedParams, a$ as WithdrawManagedResponse, b0 as WithdrawPreviewParams, b1 as WithdrawPreviewResponse, b2 as WithdrawalQuoteParams, b3 as WithdrawalQuoteResponse, b4 as SyncBalancesResponse, b5 as DepositAddressesResponse, b6 as GetPositionsParams, b7 as PositionGroup, b8 as RampQuoteRequest, b9 as RampQuote, ba as RampSessionRequest, bb as RampWidgetSession, bc as Candle, c as ChartCandle } from './agg-websocket-
|
|
2
|
-
export { bd as ACTIVE_VENUES, be as Account, bf as AccountProvider, bg as AccountType, bh as AggAuthDeliveryMode, bi as AggAuthPrivyVerifyBody, bj as AggAuthProviderType, bk as AggAuthWalletVerifyBody, bl as AggClientAuthOptions, bm as AggSessionUser, d as AggWebSocketDiagnostics, a as AggWebSocketOptions, bn as AggregatedOrderbookLevel, bo as AggregatedOrderbookResponse, bp as App, bq as AppTradingMode, br as AttributedOrderbook, bs as AttributedOrderbookLevel, bt as AuthCodeResponse, bu as AuthTokenResponse, bv as AuthUser, bw as BalanceCustody, bx as BalanceRefillAttemptStatus, by as BalanceRefillPolicyStatus, bz as BookQuality, bA as CONFIRMED_MATCH_STATUSES, bB as CandleBuilder, bC as CandleInterval, bD as CandleTail, bE as Chain, bF as ChartBarsMeta, bG as ChartVenueCandles, bH as ComputeSplitsRequest, bI as ComputeSplitsResponse, bJ as ComputeSplitsSelection, bK as CorrelatedMarketCascadeItem, bL as CorrelatedMarketSide, bM as CorrelatedMarketSignal, bN as CorrelatedMarketSignalDirection, bO as CreateApp, bP as CryptoReferencePriceError, bQ as CryptoReferencePriceExternalMarketInput, bR as CryptoReferencePriceMarketInput, bS as CryptoReferencePriceResult, bT as CryptoReferencePriceSource, bU as CryptoReferencePriceTarget, bV as DepositAddressesPendingResponse, bW as DepositAddressesReadyResponse, bX as DepositAddressesSupportedChain, bY as DepositAddressesToken, bZ as DepositStep, b_ as DiagnosticCallback, b$ as DiagnosticEvent, c0 as ExecuteManagedRequest, c1 as ExecuteTradeRequest, c2 as ExecuteTradeResponse, c3 as ExecutionDagProgress, c4 as ExecutionDisplayGroupStatus, c5 as ExecutionDisplayStepKind, c6 as ExecutionMode, c7 as ExecutionOverallState, c8 as ExecutionStatusOrder, c9 as ExecutionStatusStep, ca as GetBalanceQuery, cb as GetBalanceResponse, cc as GetHoldingsQuery, cd as GetHoldingsResponse, ce as GetOrdersParams, cf as GetOrdersQuery, cg as GetPositionsQuery, ch as HelloResponse, ci as HistoryRangeRequest, cj as INACTIVE_VENUES, ck as LeaderboardMetric, cl as LeaderboardSeriesPoint, cm as LimitOrderTimeInForce, cn as MarkSource, co as MarketPriceHistory, cp as MarketView, cq as MarketViewBatch, cr as MatchType, cs as MatchedMidpoint, ct as MatchedMidpointOutcome, cu as MatchedOrderbookMarket, cv as MatchedVenueMarketOutcomeRef, cw as MidpointItem, cx as MidpointRow, cy as NewsFeedArticleFeedItem, cz as NewsFeedArticleWithSummary, cA as NewsFeedLinkedMarket, cB as NewsFeedMarketFeedArticle, cC as NewsFeedMarketFeedItem, cD as NewsFeedMarketNewsResult, cE as NonceResponse, cF as NovigExecutionMode, cG as
|
|
1
|
+
import { V as Venue, U as UserProfile, T as TradeSplit, g as VenueMarket, h as VenueMarketOutcome, i as Orderbook, j as TradeSide, k as AggClientOptions, l as AggClientSessionInput, m as AuthStatus, S as SiweMessageParams, n as SiwsMessageParams, o as AggAuthVerifyBody, p as AggAuthStartBody, q as AggAuthStartResult, r as AggLinkAccountBody, s as AggLinkAccountResult, t as AggLinkAccountWalletConfirmBody, u as AggLinkAccountConfirmResult, v as UpdateUserBody, P as PaginatedResponse, w as UserHolding, x as OrderListQuery, y as TradeExecutorOrderListResponse, E as ExecutionOrdersQuery, z as ExecutionOrderItem, B as ExecutionStatusQuery, D as ExecutionStatusResponse, F as UserActivityQuery, G as UserActivityItem, L as LeaderboardQuery, H as LeaderboardRow, I as LeaderboardSeriesQuery, J as LeaderboardSeries, K as ExecutionPositionsQuery, N as ExecutionPositionGroup, Q as ManagedBalancesParams, R as UnifiedBalanceResponse, X as UpsertVenueKey, Y as VenueKeySummary, Z as VenueKeyStatus, _ as CreatePaperTradingAccountParams, $ as PaperTradingAppOptions, a0 as PaperTradingAccount, a1 as PaperTradingAccountListParams, a2 as PaperTradingAccountsPage, a3 as SetPaperTradingBalanceParams, a4 as PaperTradingBalanceResponse, a5 as ResetPaperTradingAccountParams, a6 as PlacePaperTradingOrderParams, a7 as PaperTradingOrder, a8 as PaperTradingListParams, a9 as PaperTradingPositionsPage, aa as PaperTradingOrdersPage, ab as PaperTradingPortfolio, ac as CancelOrderSignature, ad as CancelManagedExecutionResponse, ae as CancelVenueOrderParams, af as MatchStatus, ag as MarketStatus, ah as RecurrenceFilter, ai as VenueEvent, aj as EventBootstrapResponse, ak as SportsLiveResponse, al as ListRecurringCryptoMarketsOptions, am as RecurringCryptoMarketsResponse, an as GetCryptoReferencePricesOptions, ao as CryptoReferencePricesResponse, ap as Category, aq as AppClientConfigResponse, ar as VenueGeoPolicyResponse, as as RpcTokenResponse, at as NewsFeedListResponse, au as NewsFeedPageOptions, av as NewsFeedArticleFeedResponse, aw as NewsFeedMarketFeedResponse, ax as NewsFeedStatusResponse, ay as NewsFeedMarketNewsParams, az as NewsFeedMarketNewsResponse, aA as SearchParams, aB as SearchResponse, aC as CorrelatedMarketsStatus, aD as CorrelatedMarketSignalBatch, aE as CorrelatedMarketQueryResult, aF as CorrelatedMarketCascadeResponse, aG as ResolveCorrelatedMarketsParams, aH as ResolveCorrelatedMarketsResponse, aI as ChartResolution, C as ChartBarsResponse, b as ChartHistoryManifest, aJ as BatchOrderbooksResponse, aK as BatchMidpointsResponse, aL as OutcomeOrderbookResponse, aM as SmartRouteParams, aN as SmartRouteResponse, f as AggWebSocketCallbacks, A as AggWebSocket, aO as ExecuteManagedParams, aP as ExecuteManagedResponse, aQ as PlaceLimitOrderParams, aR as PlaceLimitOrderResponse, aS as PlaceOrderParams, aT as PlaceOrderResponse, aU as RedeemRequest, aV as RedeemResponse, aW as BalanceRefillPolicy, aX as CreateBalanceRefillPolicyParams, aY as UpdateBalanceRefillPolicyParams, aZ as BalanceRefillAttempt, a_ as WithdrawManagedParams, a$ as WithdrawManagedResponse, b0 as WithdrawPreviewParams, b1 as WithdrawPreviewResponse, b2 as WithdrawalQuoteParams, b3 as WithdrawalQuoteResponse, b4 as SyncBalancesResponse, b5 as DepositAddressesResponse, b6 as GetPositionsParams, b7 as PositionGroup, b8 as RampQuoteRequest, b9 as RampQuote, ba as RampSessionRequest, bb as RampWidgetSession, bc as Candle, c as ChartCandle } from './agg-websocket-Bxt9PzTz.js';
|
|
2
|
+
export { bd as ACTIVE_VENUES, be as Account, bf as AccountProvider, bg as AccountType, bh as AggAuthDeliveryMode, bi as AggAuthPrivyVerifyBody, bj as AggAuthProviderType, bk as AggAuthWalletVerifyBody, bl as AggClientAuthOptions, bm as AggSessionUser, d as AggWebSocketDiagnostics, a as AggWebSocketOptions, bn as AggregatedOrderbookLevel, bo as AggregatedOrderbookResponse, bp as App, bq as AppTradingMode, br as AttributedOrderbook, bs as AttributedOrderbookLevel, bt as AuthCodeResponse, bu as AuthTokenResponse, bv as AuthUser, bw as BalanceCustody, bx as BalanceRefillAttemptStatus, by as BalanceRefillPolicyStatus, bz as BookQuality, bA as CONFIRMED_MATCH_STATUSES, bB as CandleBuilder, bC as CandleInterval, bD as CandleTail, bE as Chain, bF as ChartBarsMeta, bG as ChartVenueCandles, bH as ComputeSplitsRequest, bI as ComputeSplitsResponse, bJ as ComputeSplitsSelection, bK as CorrelatedMarketCascadeItem, bL as CorrelatedMarketSide, bM as CorrelatedMarketSignal, bN as CorrelatedMarketSignalDirection, bO as CreateApp, bP as CryptoReferencePriceError, bQ as CryptoReferencePriceExternalMarketInput, bR as CryptoReferencePriceMarketInput, bS as CryptoReferencePriceResult, bT as CryptoReferencePriceSource, bU as CryptoReferencePriceTarget, bV as DepositAddressesPendingResponse, bW as DepositAddressesReadyResponse, bX as DepositAddressesSupportedChain, bY as DepositAddressesToken, bZ as DepositStep, b_ as DiagnosticCallback, b$ as DiagnosticEvent, c0 as ExecuteManagedRequest, c1 as ExecuteTradeRequest, c2 as ExecuteTradeResponse, c3 as ExecutionDagProgress, c4 as ExecutionDisplayGroupStatus, c5 as ExecutionDisplayStepKind, c6 as ExecutionMode, c7 as ExecutionOverallState, c8 as ExecutionStatusOrder, c9 as ExecutionStatusStep, ca as GetBalanceQuery, cb as GetBalanceResponse, cc as GetHoldingsQuery, cd as GetHoldingsResponse, ce as GetOrdersParams, cf as GetOrdersQuery, cg as GetPositionsQuery, ch as HelloResponse, ci as HistoryRangeRequest, cj as INACTIVE_VENUES, ck as LeaderboardMetric, cl as LeaderboardSeriesPoint, cm as LimitOrderTimeInForce, cn as MarkSource, co as MarketPriceHistory, cp as MarketView, cq as MarketViewBatch, cr as MatchType, cs as MatchedMidpoint, ct as MatchedMidpointOutcome, cu as MatchedOrderbookMarket, cv as MatchedVenueMarketOutcomeRef, cw as MidpointItem, cx as MidpointRow, cy as NewsFeedArticleFeedItem, cz as NewsFeedArticleWithSummary, cA as NewsFeedLinkedMarket, cB as NewsFeedMarketFeedArticle, cC as NewsFeedMarketFeedItem, cD as NewsFeedMarketNewsResult, cE as NonceResponse, cF as NovigExecutionMode, cG as OPTIONAL_SIGNATURE_TIMEOUT_MS, cH as OrderListItem, cI as OrderStatus, cJ as OrderType, cK as OrderbookBatchItemError, cL as OrderbookBatchItemErrorCode, cM as OrderbookBatchItemStatus, cN as OrderbookHistoryPoint, cO as OrderbookHistoryResponse, cP as OrderbookLevel, cQ as OrderbookQuoteFill, cR as OrderbookQuoteParams, cS as OrderbookQuoteResponse, cT as OrderbookServiceUnavailableError, O as OrderbookState, cU as OrderbooksOnlyError, cV as OutcomeMidpoint, cW as OutcomeMidpointRow, cX as PaperTradingBalanceAdjustment, cY as PaperTradingLiquidityStatus, cZ as PaperTradingMarkSource, c_ as PaperTradingPosition, c$ as PersistedAuthSnapshot, d0 as PositionRedeemStatus, d1 as PricePoint, d2 as PriceSource, d3 as PricesHistoryResponse, d4 as ProphetxExecutionMode, d5 as RECURRENCE_CADENCES, d6 as RecurrenceCadence, d7 as RecurringCryptoComparisonPoint, d8 as RecurringCryptoComparisonPriceSource, d9 as RecurringCryptoDuration, da as RecurringCryptoDurationInput, db as RecurringCryptoMarketMetrics, dc as RecurringCryptoOrderbookDepthLevel, dd as RecurringCryptoOrderbookDepthSide, de as RecurringCryptoOutcome, df as RecurringCryptoOutcomeOrderbookDepth, dg as RecurringCryptoPriceComparison, dh as RecurringCryptoReferencePrice, di as RecurringCryptoResolution, dj as RecurringCryptoSourceConfidence, dk as RecurringCryptoVenueMarket, dl as RecurringCryptoWindowComparisons, dm as RecurringCryptoWindowMarket, dn as RedeemLegResult, dp as RedeemLegStatus, dq as RequestedOrderbookMarket, dr as ResolvedCorrelatedMarketsResponse, ds as SELF_CUSTODY_FILL_TIMEOUT_MS, dt as SELF_CUSTODY_POLL_INTERVAL_MS, du as ServerWallet, dv as SettlementDiff, dw as SettlementDifference, dx as SettlementSource, dy as SetupDepositAddressStep, dz as SetupVenueKeyStep, dA as SignatureRequest, dB as SignatureRequestType, dC as SignerFn, dD as SimpleOrderbookLevel, dE as SmartRouteAllocation, dF as SmartRouteBridgeStep, dG as SmartRouteFeeBreakdown, dH as SmartRouteFill, dI as SmartRouteSettlementLeg, dJ as SmartRouteSettlementPlan, dK as SmartRouteSetupCostLine, dL as SmartRouteSide, dM as SmartRouteStatus, dN as SmartRouteVenueFill, dO as SportsGameStatus, dP as SportsLiveParticipant, dQ as SportsLiveState, dR as TERMINAL_EXECUTION_STATES, dS as TimeInForce, dT as TradeExecutorOrder, dU as TradeStep, dV as UserActivityBridge, dW as UserActivityDeposit, dX as UserActivityRedeem, dY as UserActivityRedeemLeg, dZ as UserActivityTrade, d_ as UserActivityType, d$ as UserActivityUserOp, e0 as UserActivityWithdrawal, e1 as VENUES, e2 as VENUE_CHAIN_IDS, e3 as ValidateBalanceOnClientStep, e4 as ValidateManagedParams, e5 as ValidateManagedRequest, e6 as ValidateManagedResponse, e7 as ValidateTradeRequest, e8 as ValidateTradeResponse, e9 as VenueEventListItem, ea as VenueEventWithMarkets, eb as VenueGeoPolicyEntry, ec as VenueMarketListItem, ed as VenueMarketRef, ee as VenueOrderbookEntry, ef as VenueOrderbookLevel, eg as VenuePositionBalance, eh as VenuePriceInfo, ei as VenueSoloQuote, ej as VerifyBody, ek as VerifyResponse, el as WalletChainBalance, em as WalletTokenBalance, en as WithdrawManagedRequest, eo as WithdrawManagedSourceItem, ep as WithdrawTokenSymbol, eq as WithdrawalExpected, er as WithdrawalLeg, es as WithdrawalLegStatus, et as WithdrawalLegType, eu as WithdrawalLifecycleStatus, ev as WithdrawalSource, ew as WithdrawalSourceItem, ex as WithdrawalSourceStatus, ey as WithdrawalSourceTokenSymbol, e as WsArbFeedBatch, ez as WsArbFeedEntry, W as WsArbMarketUpdate, eA as WsAttributedLevel, eB as WsAuthenticated, eC as WsBalanceUpdate, eD as WsCandleInterval, eE as WsClientMessage, eF as WsConnected, eG as WsError, eH as WsHeartbeat, eI as WsMarkSource, eJ as WsMarketResolved, eK as WsOrderEvent, eL as WsOrderEventType, eM as WsOrderSubmitted, eN as WsOrderbookDelta, eO as WsOrderbookSnapshot, eP as WsRedeemEvent, eQ as WsServerMessage, eR as WsSubscribed, eS as WsTrade, eT as WsUnsubscribed, eU as WsVenueBook, eV as WsVenueInfo, eW as WsVenueLevel, eX as WsWithdrawalLegStatus, eY as WsWithdrawalLifecycleEvent, eZ as WsWithdrawalLifecycleLeg, e_ as WsWithdrawalLifecycleStatus, e$ as applyOrderbookDelta, f0 as computeChecksum, f1 as getEffectiveDisabledVenues, f2 as isVenueActive, f3 as isVenueDataVisible, f4 as isVenueInactive, f5 as snapshotToOrderbook } from './agg-websocket-Bxt9PzTz.js';
|
|
3
3
|
|
|
4
4
|
declare enum ImageSize {
|
|
5
5
|
sm = 44,
|
package/dist/index.js
CHANGED
|
@@ -87,6 +87,7 @@ __export(index_exports, {
|
|
|
87
87
|
MarketStatus: () => MarketStatus,
|
|
88
88
|
MatchStatus: () => MatchStatus,
|
|
89
89
|
MatchType: () => MatchType,
|
|
90
|
+
OPTIONAL_SIGNATURE_TIMEOUT_MS: () => OPTIONAL_SIGNATURE_TIMEOUT_MS,
|
|
90
91
|
OrderStatus: () => OrderStatus,
|
|
91
92
|
OrderType: () => OrderType,
|
|
92
93
|
RECURRENCE_CADENCES: () => RECURRENCE_CADENCES,
|
|
@@ -1101,6 +1102,7 @@ function toChecksumAddress(address) {
|
|
|
1101
1102
|
// src/types.ts
|
|
1102
1103
|
var SELF_CUSTODY_FILL_TIMEOUT_MS = 5 * 6e4;
|
|
1103
1104
|
var SELF_CUSTODY_POLL_INTERVAL_MS = 2e3;
|
|
1105
|
+
var OPTIONAL_SIGNATURE_TIMEOUT_MS = 15e3;
|
|
1104
1106
|
var TERMINAL_EXECUTION_STATES = /* @__PURE__ */ new Set(["filled", "partially_filled", "failed", "cancelled", "expired"]);
|
|
1105
1107
|
var RECURRENCE_CADENCES = [
|
|
1106
1108
|
"PT5M",
|
|
@@ -2424,6 +2426,21 @@ var AUTH_PATHS = /* @__PURE__ */ new Set([
|
|
|
2424
2426
|
"/auth/token/exchange",
|
|
2425
2427
|
"/auth/sign-out"
|
|
2426
2428
|
]);
|
|
2429
|
+
function withTimeout(p, ms) {
|
|
2430
|
+
return new Promise((resolve, reject) => {
|
|
2431
|
+
const timer = setTimeout(() => reject(new Error(`timed out after ${ms}ms`)), ms);
|
|
2432
|
+
p.then(
|
|
2433
|
+
(v) => {
|
|
2434
|
+
clearTimeout(timer);
|
|
2435
|
+
resolve(v);
|
|
2436
|
+
},
|
|
2437
|
+
(e) => {
|
|
2438
|
+
clearTimeout(timer);
|
|
2439
|
+
reject(e);
|
|
2440
|
+
}
|
|
2441
|
+
);
|
|
2442
|
+
});
|
|
2443
|
+
}
|
|
2427
2444
|
var AggClient = class {
|
|
2428
2445
|
constructor(options) {
|
|
2429
2446
|
this.listeners = /* @__PURE__ */ new Set();
|
|
@@ -3943,6 +3960,9 @@ Issued At: ${issuedAt}`;
|
|
|
3943
3960
|
}
|
|
3944
3961
|
if (params.referralPayer) query.referralPayer = params.referralPayer;
|
|
3945
3962
|
if (params.referralPayerAddress) query.referralPayerAddress = params.referralPayerAddress;
|
|
3963
|
+
if (params.referralActivationSponsorAddress) {
|
|
3964
|
+
query.referralActivationSponsorAddress = params.referralActivationSponsorAddress;
|
|
3965
|
+
}
|
|
3946
3966
|
const response = yield this.request(
|
|
3947
3967
|
`/orderbook/${encodeURIComponent(venueMarketOutcomeId)}/route`,
|
|
3948
3968
|
{ query, signal: options == null ? void 0 : options.signal }
|
|
@@ -4012,7 +4032,7 @@ Issued At: ${issuedAt}`;
|
|
|
4012
4032
|
*/
|
|
4013
4033
|
fillSelfCustody(params) {
|
|
4014
4034
|
return __async(this, null, function* () {
|
|
4015
|
-
var _a, _b, _c;
|
|
4035
|
+
var _a, _b, _c, _d;
|
|
4016
4036
|
if (this.signer && !params.signingAddress) {
|
|
4017
4037
|
throw new Error(
|
|
4018
4038
|
"fillSelfCustody requires `signingAddress` \u2014 the wallet that will sign this fill."
|
|
@@ -4061,7 +4081,11 @@ Issued At: ${issuedAt}`;
|
|
|
4061
4081
|
}
|
|
4062
4082
|
lastKey = key;
|
|
4063
4083
|
const signatures = [];
|
|
4064
|
-
|
|
4084
|
+
const ordered = [...pending].sort((a, b) => Number(!!a.optional) - Number(!!b.optional));
|
|
4085
|
+
const userSigners = new Set(
|
|
4086
|
+
[params.signingAddress, ...pending.filter((p) => !p.optional).map((p) => p.signerAddress)].filter((a) => !!a).map((a) => a.toLowerCase())
|
|
4087
|
+
);
|
|
4088
|
+
for (const req of ordered) {
|
|
4065
4089
|
if (Date.now() > new Date(req.expiresAt).getTime()) {
|
|
4066
4090
|
if (req.optional) {
|
|
4067
4091
|
declinedOptional.add(req.stepId);
|
|
@@ -4073,7 +4097,7 @@ Issued At: ${issuedAt}`;
|
|
|
4073
4097
|
}
|
|
4074
4098
|
let signed;
|
|
4075
4099
|
try {
|
|
4076
|
-
signed = yield signer(req);
|
|
4100
|
+
signed = req.optional && !userSigners.has((_c = req.signerAddress) == null ? void 0 : _c.toLowerCase()) ? yield withTimeout(signer(req), OPTIONAL_SIGNATURE_TIMEOUT_MS) : yield signer(req);
|
|
4077
4101
|
} catch (err) {
|
|
4078
4102
|
if (!req.optional) throw err;
|
|
4079
4103
|
declinedOptional.add(req.stepId);
|
|
@@ -4088,7 +4112,7 @@ Issued At: ${issuedAt}`;
|
|
|
4088
4112
|
continue;
|
|
4089
4113
|
}
|
|
4090
4114
|
const next = yield this.submitFillSignatures(quoteId, signatures);
|
|
4091
|
-
pending = (
|
|
4115
|
+
pending = (_d = next.pendingSignatures) != null ? _d : [];
|
|
4092
4116
|
}
|
|
4093
4117
|
});
|
|
4094
4118
|
}
|
|
@@ -4683,6 +4707,7 @@ function createAggClient(options) {
|
|
|
4683
4707
|
MarketStatus,
|
|
4684
4708
|
MatchStatus,
|
|
4685
4709
|
MatchType,
|
|
4710
|
+
OPTIONAL_SIGNATURE_TIMEOUT_MS,
|
|
4686
4711
|
OrderStatus,
|
|
4687
4712
|
OrderType,
|
|
4688
4713
|
RECURRENCE_CADENCES,
|
package/dist/index.mjs
CHANGED
|
@@ -244,6 +244,7 @@ function toChecksumAddress(address) {
|
|
|
244
244
|
// src/types.ts
|
|
245
245
|
var SELF_CUSTODY_FILL_TIMEOUT_MS = 5 * 6e4;
|
|
246
246
|
var SELF_CUSTODY_POLL_INTERVAL_MS = 2e3;
|
|
247
|
+
var OPTIONAL_SIGNATURE_TIMEOUT_MS = 15e3;
|
|
247
248
|
var TERMINAL_EXECUTION_STATES = /* @__PURE__ */ new Set(["filled", "partially_filled", "failed", "cancelled", "expired"]);
|
|
248
249
|
var RECURRENCE_CADENCES = [
|
|
249
250
|
"PT5M",
|
|
@@ -341,6 +342,21 @@ var AUTH_PATHS = /* @__PURE__ */ new Set([
|
|
|
341
342
|
"/auth/token/exchange",
|
|
342
343
|
"/auth/sign-out"
|
|
343
344
|
]);
|
|
345
|
+
function withTimeout(p, ms) {
|
|
346
|
+
return new Promise((resolve, reject) => {
|
|
347
|
+
const timer = setTimeout(() => reject(new Error(`timed out after ${ms}ms`)), ms);
|
|
348
|
+
p.then(
|
|
349
|
+
(v) => {
|
|
350
|
+
clearTimeout(timer);
|
|
351
|
+
resolve(v);
|
|
352
|
+
},
|
|
353
|
+
(e) => {
|
|
354
|
+
clearTimeout(timer);
|
|
355
|
+
reject(e);
|
|
356
|
+
}
|
|
357
|
+
);
|
|
358
|
+
});
|
|
359
|
+
}
|
|
344
360
|
var AggClient = class {
|
|
345
361
|
constructor(options) {
|
|
346
362
|
this.listeners = /* @__PURE__ */ new Set();
|
|
@@ -1860,6 +1876,9 @@ Issued At: ${issuedAt}`;
|
|
|
1860
1876
|
}
|
|
1861
1877
|
if (params.referralPayer) query.referralPayer = params.referralPayer;
|
|
1862
1878
|
if (params.referralPayerAddress) query.referralPayerAddress = params.referralPayerAddress;
|
|
1879
|
+
if (params.referralActivationSponsorAddress) {
|
|
1880
|
+
query.referralActivationSponsorAddress = params.referralActivationSponsorAddress;
|
|
1881
|
+
}
|
|
1863
1882
|
const response = yield this.request(
|
|
1864
1883
|
`/orderbook/${encodeURIComponent(venueMarketOutcomeId)}/route`,
|
|
1865
1884
|
{ query, signal: options == null ? void 0 : options.signal }
|
|
@@ -1929,7 +1948,7 @@ Issued At: ${issuedAt}`;
|
|
|
1929
1948
|
*/
|
|
1930
1949
|
fillSelfCustody(params) {
|
|
1931
1950
|
return __async(this, null, function* () {
|
|
1932
|
-
var _a, _b, _c;
|
|
1951
|
+
var _a, _b, _c, _d;
|
|
1933
1952
|
if (this.signer && !params.signingAddress) {
|
|
1934
1953
|
throw new Error(
|
|
1935
1954
|
"fillSelfCustody requires `signingAddress` \u2014 the wallet that will sign this fill."
|
|
@@ -1978,7 +1997,11 @@ Issued At: ${issuedAt}`;
|
|
|
1978
1997
|
}
|
|
1979
1998
|
lastKey = key;
|
|
1980
1999
|
const signatures = [];
|
|
1981
|
-
|
|
2000
|
+
const ordered = [...pending].sort((a, b) => Number(!!a.optional) - Number(!!b.optional));
|
|
2001
|
+
const userSigners = new Set(
|
|
2002
|
+
[params.signingAddress, ...pending.filter((p) => !p.optional).map((p) => p.signerAddress)].filter((a) => !!a).map((a) => a.toLowerCase())
|
|
2003
|
+
);
|
|
2004
|
+
for (const req of ordered) {
|
|
1982
2005
|
if (Date.now() > new Date(req.expiresAt).getTime()) {
|
|
1983
2006
|
if (req.optional) {
|
|
1984
2007
|
declinedOptional.add(req.stepId);
|
|
@@ -1990,7 +2013,7 @@ Issued At: ${issuedAt}`;
|
|
|
1990
2013
|
}
|
|
1991
2014
|
let signed;
|
|
1992
2015
|
try {
|
|
1993
|
-
signed = yield signer(req);
|
|
2016
|
+
signed = req.optional && !userSigners.has((_c = req.signerAddress) == null ? void 0 : _c.toLowerCase()) ? yield withTimeout(signer(req), OPTIONAL_SIGNATURE_TIMEOUT_MS) : yield signer(req);
|
|
1994
2017
|
} catch (err) {
|
|
1995
2018
|
if (!req.optional) throw err;
|
|
1996
2019
|
declinedOptional.add(req.stepId);
|
|
@@ -2005,7 +2028,7 @@ Issued At: ${issuedAt}`;
|
|
|
2005
2028
|
continue;
|
|
2006
2029
|
}
|
|
2007
2030
|
const next = yield this.submitFillSignatures(quoteId, signatures);
|
|
2008
|
-
pending = (
|
|
2031
|
+
pending = (_d = next.pendingSignatures) != null ? _d : [];
|
|
2009
2032
|
}
|
|
2010
2033
|
});
|
|
2011
2034
|
}
|
|
@@ -2449,6 +2472,7 @@ export {
|
|
|
2449
2472
|
MarketStatus,
|
|
2450
2473
|
MatchStatus,
|
|
2451
2474
|
MatchType,
|
|
2475
|
+
OPTIONAL_SIGNATURE_TIMEOUT_MS,
|
|
2452
2476
|
OrderStatus,
|
|
2453
2477
|
OrderType,
|
|
2454
2478
|
RECURRENCE_CADENCES,
|
package/dist/market-data.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChartBarsResponse } from './agg-websocket-
|
|
2
|
-
export { bD as CandleTail, ci as HistoryRangeRequest, M as MarketDataEngine, cp as MarketView, cq as MarketViewBatch } from './agg-websocket-
|
|
1
|
+
import { C as ChartBarsResponse } from './agg-websocket-Bxt9PzTz.mjs';
|
|
2
|
+
export { bD as CandleTail, ci as HistoryRangeRequest, M as MarketDataEngine, cp as MarketView, cq as MarketViewBatch } from './agg-websocket-Bxt9PzTz.mjs';
|
|
3
3
|
|
|
4
4
|
/** Decode bounded dynamic history where processing lives; retain milliseconds and optional mean. */
|
|
5
5
|
declare function decodeChartHistory(payload: string): ChartBarsResponse;
|
package/dist/market-data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChartBarsResponse } from './agg-websocket-
|
|
2
|
-
export { bD as CandleTail, ci as HistoryRangeRequest, M as MarketDataEngine, cp as MarketView, cq as MarketViewBatch } from './agg-websocket-
|
|
1
|
+
import { C as ChartBarsResponse } from './agg-websocket-Bxt9PzTz.js';
|
|
2
|
+
export { bD as CandleTail, ci as HistoryRangeRequest, M as MarketDataEngine, cp as MarketView, cq as MarketViewBatch } from './agg-websocket-Bxt9PzTz.js';
|
|
3
3
|
|
|
4
4
|
/** Decode bounded dynamic history where processing lives; retain milliseconds and optional mean. */
|
|
5
5
|
declare function decodeChartHistory(payload: string): ChartBarsResponse;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agg-build/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.0",
|
|
4
4
|
"description": "Vanilla TypeScript client for the AGG prediction market aggregator (auth, markets, orderbooks, charts, trading, managed execution, WebSockets). Works in browsers, Node.js, and React Native.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|