@smartico/public-api 0.0.184 → 0.0.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -408,7 +408,8 @@ const SAWTemplatesTransform = items => {
408
408
  wins_count: p.wins_count,
409
409
  weekdays: p.weekdays,
410
410
  active_from_ts: p.active_from_ts,
411
- active_till_ts: p.active_till_ts
411
+ active_till_ts: p.active_till_ts,
412
+ relative_period_timezone: p.relative_period_timezone
412
413
  };
413
414
  return y;
414
415
  })
@@ -2597,7 +2598,7 @@ class SmarticoAPI {
2597
2598
  if ((_response$userPositio = response.userPosition) != null && _response$userPositio.avatar_id) {
2598
2599
  response.userPosition.avatar_url = CoreUtils.avatarUrl(response.userPosition.avatar_id, this.avatarDomain);
2599
2600
  }
2600
- if ((_response$tournamentI = response.tournamentInfo.players) != null && _response$tournamentI.length) {
2601
+ if ((_response$tournamentI = response.tournamentInfo) != null && (_response$tournamentI = _response$tournamentI.players) != null && _response$tournamentI.length) {
2601
2602
  response.tournamentInfo.players.forEach(p => {
2602
2603
  p.avatar_url = CoreUtils.avatarUrl(p.avatar_id, this.avatarDomain);
2603
2604
  });