@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.
package/dist/index.js
CHANGED
|
@@ -1191,7 +1191,7 @@ var StoreItemPurchasedTransform = function StoreItemPurchasedTransform(items) {
|
|
|
1191
1191
|
purchased_today: purchasedToday,
|
|
1192
1192
|
purchased_this_week: purchasedThisWeek,
|
|
1193
1193
|
purchased_this_month: purchasedThisMonth,
|
|
1194
|
-
custom_data: r.itemPublicMeta.custom_data,
|
|
1194
|
+
custom_data: IntUtils.JsonOrText(r.itemPublicMeta.custom_data),
|
|
1195
1195
|
show_timer: r.itemPublicMeta.show_timer,
|
|
1196
1196
|
related_games: (((_r$relatedGames = r.relatedGames) == null ? void 0 : _r$relatedGames.filter(function (g) {
|
|
1197
1197
|
return g.game_public_meta.enabled;
|
|
@@ -1675,7 +1675,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
|
|
|
1675
1675
|
tasks: (r.achievementTasks || []).filter(function (t) {
|
|
1676
1676
|
return t.task_type_id === exports.AchievementTaskType.CompleteAchievement;
|
|
1677
1677
|
}).map(function (t) {
|
|
1678
|
-
var _t$task_public_meta;
|
|
1678
|
+
var _t$task_public_meta, _t$task_public_meta$p;
|
|
1679
1679
|
MissionUtils.replaceFavGameNameTag({
|
|
1680
1680
|
task: t
|
|
1681
1681
|
});
|
|
@@ -1688,6 +1688,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
|
|
|
1688
1688
|
is_completed: t.isCompleted,
|
|
1689
1689
|
progress: t.userProgress,
|
|
1690
1690
|
execution_count_expected: t.executionCount,
|
|
1691
|
+
priority: (_t$task_public_meta$p = t.task_public_meta.priority) != null ? _t$task_public_meta$p : 0,
|
|
1691
1692
|
execution_count_actual: t.userExecutedCount,
|
|
1692
1693
|
display_progress_as_count: t.task_public_meta.display_progress_as_count,
|
|
1693
1694
|
stage_image: t.task_public_meta.stage_image
|