fix(core): handle renamed SuiBets event fields#1216
Conversation
|
Targeted local verification for this focused SuiBets response-drift fix is green:
The current red generated-sync checks appear to be pre-existing/broad drift unrelated to this PR's SuiBets files. Example from |
PR Review: FAILWhat This DoesAdds compatibility for current SuiBets offer payloads that use Blast RadiusCore SuiBets fetcher and normalizer only, plus focused SuiBets regression tests. No OpenAPI schema, SDK shim, router, auth, or generated SDK files are changed. Consumer VerificationBefore (base branch): After (PR branch): So an SDK consumer searching SuiBets markets by the current Test Results
Findings
PMXT Pipeline Check
Semver Impactpatch -- venue response-drift bug fix. RiskThe event grouping and normalizer paths are covered, but market query filtering remains inconsistent. If merged as-is, consumers using |
Summary
eventId,eventName, andsportNamefields alongside the oldermatchId,matchName, andsportnames.matchIdis absent and keeps normalized market titles/descriptions/tags populated.Fixes #1208
Fixes #1209
Fixes #1210
Test Plan
npm test -- --runTestsByPath test/normalizers/suibets-normalizer.test.ts test/exchanges/suibets-fetcher.test.ts --runInBand(fromcore/)git diff --checknpm run build --workspace=pmxt-core