@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.
|
@@ -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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
|
|
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
|
-
|
|
19
|
+
Optional error message
|
|
20
20
|
|
|
21
21
|
___
|
|
22
22
|
|
package/package.json
CHANGED
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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
|
-
/**
|
|
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;
|