@smartico/public-api 0.0.334 → 0.0.335
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/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGameTemplate.md +8 -0
- package/docs/interfaces/TStoreItem.md +1 -1
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +3 -0
|
@@ -117,6 +117,8 @@ export interface TMiniGameTemplate {
|
|
|
117
117
|
description: string;
|
|
118
118
|
/** URL of the icon of the mini-game template */
|
|
119
119
|
thumbnail: string;
|
|
120
|
+
/** Indicates if the mini-game is visible when the user have attempts/points/gems/diamonds to play */
|
|
121
|
+
visibile_when_can_spin?: boolean;
|
|
120
122
|
/** The type of the game, e.g. Spin the Wheel, Gift Box, Scratch card, MatchX etc */
|
|
121
123
|
saw_game_type: SAWGameTypeName;
|
|
122
124
|
/** How the user is charged for each game attempt e.g. Free, Points or Spin attempts */
|
package/dist/index.js
CHANGED
|
@@ -431,6 +431,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
431
431
|
name: r.saw_template_ui_definition.name,
|
|
432
432
|
description: r.saw_template_ui_definition.description,
|
|
433
433
|
thumbnail: r.saw_template_ui_definition.thumbnail ? r.saw_template_ui_definition.thumbnail : (_r$saw_skin_ui_defini = r.saw_skin_ui_definition) != null && _r$saw_skin_ui_defini.skin_folder ? r.saw_skin_ui_definition.skin_folder + "/ico.png" : "https://d312ucx3huj7iy.cloudfront.net/gf/images/saw/" + r.saw_skin_key + "/ico.png",
|
|
434
|
+
visibile_when_can_spin: r.visibile_when_can_spin,
|
|
434
435
|
over_limit_message: r.saw_template_ui_definition.over_limit_message,
|
|
435
436
|
no_attempts_message: r.saw_template_ui_definition.no_attempts_message,
|
|
436
437
|
jackpot_symbol: r.saw_template_ui_definition.jackpot_symbol,
|