13 October 2022

Release notes

JS SDK v1.6.0

Improvements:

Example: Robert's profile has 6 interests (2 competitions, 2 teams and 2 players). So when I visit his profile (sdk.profile.getById("Robert's ID").showFullInterests()) 3 requests will be send from JS SDK to API - 1 for the profile, 1 for the 2 teams and 1 for the 2 players. The competitions are cached, so they will be fetched from there.

Bug Fixes:

  • When calling addInterest() and removeInterest() successively, а wrong reference of own profile is passsed for the second method call.

  • Interest's source and type are always transformed to upper case when are validated.