@smartico/public-api 0.0.359 → 0.0.360

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.
@@ -1054,7 +1054,21 @@ const StoreItemTransform = items => {
1054
1054
  custom_section_type_id: r.itemPublicMeta.custom_section_type_id
1055
1055
  }, r.itemPublicMeta.cant_buy_message ? {
1056
1056
  cant_buy_message: r.itemPublicMeta.cant_buy_message
1057
- } : {});
1057
+ } : {}, {
1058
+ related_games: (r.related_games || []).map((g, i) => ({
1059
+ ext_game_id: g.ext_game_id,
1060
+ game_public_meta: {
1061
+ name: g.game_public_meta.name,
1062
+ link: g.game_public_meta.link,
1063
+ image: g.game_public_meta.image,
1064
+ enabled: g.game_public_meta.enabled,
1065
+ game_categories: g.game_public_meta.game_categories,
1066
+ game_provider: g.game_public_meta.game_provider,
1067
+ mobile_spec_link: g.game_public_meta.mobile_spec_link,
1068
+ priority: i + 1
1069
+ }
1070
+ }))
1071
+ });
1058
1072
  return x;
1059
1073
  });
1060
1074
  };