@smartico/public-api 0.0.390 → 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.
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +6 -0
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SmarticoAPI.ts +6 -0
package/dist/index.js
CHANGED
|
@@ -10810,6 +10810,9 @@ var SmarticoAPI = /*#__PURE__*/function () {
|
|
|
10810
10810
|
_proto.getSawWinningHistoryT = function getSawWinningHistoryT(user_ext_id, limit, offset, saw_template_id) {
|
|
10811
10811
|
try {
|
|
10812
10812
|
var _this21 = this;
|
|
10813
|
+
if (IntUtils.isNotNull(limit) && IntUtils.isNotNull(offset) && limit > 50) {
|
|
10814
|
+
limit = 50;
|
|
10815
|
+
}
|
|
10813
10816
|
return Promise.resolve(_this21.getSawWinningHistory(user_ext_id, limit, offset, saw_template_id)).then(function (_this21$getSawWinning) {
|
|
10814
10817
|
return SAWHistoryTransform(_this21$getSawWinning.prizes);
|
|
10815
10818
|
});
|
|
@@ -10951,6 +10954,9 @@ var SmarticoAPI = /*#__PURE__*/function () {
|
|
|
10951
10954
|
_proto.storeGetPurchasedItemsT = function storeGetPurchasedItemsT(user_ext_id, limit, offset) {
|
|
10952
10955
|
try {
|
|
10953
10956
|
var _this32 = this;
|
|
10957
|
+
if (IntUtils.isNotNull(limit) && IntUtils.isNotNull(offset) && limit > 50) {
|
|
10958
|
+
limit = 50;
|
|
10959
|
+
}
|
|
10954
10960
|
return Promise.resolve(_this32.storeGetPurchasedItems(user_ext_id, limit, offset)).then(function (_this32$storeGetPurch) {
|
|
10955
10961
|
return StoreItemPurchasedTransform(_this32$storeGetPurch.items);
|
|
10956
10962
|
});
|