@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/package.json
CHANGED
package/src/SmarticoAPI.ts
CHANGED
|
@@ -449,7 +449,8 @@ class SmarticoAPI {
|
|
|
449
449
|
if (!tournamentInstanceId) {
|
|
450
450
|
throw new Error('Missing tournament instance id');
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
const response = await this.tournamentsGetInfo(user_ext_id, tournamentInstanceId);
|
|
453
|
+
return tournamentInfoItemTransform(response);
|
|
453
454
|
}
|
|
454
455
|
|
|
455
456
|
public async leaderboardGet(user_ext_id: string, period_type_id?: LeaderBoardPeriodType, prevPeriod: boolean = false): Promise<LeaderBoardDetails> {
|