@smartico/public-api 0.0.404 → 0.0.408

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.
@@ -1730,11 +1730,7 @@ var AchievementClaimPeriodTypeId;
1730
1730
 
1731
1731
  const clanTournamentPlayersTransform = response => {
1732
1732
  return {
1733
- clan_id: response.clan_id,
1734
- clan_public_meta: {
1735
- name: response.clan_public_meta.name,
1736
- image_url: response.clan_public_meta.image_url
1737
- },
1733
+ tournament_instance_id: response.tournament_instance_id,
1738
1734
  players: (response.players || []).map(p => ({
1739
1735
  user_id: p.userId,
1740
1736
  clean_ext_user_id: p.cleanExtUserId,
@@ -5002,16 +4998,13 @@ class WSAPITournaments extends WSAPIStore {
5002
4998
  * polling cadence.
5003
4999
  *
5004
5000
  * **Returned shape**
5005
- * `TClanTournamentPlayers` carries the requested clan's identity
5006
- * (`clan_id`, `clan_public_meta.name`, `clan_public_meta.image_url`)
5001
+ * `TClanTournamentPlayers` carries the `tournament_instance_id`
5007
5002
  * alongside the `players[]` array — each entry has `position`,
5008
5003
  * `scores`, `public_username`, `clean_ext_user_id`, `avatar_id`,
5009
5004
  * `avatar_real_id`, the resolved `avatar_url`, `user_id`, and the
5010
- * `is_me` flag identifying the current user's row. The `clan_id` and
5011
- * `clan_public_meta` on the response echo the input clan — the
5012
- * default Smartico UI ignores them and renders the header from the
5013
- * caller-side `ClanLeaderboardEntry` object, but they're available
5014
- * for consumers that don't already have that context.
5005
+ * `is_me` flag identifying the current user's row. The response does
5006
+ * NOT echo the clan's identity — render the clan header from the
5007
+ * caller-side `ClanLeaderboardEntry` object you passed in.
5015
5008
  *
5016
5009
  * **Username display**: prefer `clean_ext_user_id` when set, falling
5017
5010
  * back to `public_username`. The default Smartico UI uses