@smartico/public-api 0.0.118 → 0.0.120

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.
@@ -66,6 +66,8 @@ var ClassId;
66
66
  ClassId[ClassId["MARK_INBOX_DELETED_RESPONSE"] = 536] = "MARK_INBOX_DELETED_RESPONSE";
67
67
  ClassId[ClassId["GET_ACH_CATEGORIES_REQUEST"] = 537] = "GET_ACH_CATEGORIES_REQUEST";
68
68
  ClassId[ClassId["GET_ACH_CATEGORIES_RESPONSE"] = 538] = "GET_ACH_CATEGORIES_RESPONSE";
69
+ ClassId[ClassId["ACHIEVEMENT_CLAIM_PRIZE_REQUEST"] = 539] = "ACHIEVEMENT_CLAIM_PRIZE_REQUEST";
70
+ ClassId[ClassId["ACHIEVEMENT_CLAIM_PRIZE_RESPONSE"] = 540] = "ACHIEVEMENT_CLAIM_PRIZE_RESPONSE";
69
71
  ClassId[ClassId["GET_BONUSES_REQUEST"] = 600] = "GET_BONUSES_REQUEST";
70
72
  ClassId[ClassId["GET_BONUSES_RESPONSE"] = 601] = "GET_BONUSES_RESPONSE";
71
73
  ClassId[ClassId["CLAIM_BONUS_REQUEST"] = 602] = "CLAIM_BONUS_REQUEST";
@@ -284,6 +286,7 @@ const SAWTemplatesTransform = items => {
284
286
  prize_type: MiniGamePrizeTypeNamed(p.prize_type_id),
285
287
  prize_value: p.prize_value,
286
288
  font_size: p.saw_prize_ui_definition.font_size,
289
+ font_size_mobile: p.saw_prize_ui_definition.font_size_mobile,
287
290
  icon: p.saw_prize_ui_definition.icon,
288
291
  position: p.saw_prize_ui_definition.position,
289
292
  aknowledge_message: p.saw_prize_ui_definition.aknowledge_message,
@@ -1333,12 +1336,12 @@ class SmarticoAPI {
1333
1336
  this.logger.always('HTTP time, ms:' + (timeEnd - timeStart));
1334
1337
  }
1335
1338
  } catch (e) {
1336
- this.logger.error(`Failed to make request to smartico channel. ${e.message}`, {
1339
+ this.logger.error(`Failed to make request to smartico channel, L2. ${e.message}`, {
1337
1340
  url: this.publicUrl,
1338
1341
  request: message,
1339
1342
  error: e.message
1340
1343
  });
1341
- throw new Error(`Failed to make request to smartico channel. ${e.message}`);
1344
+ throw new Error(`Failed to make request to smartico channel, L1. ${e.message}`);
1342
1345
  }
1343
1346
  if (this.logCIDs.includes(message.cid)) {
1344
1347
  this.logger.info('RES', result);