@aegis-engine/core 0.9.1 → 0.9.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/README.md CHANGED
@@ -525,8 +525,16 @@ const quote = await fetchDirectPoolSwapQuote({
525
525
  ```
526
526
 
527
527
  Amounts are raw token base units. `slippageBps: 100` means 1%.
528
- The Aegis 0.5% output fee is applied by the high-level quote and execution
529
- helpers.
528
+ Exact-output execution enforces the input ceiling and required net receipt after
529
+ fees, or reverts atomically. The low-level builder takes gross `amountOut`;
530
+ optional `amountOutNet` must equal gross output minus the fee. Percentage fees
531
+ become a fixed amount against requested gross output. Remaining output credit
532
+ is then collected; a standard single-hop exact-output fill has no surplus.
533
+ Native input change is swept to `recipient`, which may differ from the payer.
534
+ Use the payer as recipient when that account should receive both output and
535
+ native change. General multihop exact output requires separate per-hop router
536
+ fulfillment checks. The high-level helpers apply the configured Aegis output fee.
537
+ All low-level builders reject negative fixed output fees before encoding calldata.
530
538
 
531
539
  ## Direct Pool Execution
532
540
 
package/dist/account.js CHANGED
@@ -1,5 +1,5 @@
1
- import { w as u, o as b, n as A, s as I, l as P, E as g, A as h, r as f, a as x, i as c, b as E, c as S, d as C, e as _, P as T, f as D } from "./transactionHistory-BhNsDpNJ.js";
2
- import { g as M, h as j, j as J, k as O, m as U, p as G, q as Z, t as Q, u as V, v as W, x as X, y as Y, z as ee, B as ae, C as oe, D as se, F as ne, G as te, H as re } from "./transactionHistory-BhNsDpNJ.js";
1
+ import { w as u, o as b, n as A, s as I, l as P, E as g, A as h, r as f, a as x, i as c, b as E, c as S, d as C, e as _, P as T, f as D } from "./transactionHistory-D3PDVGkr.js";
2
+ import { g as M, h as j, j as J, k as O, m as U, p as G, q as Z, t as Q, u as V, v as W, x as X, y as Y, z as ee, B as ae, C as oe, D as se, F as ne, G as te, H as re } from "./transactionHistory-D3PDVGkr.js";
3
3
  import { keccak256 as k, encodeAbiParameters as y } from "viem";
4
4
  const H = b({ version: P(1), snapshotId: I().uuid(), page: A().int().min(1).max(95) }).strict();
5
5
  function v(e) {