8 November 2022
over 2 years ago by Viktor Yordanov
Release notes
JS SDK v1.9.0
Improvements
- New markets are available for making single and game predictions. Markets are CORRECT_SCORE_ADVANCED and CORRECT_SCORE_HT. Example how to use them - Single prediciton and [Match Quiz predictions] (https://docs.fansunitedmedia.com/docs/match-quiz-operations#play-the-game).
For Top X you can create a game with only CORRECT_SCORE or CORRECT_SCORE_ADVANCED market. Same goes for making predictions for it.
- New field is available in GameMarketsResults called tieBreakers. The model is returned when you call sdk.topX.getMarketsResultsForGame() and sdk.matchQuiz.getMarketsResultsForGame(). For the moment for Match Quiz namespace Fans United SDK will always return nullable value for tiebreakers.
Bug fixes
Handle sdk.topX.getMyGamePrediction and sdk.matchQuiz.getMyGamePrediction calls when no predictions were placed for the specified game