5 September 2022: JS SDK v1.3.3
over 2 years ago by Viktor Yordanov
Improvements:
- Added a new argument
disableCache
ingetMatchSummary()
andgetMarketSummary()
. - Included new property in
TemplateModel
called description.
Features:
- Introduced new property in
MatchBasicModel
andMatchFullModel
calledavailableMarkets
. Type of property isstring array
. The meaning of this new property is to display all markets who are available for making a SINGLE prediction for concrete match.
N.B Keep in mind that this new field will be available only when calling all related matchmethods from Football
namespace.
-
Added new field called nickname in
ProfileModel
. -
Exposed two new methods when updating own profile -
setNickname()
andsetName()
.
Bug fixes:
-
Avoid making additional request for matches when predictions returns an emtpy array.
-
Fix additional assignment for query param
client_id
inFootball
namespace -
Throw string error when invalid id is provided to
getTemplateById()
method. -
Avoid updating nullable interests