@smartico/public-api 0.0.59 → 0.0.61

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.
package/dist/index.js CHANGED
@@ -288,6 +288,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
288
288
  buyin_cost_points: r.buyin_cost_points,
289
289
  jackpot_add_on_attempt: r.jackpot_add_on_attempt,
290
290
  jackpot_current: r.jackpot_current,
291
+ spin_count: r.spin_count,
291
292
  prizes: r.prizes.map(function (p) {
292
293
  var y = {
293
294
  id: p.saw_prize_id,
@@ -1374,7 +1375,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
1374
1375
  var message = _this21.buildMessage(user_ext_id, exports.ClassId.GET_TOURNAMENT_INFO_REQUEST, {
1375
1376
  tournamentInstanceId: tournamentInstanceId
1376
1377
  });
1377
- return Promise.resolve(_this21.send(message, exports.ClassId.GET_TOURNAMENT_LOBBY_RESPONSE)).then(function (response) {
1378
+ return Promise.resolve(_this21.send(message, exports.ClassId.GET_TOURNAMENT_INFO_RESPONSE)).then(function (response) {
1378
1379
  var _response$userPositio, _response$tournamentI;
1379
1380
  if ((_response$userPositio = response.userPosition) != null && _response$userPositio.avatar_id) {
1380
1381
  response.userPosition.avatar_url = CoreUtils.avatarUrl(response.userPosition.avatar_id, _this21.avatarDomain);