12 April 2023
about 2 years ago by Viktor Yordanov
Release notes
JS SDK v1.21.0
Improvements:
- All related configuration for Predictor, Top X, Match Quiz and Loyalty namespaces are cached locally Local Storage for 4 hours. So getMatches() , getMatchById and all other methods in JS SDK, who return matchModel property will not make additional request for client's configuration (set the property for availableMarkets in MatchModel).
- getTemplateById method is changed - before it used the functionality from getTemplates and filtered out the specific template and now a new endpoint is available in Loyalty API and JS SDK implements it.