@mtgame/core 0.0.1 → 0.0.3
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 +4 -5
- 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/models/basketball-game-config.js +4 -4
- package/esm2015/services/centrifugo.service.js +2 -3
- package/esm5/models/basketball-game-config.js +4 -4
- package/esm5/services/centrifugo.service.js +2 -3
- package/fesm2015/mtgame-core.js +4 -5
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +4 -5
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/overtime-types.d.ts +2 -2
- package/models/basketball-game-config.d.ts +3 -3
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -906,9 +906,9 @@ var Tournament = /** @class */ (function (_super) {
|
|
|
906
906
|
|
|
907
907
|
var OvertimeTypes;
|
|
908
908
|
(function (OvertimeTypes) {
|
|
909
|
-
OvertimeTypes[OvertimeTypes["to_score_total"] =
|
|
910
|
-
OvertimeTypes[OvertimeTypes["to_score_diff"] =
|
|
911
|
-
OvertimeTypes[OvertimeTypes["time"] =
|
|
909
|
+
OvertimeTypes[OvertimeTypes["to_score_total"] = 1] = "to_score_total";
|
|
910
|
+
OvertimeTypes[OvertimeTypes["to_score_diff"] = 2] = "to_score_diff";
|
|
911
|
+
OvertimeTypes[OvertimeTypes["time"] = 3] = "time";
|
|
912
912
|
})(OvertimeTypes || (OvertimeTypes = {}));
|
|
913
913
|
var BasketballGameConfig = /** @class */ (function (_super) {
|
|
914
914
|
__extends(BasketballGameConfig, _super);
|
|
@@ -4082,7 +4082,7 @@ var CentrifugoService = /** @class */ (function () {
|
|
|
4082
4082
|
var _this = this;
|
|
4083
4083
|
if (!this.initializeEngineSubject) {
|
|
4084
4084
|
this.initializeEngineSubject = new ReplaySubject(1);
|
|
4085
|
-
this.httpClient.get('/api/v1/centrifugo/
|
|
4085
|
+
this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/centrifugo/")
|
|
4086
4086
|
.subscribe(function (config) {
|
|
4087
4087
|
_this.initializeEngine({
|
|
4088
4088
|
url: _this.configService.get('centrifugoUrl'),
|
|
@@ -4122,7 +4122,6 @@ var CentrifugoService = /** @class */ (function () {
|
|
|
4122
4122
|
this.subscriptions = {};
|
|
4123
4123
|
};
|
|
4124
4124
|
CentrifugoService.prototype.initializeEngine = function (config) {
|
|
4125
|
-
console.log(config);
|
|
4126
4125
|
this.centrifuge = new Centrifuge(config);
|
|
4127
4126
|
};
|
|
4128
4127
|
CentrifugoService.prototype.addEngineSubscription = function (channel) {
|