@smartico/public-api 0.0.99 → 0.0.100
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/SAWTemplateUI.d.ts +1 -0
- package/dist/Missions/UserAchievement.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +10 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +8 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +24 -0
- package/docs/interfaces/TMiniGameTemplate.md +24 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +9 -1
- package/src/MiniGames/SAWTemplateUI.ts +2 -0
- package/src/Missions/UserAchievement.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +14 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -271,6 +271,9 @@ const SAWTemplatesTransform = items => {
|
|
|
271
271
|
jackpot_add_on_attempt: r.jackpot_add_on_attempt,
|
|
272
272
|
jackpot_current: r.jackpot_current,
|
|
273
273
|
spin_count: r.spin_count,
|
|
274
|
+
promo_image: r.saw_template_ui_definition.promo_image,
|
|
275
|
+
promo_text: r.saw_template_ui_definition.promo_text,
|
|
276
|
+
custom_data: IntUtils.JsonOrText(r.saw_template_ui_definition.custom_data),
|
|
274
277
|
next_available_spin_ts: r.next_available_spin_ts,
|
|
275
278
|
prizes: r.prizes.map(p => {
|
|
276
279
|
const y = {
|
|
@@ -279,7 +282,11 @@ const SAWTemplatesTransform = items => {
|
|
|
279
282
|
prize_type: MiniGamePrizeTypeNamed(p.prize_type_id),
|
|
280
283
|
prize_value: p.prize_value,
|
|
281
284
|
font_size: p.saw_prize_ui_definition.font_size,
|
|
282
|
-
icon: p.saw_prize_ui_definition.icon
|
|
285
|
+
icon: p.saw_prize_ui_definition.icon,
|
|
286
|
+
position: p.saw_prize_ui_definition.position,
|
|
287
|
+
aknowledge_message: p.saw_prize_ui_definition.aknowledge_message,
|
|
288
|
+
acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
|
|
289
|
+
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title
|
|
283
290
|
};
|
|
284
291
|
return y;
|
|
285
292
|
})
|