@smartico/public-api 0.0.183 → 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.
@@ -409,8 +409,7 @@ const SAWTemplatesTransform = items => {
409
409
  weekdays: p.weekdays,
410
410
  active_from_ts: p.active_from_ts,
411
411
  active_till_ts: p.active_till_ts,
412
- active_from: p.active_from,
413
- active_till: p.active_till
412
+ relative_period_timezone: p.relative_period_timezone
414
413
  };
415
414
  return y;
416
415
  })
@@ -1259,7 +1258,7 @@ class WSAPI {
1259
1258
  *
1260
1259
  * **Example**:
1261
1260
  * ```
1262
- * _smartico.api.getUserProfile().then((result) => {
1261
+ * _smartico.api.getUserProfile(result => {
1263
1262
  * console.log(result);
1264
1263
  * });
1265
1264
  * ```
@@ -2599,7 +2598,7 @@ class SmarticoAPI {
2599
2598
  if ((_response$userPositio = response.userPosition) != null && _response$userPositio.avatar_id) {
2600
2599
  response.userPosition.avatar_url = CoreUtils.avatarUrl(response.userPosition.avatar_id, this.avatarDomain);
2601
2600
  }
2602
- 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) {
2603
2602
  response.tournamentInfo.players.forEach(p => {
2604
2603
  p.avatar_url = CoreUtils.avatarUrl(p.avatar_id, this.avatarDomain);
2605
2604
  });