@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.
@@ -1119,9 +1119,9 @@
1119
1119
 
1120
1120
 
1121
1121
  (function (OvertimeTypes) {
1122
- OvertimeTypes[OvertimeTypes["to_score_total"] = 0] = "to_score_total";
1123
- OvertimeTypes[OvertimeTypes["to_score_diff"] = 1] = "to_score_diff";
1124
- OvertimeTypes[OvertimeTypes["time"] = 2] = "time";
1122
+ OvertimeTypes[OvertimeTypes["to_score_total"] = 1] = "to_score_total";
1123
+ OvertimeTypes[OvertimeTypes["to_score_diff"] = 2] = "to_score_diff";
1124
+ OvertimeTypes[OvertimeTypes["time"] = 3] = "time";
1125
1125
  })(exports.OvertimeTypes || (exports.OvertimeTypes = {}));
1126
1126
  var BasketballGameConfig = /** @class */ (function (_super) {
1127
1127
  __extends(BasketballGameConfig, _super);
@@ -4295,7 +4295,7 @@
4295
4295
  var _this = this;
4296
4296
  if (!this.initializeEngineSubject) {
4297
4297
  this.initializeEngineSubject = new ReplaySubject.ReplaySubject(1);
4298
- this.httpClient.get('/api/v1/centrifugo/')
4298
+ this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/centrifugo/")
4299
4299
  .subscribe(function (config) {
4300
4300
  _this.initializeEngine({
4301
4301
  url: _this.configService.get('centrifugoUrl'),
@@ -4335,7 +4335,6 @@
4335
4335
  this.subscriptions = {};
4336
4336
  };
4337
4337
  CentrifugoService.prototype.initializeEngine = function (config) {
4338
- console.log(config);
4339
4338
  this.centrifuge = new Centrifuge(config);
4340
4339
  };
4341
4340
  CentrifugoService.prototype.addEngineSubscription = function (channel) {