@smartico/public-api 0.0.127 → 0.0.129

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.
@@ -1,5 +1,5 @@
1
1
  import { ProtocolResponse } from "../Base/ProtocolResponse";
2
2
  import { JackpotDetails } from "./JackpotDetails";
3
3
  export interface GetJackpotsResponse extends ProtocolResponse {
4
- jackpots: JackpotDetails[];
4
+ items: JackpotDetails[];
5
5
  }
package/dist/index.js CHANGED
@@ -2107,7 +2107,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
2107
2107
  var _this8 = this;
2108
2108
  var message = _this8.buildMessage(user_ext_id, exports.ClassId.JP_GET_JACKPOTS_REQUEST, filter);
2109
2109
  return Promise.resolve(_this8.send(message, exports.ClassId.JP_GET_JACKPOTS_RESPONSE)).then(function (response) {
2110
- return (response == null ? void 0 : response.jackpots) || [];
2110
+ return (response == null ? void 0 : response.items) || [];
2111
2111
  });
2112
2112
  } catch (e) {
2113
2113
  return Promise.reject(e);
@@ -2116,7 +2116,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
2116
2116
  _proto.potGet = function potGet(user_ext_id, filter) {
2117
2117
  try {
2118
2118
  var _this9 = this;
2119
- var message = _this9.buildMessage(user_ext_id, exports.ClassId.JP_GET_JACKPOTS_REQUEST, filter);
2119
+ var message = _this9.buildMessage(user_ext_id, exports.ClassId.JP_GET_LATEST_POTS_REQUEST, filter);
2120
2120
  return Promise.resolve(_this9.send(message, exports.ClassId.JP_GET_LATEST_POTS_RESPONSE)).then(function (response) {
2121
2121
  return (response == null ? void 0 : response.items) || [];
2122
2122
  });