@smartico/public-api 0.0.106 → 0.0.107

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.
@@ -490,6 +490,7 @@ var BuyStoreItemErrorCode;
490
490
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_TO_BUY_SHOP_ITEM_CONDITION_PURSHASE"] = 11004] = "SHOP_FAILED_TO_BUY_SHOP_ITEM_CONDITION_PURSHASE";
491
491
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_TO_BUY_MATCHING_BONUS"] = 11005] = "SHOP_FAILED_TO_BUY_MATCHING_BONUS";
492
492
  BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_MAX_BOUGHT_ITEMS_REACHED"] = 11006] = "SHOP_FAILED_MAX_BOUGHT_ITEMS_REACHED";
493
+ BuyStoreItemErrorCode[BuyStoreItemErrorCode["SHOP_FAILED_POOL_EMPTY"] = 11009] = "SHOP_FAILED_POOL_EMPTY";
493
494
  })(BuyStoreItemErrorCode || (BuyStoreItemErrorCode = {}));
494
495
 
495
496
  const StoreCategoryTransform = items => {
@@ -528,7 +529,8 @@ const StoreItemTransform = items => {
528
529
  [StoreItemType.Manual]: 'manual'
529
530
  }[r.itemTypeId],
530
531
  can_buy: r.canBuy,
531
- category_ids: (_r$categoryIds = r.categoryIds) != null ? _r$categoryIds : []
532
+ category_ids: (_r$categoryIds = r.categoryIds) != null ? _r$categoryIds : [],
533
+ pool: r.shopPool
532
534
  };
533
535
  return x;
534
536
  });