@mtgame/core 0.1.31 → 0.1.32
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.
- package/bundles/mtgame-core.umd.js +9 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/localization/hockey-game-log-types.js +3 -1
- package/esm2015/models/hockey-game-log.js +4 -2
- package/esm2015/models/hockey-game-statistic.js +3 -1
- package/esm2015/models/hockey-statistic.js +3 -1
- package/esm5/localization/hockey-game-log-types.js +3 -1
- package/esm5/models/hockey-game-log.js +4 -2
- package/esm5/models/hockey-game-statistic.js +3 -1
- package/esm5/models/hockey-statistic.js +3 -1
- package/fesm2015/mtgame-core.js +9 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +9 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/hockey-game-log-types.d.ts +2 -0
- package/models/hockey-game-log.d.ts +3 -1
- package/models/hockey-game-statistic.d.ts +2 -0
- package/models/hockey-statistic.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -3073,6 +3073,8 @@ var HockeyGameLogTypes;
|
|
|
3073
3073
|
HockeyGameLogTypes[HockeyGameLogTypes["timeout"] = 20] = "timeout";
|
|
3074
3074
|
HockeyGameLogTypes[HockeyGameLogTypes["penalty_start"] = 21] = "penalty_start";
|
|
3075
3075
|
HockeyGameLogTypes[HockeyGameLogTypes["penalty_end"] = 22] = "penalty_end";
|
|
3076
|
+
HockeyGameLogTypes[HockeyGameLogTypes["after_game_shootout_attempt"] = 23] = "after_game_shootout_attempt";
|
|
3077
|
+
HockeyGameLogTypes[HockeyGameLogTypes["after_game_shootout_goal"] = 24] = "after_game_shootout_goal";
|
|
3076
3078
|
})(HockeyGameLogTypes || (HockeyGameLogTypes = {}));
|
|
3077
3079
|
var HockeyAdvantageTypes;
|
|
3078
3080
|
(function (HockeyAdvantageTypes) {
|
|
@@ -3119,7 +3121,7 @@ var HockeyGameLog = /** @class */ (function (_super) {
|
|
|
3119
3121
|
configurable: true
|
|
3120
3122
|
});
|
|
3121
3123
|
HockeyGameLog.prototype.isScoreType = function () {
|
|
3122
|
-
return [HockeyGameLogTypes.goal, HockeyGameLogTypes.shootout_goal].indexOf(this.logType) > -1;
|
|
3124
|
+
return [HockeyGameLogTypes.goal, HockeyGameLogTypes.shootout_goal, HockeyGameLogTypes.after_game_shootout_goal].indexOf(this.logType) > -1;
|
|
3123
3125
|
};
|
|
3124
3126
|
HockeyGameLog.prototype.isPenaltyType = function () {
|
|
3125
3127
|
return [
|
|
@@ -3321,6 +3323,8 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
3321
3323
|
sh_assists: 'shAssists',
|
|
3322
3324
|
shootout_attempts: 'shootoutAttempts',
|
|
3323
3325
|
shootout_goals: 'shootoutGoals',
|
|
3326
|
+
after_game_shootout_attempts: 'afterGameShootoutAttempts',
|
|
3327
|
+
after_game_shootout_goals: 'afterGameShootoutGoals',
|
|
3324
3328
|
block_shots: 'blockShots',
|
|
3325
3329
|
face_off_losses: 'faceOffLosses',
|
|
3326
3330
|
face_off_wins: 'faceOffWins',
|
|
@@ -3434,6 +3438,8 @@ var HockeyStatistic = /** @class */ (function (_super) {
|
|
|
3434
3438
|
sh_assists: 'shAssists',
|
|
3435
3439
|
shootout_attempts: 'shootoutAttempts',
|
|
3436
3440
|
shootout_goals: 'shootoutGoals',
|
|
3441
|
+
after_game_shootout_attempts: 'afterGameShootoutAttempts',
|
|
3442
|
+
after_game_shootout_goals: 'afterGameShootoutGoals',
|
|
3437
3443
|
block_shots: 'blockShots',
|
|
3438
3444
|
face_off_losses: 'faceOffLosses',
|
|
3439
3445
|
face_off_wins: 'faceOffWins',
|
|
@@ -8326,6 +8332,8 @@ var HockeyGameLogTypeLocalization = (_a$2 = {},
|
|
|
8326
8332
|
_a$2[HockeyGameLogTypes.goal] = 'Гол',
|
|
8327
8333
|
_a$2[HockeyGameLogTypes.shootout_attempt] = 'Булит промах',
|
|
8328
8334
|
_a$2[HockeyGameLogTypes.shootout_goal] = 'Булит гол',
|
|
8335
|
+
_a$2[HockeyGameLogTypes.after_game_shootout_attempt] = 'Булит промах',
|
|
8336
|
+
_a$2[HockeyGameLogTypes.after_game_shootout_goal] = 'Булит гол',
|
|
8329
8337
|
_a$2[HockeyGameLogTypes.assist] = 'Передача',
|
|
8330
8338
|
_a$2[HockeyGameLogTypes.block_shot] = 'Блокировка броска',
|
|
8331
8339
|
_a$2[HockeyGameLogTypes.minor_penalty] = 'Малый штраф',
|