@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.
@@ -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"] = 0] = "to_score_total";
910
- OvertimeTypes[OvertimeTypes["to_score_diff"] = 1] = "to_score_diff";
911
- OvertimeTypes[OvertimeTypes["time"] = 2] = "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) {