SDKs 0.20.0 type event_id as always present
The TypeScript, Python, and Go SDKs 0.20.0 make source_markets[].event_id a required string and document the hardened matching lookups.
SDKBreaking
The TypeScript (@predictorsdk/client), Python (predictorsdk), and Go (github.com/PredictorSDK/sdk-go) SDKs are released at 0.20.0, following the matching lookup changes shipped the same day.
event_idon every source market is a required string. It was always present in responses; the types now say so, so you can pass it togetEventwithout a guard. TypeScript'seventIdchanges fromstring | undefinedtostring, Python'sevent_idfromstr | Nonetostr, and Go'sEventIDfrom*stringtostring: drop the dereference (*m.EventIDbecomesm.EventID). That is the one source-breaking change, and only in Go.- The docstrings match the API.
source_idandevent_iddescribe outcome-token lookups (Polymarket, Predict, AlphaArcade), case-insensitive matching, and the400s for an empty value, a comma-joined list, or a venue ID sent asevent_id.include_submarketssays the default covers events whose full-game moneyline is matched.market_slugnow says market detail takesmarket_id: it accepts a Polymarket slug but not an AlphaArcade one.
0.19.0 keeps working against the API; upgrade for the corrected types and docs.