@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.
@@ -36,6 +36,14 @@ URL of the icon of the mini-game template
36
36
 
37
37
  ___
38
38
 
39
+ ### visibile\_when\_can\_spin
40
+
41
+ • `Optional` **visibile\_when\_can\_spin**: `boolean`
42
+
43
+ Indicates if the mini-game is visible when the user have attempts/points/gems/diamonds to play
44
+
45
+ ___
46
+
39
47
  ### saw\_game\_type
40
48
 
41
49
  • **saw\_game\_type**: [`SAWGameTypeName`](../enums/SAWGameTypeName.md)
@@ -38,7 +38,7 @@ ___
38
38
 
39
39
  ### type
40
40
 
41
- • **type**: ``"bonus"`` \| ``"tangible"`` \| ``"minigamespin"`` \| ``"changelevel"`` \| ``"prizedrop"`` \| ``"raffleticket"`` \| ``"unknown"``
41
+ • **type**: ``"unknown"`` \| ``"bonus"`` \| ``"tangible"`` \| ``"minigamespin"`` \| ``"changelevel"`` \| ``"prizedrop"`` \| ``"raffleticket"``
42
42
 
43
43
  Type of the store item. Can be 'bonus' or 'tangible' or different others.
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.334",
3
+ "version": "0.0.335",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
22
22
  : r.saw_skin_ui_definition?.skin_folder
23
23
  ? `${r.saw_skin_ui_definition.skin_folder}/ico.png`
24
24
  : `https://d312ucx3huj7iy.cloudfront.net/gf/images/saw/${r.saw_skin_key}/ico.png`,
25
+ visibile_when_can_spin: r.visibile_when_can_spin,
25
26
  over_limit_message: r.saw_template_ui_definition.over_limit_message,
26
27
  no_attempts_message: r.saw_template_ui_definition.no_attempts_message,
27
28
  jackpot_symbol: r.saw_template_ui_definition.jackpot_symbol,
@@ -124,6 +124,9 @@ export interface TMiniGameTemplate {
124
124
  /** URL of the icon of the mini-game template */
125
125
  thumbnail: string;
126
126
 
127
+ /** Indicates if the mini-game is visible when the user have attempts/points/gems/diamonds to play */
128
+ visibile_when_can_spin?: boolean;
129
+
127
130
  /** The type of the game, e.g. Spin the Wheel, Gift Box, Scratch card, MatchX etc */
128
131
  saw_game_type: SAWGameTypeName;
129
132
  /** How the user is charged for each game attempt e.g. Free, Points or Spin attempts */