@smartico/public-api 0.0.144 → 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/MiniGames/SAWPrize.d.ts +2 -0
- package/dist/MiniGames/SAWTemplate.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +3 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +4 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +12 -0
- package/docs/interfaces/TMiniGameTemplate.md +6 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +3 -0
- package/src/MiniGames/SAWPrize.ts +2 -0
- package/src/MiniGames/SAWTemplate.ts +2 -1
- package/src/WSAPI/WSAPITypes.ts +12 -3
package/dist/index.modern.mjs
CHANGED
|
@@ -318,6 +318,7 @@ const SAWTemplatesTransform = items => {
|
|
|
318
318
|
promo_image: r.saw_template_ui_definition.promo_image,
|
|
319
319
|
promo_text: r.saw_template_ui_definition.promo_text,
|
|
320
320
|
custom_data: IntUtils.JsonOrText(r.saw_template_ui_definition.custom_data),
|
|
321
|
+
expose_game_stat_on_api: r.expose_game_stat_on_api,
|
|
321
322
|
next_available_spin_ts: r.next_available_spin_ts,
|
|
322
323
|
prizes: r.prizes.map(p => {
|
|
323
324
|
const y = {
|
|
@@ -331,7 +332,9 @@ const SAWTemplatesTransform = items => {
|
|
|
331
332
|
position: p.saw_prize_ui_definition.position,
|
|
332
333
|
aknowledge_message: p.saw_prize_ui_definition.aknowledge_message,
|
|
333
334
|
acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
|
|
334
|
-
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title
|
|
335
|
+
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
|
|
336
|
+
pool: p.pool,
|
|
337
|
+
wins_count: p.wins_count
|
|
335
338
|
};
|
|
336
339
|
return y;
|
|
337
340
|
})
|