22 September 2022

JS SDK release notes v1.4.0

Features:

Improvements:

  • Configuration validator is now improved and in certain cases new warning messages are logged to the developer or new error messages are throwed. More information here.

Bug fixes:

  • When calling getMyPredictionsForMatches JS SDK returns all user's own predictions.Now it wil return accurate response (only predictions for provided matchIds).

  • When JS SDK is installed in other TypeScript project, configuration's fields idSchema, lang and environment can not be passed as value of their type enums. That is because enums are exported in d.ts files and importing them in other TypeScript project cause misleading errors. Now fields idSchema, lang and environment are union types and the fields are OPTIONAL. To see an example to how to configure JS SDK in TypeScript you can visit this page.