@agg-build/sdk 4.11.2 → 4.11.3

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/index.d.mts CHANGED
@@ -3661,6 +3661,12 @@ interface SmartRouteVenueFill {
3661
3661
  * older engine build that does not emit it still validates.
3662
3662
  */
3663
3663
  builderFee?: number;
3664
+ /**
3665
+ * What the venue takes from this leg's payout if the outcome wins (USD):
3666
+ * Hyperliquid HIP-4's close fee on the $1 settlement, 0 elsewhere. Not a
3667
+ * cost at fill; already netted out of `estimatedPayout`.
3668
+ */
3669
+ settlementFee?: number;
3664
3670
  /** Inclusive fee/reserve funding budget. For fee display, use the route's
3665
3671
  * feeBreakdown.venueFees and executionReserve instead. */
3666
3672
  venueFee?: number;
@@ -3922,7 +3928,8 @@ interface SmartRouteResponse {
3922
3928
  * `slippage.slippageBps` to flag thin liquidity.
3923
3929
  */
3924
3930
  slippage?: SmartRouteSlippage;
3925
- /** Estimated payout if the outcome wins (= totalFilled shares × $1). */
3931
+ /** Estimated payout if the outcome wins (= totalFilled shares × $1, less
3932
+ * settlement fees — see `fills[].settlementFee`). */
3926
3933
  estimatedPayout?: number;
3927
3934
  /** Total cost including all fees (rawExecCost + venueFees + bridgeFees +
3928
3935
  * executionGas). For deep-estimate quotes, `setupCostsTotal` is folded
package/dist/index.d.ts CHANGED
@@ -3661,6 +3661,12 @@ interface SmartRouteVenueFill {
3661
3661
  * older engine build that does not emit it still validates.
3662
3662
  */
3663
3663
  builderFee?: number;
3664
+ /**
3665
+ * What the venue takes from this leg's payout if the outcome wins (USD):
3666
+ * Hyperliquid HIP-4's close fee on the $1 settlement, 0 elsewhere. Not a
3667
+ * cost at fill; already netted out of `estimatedPayout`.
3668
+ */
3669
+ settlementFee?: number;
3664
3670
  /** Inclusive fee/reserve funding budget. For fee display, use the route's
3665
3671
  * feeBreakdown.venueFees and executionReserve instead. */
3666
3672
  venueFee?: number;
@@ -3922,7 +3928,8 @@ interface SmartRouteResponse {
3922
3928
  * `slippage.slippageBps` to flag thin liquidity.
3923
3929
  */
3924
3930
  slippage?: SmartRouteSlippage;
3925
- /** Estimated payout if the outcome wins (= totalFilled shares × $1). */
3931
+ /** Estimated payout if the outcome wins (= totalFilled shares × $1, less
3932
+ * settlement fees — see `fills[].settlementFee`). */
3926
3933
  estimatedPayout?: number;
3927
3934
  /** Total cost including all fees (rawExecCost + venueFees + bridgeFees +
3928
3935
  * executionGas). For deep-estimate quotes, `setupCostsTotal` is folded
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-build/sdk",
3
- "version": "4.11.2",
3
+ "version": "4.11.3",
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",