@smartico/public-api 0.0.76 → 0.0.77
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/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SmarticoAPI.ts +2 -1
package/dist/index.modern.mjs
CHANGED
|
@@ -1291,7 +1291,8 @@ class SmarticoAPI {
|
|
|
1291
1291
|
if (!tournamentInstanceId) {
|
|
1292
1292
|
throw new Error('Missing tournament instance id');
|
|
1293
1293
|
}
|
|
1294
|
-
|
|
1294
|
+
const response = await this.tournamentsGetInfo(user_ext_id, tournamentInstanceId);
|
|
1295
|
+
return tournamentInfoItemTransform(response);
|
|
1295
1296
|
}
|
|
1296
1297
|
async leaderboardGet(user_ext_id, period_type_id, prevPeriod = false) {
|
|
1297
1298
|
var _response$map$boardKe, _response$map$boardKe2, _response$map$boardKe3, _response$map$boardKe4;
|