Changelog

JS SDK v1.127.0

πŸ“˜

Changed:

Base URL for Odds

The base URL for fetching odds for specific matches has been changed. The response from the SDK is not changed. This change is only internal.

JS SDK v1.125.1

πŸ“˜

Improvements:

New filter params for game list endpoints

Added flags and language query params to the list filters for Top X, Match Quiz, Bracket, Standing, and Event games.

// Example usage
const filters = new GamesFilters({
  flags: ["featured", "promoted"],
  language: "en"
});

Affected filters:

New properties on game list models

The models returned from game list methods now include flags and language fields, keeping them consistent with filter capabilities.

Affected models:

JS SDK v1.123.0

πŸ‘

Added

Info Page Content Resolution System

  • Centralized service for resolving rules and adContent from related info pages
    • Automatically fetches and populates empty rules and adContent fields from related info pages

Integration Across All Game Types

Info page content resolution has been integrated into the following namespaces:

  • MiniGames (ClassicQuiz, EitherOr, PersonalityQuiz)

    • getClassicQuizzes() and getClassicQuizById()
    • getEitherOrs() and getEitherOrById()
    • getPersonalityQuizzes() and getPersonalityQuizById()
  • Voting (Polls)

    • getPolls() and getPollById()
  • TopX

    • getGames() and getGameById()
    • getMyGameEditions() and getUserGameEditions()
  • MatchQuiz

    • getGames() and getGameById()
    • getMyGameEditions() and getUserGameEditions()
  • Loyalty (Templates)

    • getTemplates and getTemplateById
  • BracketGame

    • getGames() and getGameById()
  • StandingGame

    • getGames() and getGameById()
  • EventGame

    • getGames() and getGameById()

JS SDK v1.121.0

🚧

Branding override

The branding in all custom, prediction and mini games are now override by the new property brandingId

Added

JS SDK v1.119.2

πŸ‘

Improvements and fixes:

  1. New Arabic (code: ar) language support in SDK configuration
  2. FIx JWT token read from cookie to reinit new SDK instance
  3. Removed redundant points property from EventGameModel