@smartico/public-api 0.0.367 → 0.0.369
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/SmarticoLib/index.d.ts +1 -0
- package/dist/Tournaments/GetClanTournamentPlayersResponse.d.ts +10 -8
- package/dist/Tournaments/TournamentRegistrationError.d.ts +1 -0
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +5 -4
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SmarticoLib/index.ts +1 -0
- package/src/Tournaments/GetClanTournamentPlayersResponse.ts +14 -12
- package/src/Tournaments/TournamentRegistrationError.ts +1 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -1684,15 +1684,15 @@ const clanTournamentPlayersTransform = response => {
|
|
|
1684
1684
|
image_url: response.clan_public_meta.image_url
|
|
1685
1685
|
},
|
|
1686
1686
|
players: (response.players || []).map(p => ({
|
|
1687
|
-
|
|
1688
|
-
|
|
1687
|
+
userId: p.userId,
|
|
1688
|
+
cleanExtUserId: p.cleanExtUserId,
|
|
1689
|
+
userAltName: p.userAltName,
|
|
1689
1690
|
avatar_id: p.avatar_id,
|
|
1690
1691
|
avatar_real_id: p.avatar_real_id,
|
|
1691
1692
|
avatar_url: p.avatar_url,
|
|
1692
1693
|
position: p.position,
|
|
1693
1694
|
scores: p.scores,
|
|
1694
|
-
|
|
1695
|
-
clean_ext_user_id: p.clean_ext_user_id
|
|
1695
|
+
isMe: p.isMe
|
|
1696
1696
|
}))
|
|
1697
1697
|
};
|
|
1698
1698
|
};
|
|
@@ -1984,6 +1984,7 @@ const tournamentInfoItemTransform = t => {
|
|
|
1984
1984
|
var TournamentRegistrationError;
|
|
1985
1985
|
(function (TournamentRegistrationError) {
|
|
1986
1986
|
TournamentRegistrationError[TournamentRegistrationError["NO_ERROR"] = 0] = "NO_ERROR";
|
|
1987
|
+
TournamentRegistrationError[TournamentRegistrationError["TOURNAMENT_USER_CANNOT_JOIN_WITHOUT_CLAN"] = 1010] = "TOURNAMENT_USER_CANNOT_JOIN_WITHOUT_CLAN";
|
|
1987
1988
|
TournamentRegistrationError[TournamentRegistrationError["TOURNAMENT_INSTANCE_NOT_FOUND"] = 30001] = "TOURNAMENT_INSTANCE_NOT_FOUND";
|
|
1988
1989
|
TournamentRegistrationError[TournamentRegistrationError["TOURNAMENT_REGISTRATION_NOT_ENOUGH_POINTS"] = 30002] = "TOURNAMENT_REGISTRATION_NOT_ENOUGH_POINTS";
|
|
1989
1990
|
TournamentRegistrationError[TournamentRegistrationError["TOURNAMENT_INSTANCE_NOT_IN_STATE"] = 30003] = "TOURNAMENT_INSTANCE_NOT_IN_STATE";
|