@smartico/public-api 0.0.389 → 0.0.391

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.
@@ -9895,6 +9895,9 @@ class SmarticoAPI {
9895
9895
  return await this.send(message, ClassId.GET_SAW_HISTORY_RESPONSE);
9896
9896
  }
9897
9897
  async getSawWinningHistoryT(user_ext_id, limit, offset, saw_template_id) {
9898
+ if (IntUtils.isNotNull(limit) && IntUtils.isNotNull(offset) && limit > 50) {
9899
+ limit = 50;
9900
+ }
9898
9901
  return SAWHistoryTransform((await this.getSawWinningHistory(user_ext_id, limit, offset, saw_template_id)).prizes);
9899
9902
  }
9900
9903
  async missionOptIn(user_ext_id, mission_id) {
@@ -9967,6 +9970,9 @@ class SmarticoAPI {
9967
9970
  return await this.send(message, ClassId.ACH_SHOP_ITEM_HISTORY_RESPONSE);
9968
9971
  }
9969
9972
  async storeGetPurchasedItemsT(user_ext_id, limit, offset) {
9973
+ if (IntUtils.isNotNull(limit) && IntUtils.isNotNull(offset) && limit > 50) {
9974
+ limit = 50;
9975
+ }
9970
9976
  return StoreItemPurchasedTransform((await this.storeGetPurchasedItems(user_ext_id, limit, offset)).items);
9971
9977
  }
9972
9978
  async missionsGetItems(user_ext_id, force_language) {