v6.0.0
Toolkit v6.0.0:
- New Feed REST API utilities for fetching games and conditions that replace the deprecated and removed GraphQL feed queries:
getConditionsByGameIds- replacesConditionsquerygetConditionsState- replacesConditionsBatchquerygetGamesByFilters- replacesGamesquerygetGamesByIds- replacesGamequery andGameswhen you need to fetch multiple games by IDgetNavigation- replacesNavigationandNavigationSportqueriesgetSports- replacesSportsquerysearchGames- new one to search games by text query
- New
getBetsByBettormethod for v3 bets history, including preparing orders getBetCalculationreplaces the deprecatedgetMaxBet(it now requires user account address for accuracy and returnsminBetandmaxBet).- Improved typing system
- Extended enum
GameState - Extended enum
BetStatusto include pending bet orders - Renamed and extended enum
BetState→BetOrderState - Helper
getBetStatusnow requiresBetOrderStatefrom bet entity (in case of bets fetched from graphql feed, passnull) - Fixed typo:
calcMindOdds→calcMinOdds - Added field
redeemedAtto legacy bets graphql doc - Removed Data Feed graphql documents and types
Full Changelog: v5.1.9...v6.0.0