From 03411908a8abb4e6c7d7a3dc019ad330767962e4 Mon Sep 17 00:00:00 2001 From: antfleet-ops <285575208+antfleet-ops@users.noreply.github.com> Date: Fri, 19 Jun 2026 13:47:47 +0300 Subject: [PATCH] Align active job API typing with backend jobs Constraint: preserve AcpApiClient behavior and backend response shape.\nRejected: narrowing getActiveJobs to chainId/onChainJobId | implementation returns full OffChainJob records.\nConfidence: high\nScope-risk: narrow\nDirective: keep public interfaces synchronized with concrete SDK clients.\nTested: npm run build\nNot-tested: runtime backend response. --- src/events/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/types.ts b/src/events/types.ts index cd69a75..ae5bc0c 100644 --- a/src/events/types.ts +++ b/src/events/types.ts @@ -240,7 +240,7 @@ export interface BrowseAgentParams { } export interface AcpJobApi { - getActiveJobs(): Promise<{ chainId: number; onChainJobId: string }[]>; + getActiveJobs(): Promise; getJob(chainId: number, jobId: string): Promise; postDeliverable( chainId: number,