@aegis-engine/core 0.11.0 → 0.12.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.
@@ -37,7 +37,12 @@ export type AggregatedSwapQuote = {
37
37
  */
38
38
  expiresAt?: string;
39
39
  transactionValue: bigint;
40
- priceImpact: number;
40
+ /**
41
+ * Fraction of value lost (positive is adverse). Provider-reported when
42
+ * present; for Kyber, derived from its USD values with the Aegis output fee added
43
+ * back (market impact and pool fees; excludes the Aegis fee and gas). Null when neither source is available.
44
+ */
45
+ priceImpact: number | null;
41
46
  feeAmount: bigint;
42
47
  feeBps: number;
43
48
  feeRecipient: Address | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aegis-engine/core",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "React-free Aegis Swap and Engine quoting, risk, approval, and execution operations.",
5
5
  "license": "MIT",
6
6
  "type": "module",