@agg-build/sdk 4.11.0 → 4.11.2

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
@@ -3677,7 +3677,16 @@ interface SmartRouteAllocation {
3677
3677
  interface SmartRouteBridgeStep {
3678
3678
  sourceChainId: string;
3679
3679
  destChainId: string;
3680
+ /** Source-side amount sent into the bridge, in USD: the allocations this lane funds plus `cost`. */
3680
3681
  amount: number;
3682
+ /**
3683
+ * Delivery margin, in USD, sent on top of the allocations so the destination
3684
+ * still receives them in full after the bridge takes its fee. A planning
3685
+ * reserve, not the expected fee: excluded from `feeBreakdown.bridgeFees` and
3686
+ * `totalCost`, and whatever the bridge does not charge arrives at the
3687
+ * destination as the user's balance. Read `feeBreakdown.bridgeFees` for the
3688
+ * expected bridge fee.
3689
+ */
3681
3690
  cost: number;
3682
3691
  sourceTokenAddress?: string;
3683
3692
  destTokenAddress?: string;
package/dist/index.d.ts CHANGED
@@ -3677,7 +3677,16 @@ interface SmartRouteAllocation {
3677
3677
  interface SmartRouteBridgeStep {
3678
3678
  sourceChainId: string;
3679
3679
  destChainId: string;
3680
+ /** Source-side amount sent into the bridge, in USD: the allocations this lane funds plus `cost`. */
3680
3681
  amount: number;
3682
+ /**
3683
+ * Delivery margin, in USD, sent on top of the allocations so the destination
3684
+ * still receives them in full after the bridge takes its fee. A planning
3685
+ * reserve, not the expected fee: excluded from `feeBreakdown.bridgeFees` and
3686
+ * `totalCost`, and whatever the bridge does not charge arrives at the
3687
+ * destination as the user's balance. Read `feeBreakdown.bridgeFees` for the
3688
+ * expected bridge fee.
3689
+ */
3681
3690
  cost: number;
3682
3691
  sourceTokenAddress?: string;
3683
3692
  destTokenAddress?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agg-build/sdk",
3
- "version": "4.11.0",
3
+ "version": "4.11.2",
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",