@smartico/public-api 0.0.58 → 0.0.59

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.
@@ -11,4 +11,5 @@ export interface SAWPrizeUI {
11
11
  sound_type: SAWWinSoundType;
12
12
  icon?: string;
13
13
  replace_name_with_image?: boolean;
14
+ acknowledge_action_title?: string;
14
15
  }
@@ -22,9 +22,9 @@ export interface TMiniGamePrize {
22
22
  * TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
23
23
  */
24
24
  export interface TMiniGamePlayResult {
25
- /** Name of the mini-game template, translated to the user language */
25
+ /** Error code that represents outcome of the game play attempt. Game succeed to be played in case err_code is 0 */
26
26
  err_code: SAWSpinErrorCode;
27
- /** Name of the mini-game template, translated to the user language */
27
+ /** Optional error message */
28
28
  err_message: string;
29
29
  /** The prize_id that user won, details of the prize can be found in the mini-game definition */
30
30
  prize_id: number;
@@ -8,7 +8,7 @@ TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame
8
8
 
9
9
  • **err\_code**: [`SAWSpinErrorCode`](../enums/SAWSpinErrorCode.md)
10
10
 
11
- Name of the mini-game template, translated to the user language
11
+ Error code that represents outcome of the game play attempt. Game succeed to be played in case err_code is 0
12
12
 
13
13
  ___
14
14
 
@@ -16,7 +16,7 @@ ___
16
16
 
17
17
  • **err\_message**: `string`
18
18
 
19
- Name of the mini-game template, translated to the user language
19
+ Optional error message
20
20
 
21
21
  ___
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,4 +12,5 @@ export interface SAWPrizeUI {
12
12
  sound_type: SAWWinSoundType;
13
13
  icon?: string;
14
14
  replace_name_with_image?: boolean;
15
+ acknowledge_action_title?: string;
15
16
  }
@@ -27,9 +27,9 @@ export interface TMiniGamePrize {
27
27
  * TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
28
28
  */
29
29
  export interface TMiniGamePlayResult {
30
- /** Name of the mini-game template, translated to the user language */
30
+ /** Error code that represents outcome of the game play attempt. Game succeed to be played in case err_code is 0 */
31
31
  err_code: SAWSpinErrorCode;
32
- /** Name of the mini-game template, translated to the user language */
32
+ /** Optional error message */
33
33
  err_message: string;
34
34
  /** The prize_id that user won, details of the prize can be found in the mini-game definition */
35
35
  prize_id: number;