@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.
- package/dist/Store/BuyStoreItemErrorCode.d.ts +2 -1
- package/dist/Store/StoreItem.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +3 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/classes/WSAPI.md +26 -26
- package/docs/enums/BuyStoreItemErrorCode.md +6 -0
- package/docs/interfaces/TStoreItem.md +8 -0
- package/docs/interfaces/TTournament.md +1 -1
- package/docs/interfaces/TTournamentDetailed.md +2 -2
- package/package.json +1 -1
- package/src/Store/BuyStoreItemErrorCode.ts +2 -1
- package/src/Store/StoreItem.ts +3 -1
- package/src/WSAPI/WSAPITypes.ts +2 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -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
|
});
|