@aegis-engine/core 0.9.1 → 0.10.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.
@@ -1,5 +1,6 @@
1
1
  import type { Address, Hex } from 'viem';
2
2
  import type { AegisSwapToken } from '../config/index.js';
3
+ import type { AggregatedSwapLiquiditySources } from '../services/kyberSwap.js';
3
4
  export type HopInfo = {
4
5
  dex: string;
5
6
  inputToken: AegisSwapToken;
@@ -13,6 +14,12 @@ export type AggregatedSwapQuote = {
13
14
  amountOut: bigint;
14
15
  gasEstimate: bigint;
15
16
  hops: HopInfo[];
17
+ /**
18
+ * Liquidity set the route was requested and validated under. `'aegis'`
19
+ * quotes passed the all-Aegis leg check; execution in Aegis-only mode
20
+ * re-checks it (and every hop) before signing.
21
+ */
22
+ liquiditySources?: AggregatedSwapLiquiditySources;
16
23
  routerAddress: Address;
17
24
  calldata: Hex | null;
18
25
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aegis-engine/core",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "React-free Aegis Swap and Engine quoting, risk, approval, and execution operations.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "openapi-fetch": "^0.17.0",
49
- "zod": "^4.4.3"
49
+ "zod": "^4.6.7"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "engines": {