@smartico/public-api 0.0.428 → 0.0.430

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.
@@ -1169,7 +1169,7 @@ const StoreItemPurchasedTransform = items => {
1169
1169
  purchased_today: purchasedToday,
1170
1170
  purchased_this_week: purchasedThisWeek,
1171
1171
  purchased_this_month: purchasedThisMonth,
1172
- custom_data: r.itemPublicMeta.custom_data,
1172
+ custom_data: IntUtils.JsonOrText(r.itemPublicMeta.custom_data),
1173
1173
  show_timer: r.itemPublicMeta.show_timer,
1174
1174
  related_games: (((_r$relatedGames = r.relatedGames) == null ? void 0 : _r$relatedGames.filter(g => g.game_public_meta.enabled)) || []).map((g, i) => ({
1175
1175
  ext_game_id: g.ext_game_id,
@@ -1645,7 +1645,7 @@ const UserAchievementTransform = items => {
1645
1645
  position: r.ach_public_meta.position,
1646
1646
  ribbon: r.ach_public_meta.label_tag === 'custom' ? r.ach_public_meta.custom_label_tag : r.ach_public_meta.label_tag,
1647
1647
  tasks: (r.achievementTasks || []).filter(t => t.task_type_id === AchievementTaskType.CompleteAchievement).map(t => {
1648
- var _t$task_public_meta;
1648
+ var _t$task_public_meta, _t$task_public_meta$p;
1649
1649
  MissionUtils.replaceFavGameNameTag({
1650
1650
  task: t
1651
1651
  });
@@ -1658,6 +1658,7 @@ const UserAchievementTransform = items => {
1658
1658
  is_completed: t.isCompleted,
1659
1659
  progress: t.userProgress,
1660
1660
  execution_count_expected: t.executionCount,
1661
+ priority: (_t$task_public_meta$p = t.task_public_meta.priority) != null ? _t$task_public_meta$p : 0,
1661
1662
  execution_count_actual: t.userExecutedCount,
1662
1663
  display_progress_as_count: t.task_public_meta.display_progress_as_count,
1663
1664
  stage_image: t.task_public_meta.stage_image