@mtgame/core 1.0.11 → 1.0.13

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.
@@ -1386,7 +1386,7 @@
1386
1386
  return null;
1387
1387
  }
1388
1388
  var diff = (new Date()).getTime() - this.birthDate.getTime();
1389
- return Math.floor(diff / (365 * 86400 * 1000));
1389
+ return Math.floor(diff / (1000 * 60 * 60 * 24 * 365.25));
1390
1390
  },
1391
1391
  enumerable: false,
1392
1392
  configurable: true
@@ -3628,6 +3628,7 @@
3628
3628
  date_to: 'dateTo',
3629
3629
  matches_count: 'matchesCount',
3630
3630
  reason: 'reason',
3631
+ is_conditional: 'isConditional',
3631
3632
  },
3632
3633
  relation: {
3633
3634
  dateFrom: DateField,
@@ -3819,7 +3820,7 @@
3819
3820
  return null;
3820
3821
  }
3821
3822
  var diff = (new Date()).getTime() - this.birthDate.getTime();
3822
- return Math.floor(diff / (365 * 86400 * 1000));
3823
+ return Math.floor(diff / (1000 * 60 * 60 * 24 * 365.25));
3823
3824
  },
3824
3825
  enumerable: false,
3825
3826
  configurable: true
@@ -3889,6 +3890,7 @@
3889
3890
  team_user: 'teamUser',
3890
3891
  disqualified: 'disqualified',
3891
3892
  disqualification: 'disqualification',
3893
+ conditional_disqualification: 'conditionalDisqualification',
3892
3894
  league_player: 'leaguePlayer',
3893
3895
  games_count: 'gamesCount',
3894
3896
  mvp_count: 'mvpCount',
@@ -3897,6 +3899,7 @@
3897
3899
  tournamentTeam: exports.TournamentTeam,
3898
3900
  teamUser: exports.TeamUser,
3899
3901
  disqualification: exports.TournamentDisqualification,
3902
+ conditionalDisqualification: exports.TournamentDisqualification,
3900
3903
  leaguePlayer: exports.LeaguePlayer,
3901
3904
  }
3902
3905
  })