@mtgame/core 1.0.54 → 1.0.56
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 +6 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/tournament-round.js +2 -1
- package/esm2015/services/centrifugo.service.js +6 -2
- package/fesm2015/mtgame-core.js +6 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/tournament-round.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7997,6 +7997,7 @@
|
|
|
7997
7997
|
(function (TournamentRoundTypes) {
|
|
7998
7998
|
TournamentRoundTypes[TournamentRoundTypes["group"] = 1] = "group";
|
|
7999
7999
|
TournamentRoundTypes[TournamentRoundTypes["playoff"] = 2] = "playoff";
|
|
8000
|
+
TournamentRoundTypes[TournamentRoundTypes["swiss"] = 3] = "swiss";
|
|
8000
8001
|
})(exports.TournamentRoundTypes || (exports.TournamentRoundTypes = {}));
|
|
8001
8002
|
var TournamentRoundSettings = /** @class */ (function (_super) {
|
|
8002
8003
|
__extends(TournamentRoundSettings, _super);
|
|
@@ -16486,7 +16487,11 @@
|
|
|
16486
16487
|
}
|
|
16487
16488
|
if (!this.initializeEngineSubject) {
|
|
16488
16489
|
this.initializeEngineSubject = new rxjs.ReplaySubject(1);
|
|
16489
|
-
this.
|
|
16490
|
+
var centrifugoConfigUrl = this.configService.get('centrifugoConfigUrl');
|
|
16491
|
+
if (!centrifugoConfigUrl) {
|
|
16492
|
+
centrifugoConfigUrl = this.configService.get('apiUrl') + "/api/v1/centrifugo_v2/";
|
|
16493
|
+
}
|
|
16494
|
+
this.httpClient.get(centrifugoConfigUrl)
|
|
16490
16495
|
.subscribe(function (config) {
|
|
16491
16496
|
_this.initializeEngine({
|
|
16492
16497
|
url: _this.configService.get('centrifugoUrl'),
|