@smartico/public-api 0.0.58 → 0.0.60

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;
package/dist/index.js CHANGED
@@ -1374,7 +1374,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
1374
1374
  var message = _this21.buildMessage(user_ext_id, exports.ClassId.GET_TOURNAMENT_INFO_REQUEST, {
1375
1375
  tournamentInstanceId: tournamentInstanceId
1376
1376
  });
1377
- return Promise.resolve(_this21.send(message, exports.ClassId.GET_TOURNAMENT_LOBBY_RESPONSE)).then(function (response) {
1377
+ return Promise.resolve(_this21.send(message, exports.ClassId.GET_TOURNAMENT_INFO_RESPONSE)).then(function (response) {
1378
1378
  var _response$userPositio, _response$tournamentI;
1379
1379
  if ((_response$userPositio = response.userPosition) != null && _response$userPositio.avatar_id) {
1380
1380
  response.userPosition.avatar_url = CoreUtils.avatarUrl(response.userPosition.avatar_id, _this21.avatarDomain);