@mtgame/core 0.0.34 → 0.0.35

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.
@@ -2176,6 +2176,14 @@ var BasketballGameApi = /** @class */ (function () {
2176
2176
  });
2177
2177
  });
2178
2178
  };
2179
+ BasketballGameApi.prototype.downloadProtocol = function (gameId) {
2180
+ return __awaiter(this, void 0, void 0, function () {
2181
+ return __generator(this, function (_a) {
2182
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol/", { responseType: 'blob' })
2183
+ .toPromise()];
2184
+ });
2185
+ });
2186
+ };
2179
2187
  BasketballGameApi.ctorParameters = function () { return [
2180
2188
  { type: HttpClient },
2181
2189
  { type: ConfigService }