@mtgame/core 0.0.35 → 0.0.36
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/api/basketball-game-api.d.ts +1 -1
- package/bundles/mtgame-core.umd.js +2 -2
- 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/api/basketball-game-api.js +3 -3
- package/esm5/api/basketball-game-api.js +3 -3
- package/fesm2015/mtgame-core.js +2 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +2 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2176,10 +2176,10 @@ var BasketballGameApi = /** @class */ (function () {
|
|
|
2176
2176
|
});
|
|
2177
2177
|
});
|
|
2178
2178
|
};
|
|
2179
|
-
BasketballGameApi.prototype.downloadProtocol = function (gameId) {
|
|
2179
|
+
BasketballGameApi.prototype.downloadProtocol = function (gameId, fileType) {
|
|
2180
2180
|
return __awaiter(this, void 0, void 0, function () {
|
|
2181
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
|
|
2182
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol/?file_type=" + fileType, { responseType: 'blob' })
|
|
2183
2183
|
.toPromise()];
|
|
2184
2184
|
});
|
|
2185
2185
|
});
|