@aegis-engine/core 0.13.1 → 0.14.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.
- package/dist/account.js +1 -1
- package/dist/aegis-core.js +26 -26
- package/dist/contract/generated/aegis-swap.d.ts +310 -5
- package/dist/contract/generated/market-data.d.ts +310 -5
- package/dist/engine/account/activitySchemas.d.ts +1 -0
- package/dist/engine/account/discoverySchemas.d.ts +101 -0
- package/dist/engine/account/portfolioSchemas.d.ts +2 -0
- package/dist/engine/account/transactionSchemas.d.ts +1 -0
- package/dist/engine/account/transport.d.ts +6 -0
- package/dist/engine/account/types.d.ts +1 -0
- package/dist/engine/dataSource.d.ts +4 -1
- package/dist/engine/sdkDeployment.d.ts +16 -0
- package/dist/engine/types.d.ts +4 -1
- package/dist/index.d.ts +2 -0
- package/dist/sdkRuntime-CvLRgf5w.js +1593 -0
- package/dist/transactionHistory-BGpe2c7k.js +149 -0
- package/package.json +2 -2
- package/dist/sdkRuntime-CMBWjHxv.js +0 -1593
- package/dist/transactionHistory-C8KRA_tE.js +0 -149
package/dist/engine/types.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ export type AegisEngineLendSharesPosition = {
|
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
export type AegisEnginePositionsSnapshot = {
|
|
209
|
-
schemaVersion: '1' | '2';
|
|
209
|
+
schemaVersion: '1' | '2' | '3';
|
|
210
210
|
chainId: number;
|
|
211
211
|
account: Address;
|
|
212
212
|
positions: AegisEnginePosition[];
|
|
@@ -225,6 +225,7 @@ export type AegisEnginePositionsSnapshot = {
|
|
|
225
225
|
freshness: {
|
|
226
226
|
source: 'subgraph' | 'static';
|
|
227
227
|
blockNumber?: number | null;
|
|
228
|
+
blockHash?: Hex;
|
|
228
229
|
positionCount: number;
|
|
229
230
|
};
|
|
230
231
|
};
|
|
@@ -360,6 +361,7 @@ export type AegisEnginePositionActivitySnapshot = {
|
|
|
360
361
|
source: 'subgraph' | 'static';
|
|
361
362
|
/** Oldest indexed block across all pages; null when any page omitted it. */
|
|
362
363
|
blockNumber: number | null;
|
|
364
|
+
blockHash?: Hex;
|
|
363
365
|
};
|
|
364
366
|
};
|
|
365
367
|
/** Off-chain opening intent for one confirmed Long/Short transaction. The
|
|
@@ -464,6 +466,7 @@ export type AegisEnginePositionsHydration = {
|
|
|
464
466
|
export type AegisEnginePositionsHydrationInput = {
|
|
465
467
|
publicClient: PublicClient;
|
|
466
468
|
chainId: number;
|
|
469
|
+
hook?: Address;
|
|
467
470
|
expectedAccount: Address;
|
|
468
471
|
positions: readonly AegisEnginePosition[];
|
|
469
472
|
lendPositions: readonly AegisEngineLendSharesPosition[];
|
package/dist/index.d.ts
CHANGED
|
@@ -48,3 +48,5 @@ export type { AegisContractGuardCode } from './contract/index.js';
|
|
|
48
48
|
export { engineMarketsRestResponseSchema } from './engine/restSchemas.js';
|
|
49
49
|
export * from './engine/index.js';
|
|
50
50
|
export { PortfolioQuerySchema, PortfolioPageQuerySchema, PortfolioResponseSchema, PortfolioPageSchema } from './engine/account/portfolioSchemas.js';
|
|
51
|
+
export { EngineAccountDiscoveryResponseSchema } from './engine/account/discoverySchemas.js';
|
|
52
|
+
export { ActivityPageResponseSchema } from './engine/account/activitySchemas.js';
|