fix(ts-sdk): register Limitless cancel typed-data routes#1151
fix(ts-sdk): register Limitless cancel typed-data routes#1151realfishsam wants to merge 2 commits into
Conversation
|
Focused verification for this PR:
CI generated-sync failures appear unrelated to this two-file route-registry fix:
I am leaving those broad generator/client/API-reference drifts out of this focused PR per PMXT generated-drift policy; the Limitless cancel route regression test and implementation remain scoped to #1144. |
|
Follow-up verification after extending this PR to also close #1143:
The red generated-sync CI checks are still the same unrelated drift from |
PR Review: PASS (NOT VERIFIED)What This DoesRegisters the missing TypeScript SDK Limitless cancel typed-data routes and extends the hosted typed-data economics guard so Limitless buy/sell typed-data responses reject mismatched token IDs. This matters to hosted SDK consumers because typed-data generation should fail before signing if the route/market response does not match the requested token. Blast RadiusTypeScript SDK hosted typed-data helpers and a focused TypeScript Jest regression test only: Consumer VerificationBefore (base branch): validateEconomics({ message: {} } as any, 'cancel_limitless_polygon', {}, {})
// base behavior: route is not registered in HostedRoute/SCHEMASAfter (PR branch): The full TypeScript package build could not be verified in this checkout because generated TypeScript OpenAPI artifacts are missing. Test Results
FindingsNo blocking findings. PMXT Pipeline Check
Semver Impactpatch -- fixes missing SDK route registration/validation behavior. RiskFull package build remains unverified here because |
Summary
HostedRouteandSCHEMAS.tokenId, matching the Python guard.Fixes #1144
Fixes #1143
Test Plan
npm test -- --runTestsByPath tests/hosted-typed-data-routes.test.tsgit diff --checkNotes
npm test -- --runTestsByPath tests/hosted-dispatch.test.tsis blocked in this focused worktree becausesdks/typescript/generated/src/index.jsis absent; no generated drift was committed for this focused hosted typed-data validation fix.