@smartico/public-api 0.0.145 → 0.0.146
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
|
@@ -339,7 +339,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
339
339
|
expose_game_stat_on_api: r.expose_game_stat_on_api,
|
|
340
340
|
next_available_spin_ts: r.next_available_spin_ts,
|
|
341
341
|
prizes: r.prizes.map(function (p) {
|
|
342
|
-
var y =
|
|
342
|
+
var y = {
|
|
343
343
|
id: p.saw_prize_id,
|
|
344
344
|
name: p.saw_prize_ui_definition.name,
|
|
345
345
|
prize_type: MiniGamePrizeTypeNamed(p.prize_type_id),
|
|
@@ -350,11 +350,10 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
350
350
|
position: p.saw_prize_ui_definition.position,
|
|
351
351
|
aknowledge_message: p.saw_prize_ui_definition.aknowledge_message,
|
|
352
352
|
acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
|
|
353
|
-
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title
|
|
354
|
-
}, r.expose_game_stat_on_api && {
|
|
353
|
+
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
|
|
355
354
|
pool: p.pool,
|
|
356
355
|
wins_count: p.wins_count
|
|
357
|
-
}
|
|
356
|
+
};
|
|
358
357
|
return y;
|
|
359
358
|
})
|
|
360
359
|
};
|