@ikas/storefront 0.0.121 → 0.0.122

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/build/index.es.js CHANGED
@@ -11037,6 +11037,7 @@ var IkasProductDetailPropValueProvider = /** @class */ (function () {
11037
11037
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
11038
11038
  productIdList: [this.productDetailPropValue.productId],
11039
11039
  priceListId: IkasStorefrontConfig.priceListId,
11040
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
11040
11041
  })];
11041
11042
  case 1:
11042
11043
  productSearchResponse = _b.sent();
@@ -12071,6 +12072,7 @@ var IkasPageDataProvider = /** @class */ (function () {
12071
12072
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
12072
12073
  productIdList: [metaDataResponse.metaData.targetId],
12073
12074
  priceListId: IkasStorefrontConfig.priceListId,
12075
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
12074
12076
  })];
12075
12077
  case 2:
12076
12078
  productsResponse = _b.sent();
@@ -18954,6 +18956,7 @@ var IkasCustomerStore = /** @class */ (function () {
18954
18956
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
18955
18957
  productIdList: favoriteProductsResult.map(function (fP) { return fP.productId; }),
18956
18958
  priceListId: IkasStorefrontConfig.priceListId,
18959
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
18957
18960
  })];
18958
18961
  case 2:
18959
18962
  productsResult = _b.sent();
@@ -22180,10 +22183,15 @@ var IkasProductList = /** @class */ (function () {
22180
22183
  productIdList: this.isStatic
22181
22184
  ? (_b = this._productListPropValue.productIds) === null || _b === void 0 ? void 0 : _b.map(function (p) { return p.productId; }) : undefined,
22182
22185
  filterList: filterList,
22186
+ brandId: this._pageType === IkasThemePageType.BRAND &&
22187
+ this._type !== IkasProductListType.SEARCH
22188
+ ? this._filterBrandId
22189
+ : undefined,
22183
22190
  categoryIdList: this._filterCategoryId
22184
22191
  ? [this._filterCategoryId]
22185
22192
  : undefined,
22186
22193
  priceListId: IkasStorefrontConfig.priceListId,
22194
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
22187
22195
  query: this._searchKeyword,
22188
22196
  })];
22189
22197
  case 1: return [2 /*return*/, _c.sent()];
@@ -28901,6 +28909,7 @@ var getStaticPaths = function (context) { return __awaiter(void 0, void 0, void
28901
28909
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
28902
28910
  productIdList: productMetaData.map(function (p) { return p.targetId; }),
28903
28911
  priceListId: IkasStorefrontConfig.priceListId,
28912
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
28904
28913
  })];
28905
28914
  case 2:
28906
28915
  productsResponse = _b.sent();
package/build/index.js CHANGED
@@ -11052,6 +11052,7 @@ var IkasProductDetailPropValueProvider = /** @class */ (function () {
11052
11052
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
11053
11053
  productIdList: [this.productDetailPropValue.productId],
11054
11054
  priceListId: IkasStorefrontConfig.priceListId,
11055
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
11055
11056
  })];
11056
11057
  case 1:
11057
11058
  productSearchResponse = _b.sent();
@@ -12086,6 +12087,7 @@ var IkasPageDataProvider = /** @class */ (function () {
12086
12087
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
12087
12088
  productIdList: [metaDataResponse.metaData.targetId],
12088
12089
  priceListId: IkasStorefrontConfig.priceListId,
12090
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
12089
12091
  })];
12090
12092
  case 2:
12091
12093
  productsResponse = _b.sent();
@@ -18960,6 +18962,7 @@ var IkasCustomerStore = /** @class */ (function () {
18960
18962
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
18961
18963
  productIdList: favoriteProductsResult.map(function (fP) { return fP.productId; }),
18962
18964
  priceListId: IkasStorefrontConfig.priceListId,
18965
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
18963
18966
  })];
18964
18967
  case 2:
18965
18968
  productsResult = _b.sent();
@@ -22163,10 +22166,15 @@ var IkasProductList = /** @class */ (function () {
22163
22166
  productIdList: this.isStatic
22164
22167
  ? (_b = this._productListPropValue.productIds) === null || _b === void 0 ? void 0 : _b.map(function (p) { return p.productId; }) : undefined,
22165
22168
  filterList: filterList,
22169
+ brandId: this._pageType === exports.IkasThemePageType.BRAND &&
22170
+ this._type !== exports.IkasProductListType.SEARCH
22171
+ ? this._filterBrandId
22172
+ : undefined,
22166
22173
  categoryIdList: this._filterCategoryId
22167
22174
  ? [this._filterCategoryId]
22168
22175
  : undefined,
22169
22176
  priceListId: IkasStorefrontConfig.priceListId,
22177
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
22170
22178
  query: this._searchKeyword,
22171
22179
  })];
22172
22180
  case 1: return [2 /*return*/, _c.sent()];
@@ -28881,6 +28889,7 @@ var getStaticPaths = function (context) { return __awaiter(void 0, void 0, void
28881
28889
  return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
28882
28890
  productIdList: productMetaData.map(function (p) { return p.targetId; }),
28883
28891
  priceListId: IkasStorefrontConfig.priceListId,
28892
+ salesChannelId: IkasStorefrontConfig.salesChannelId,
28884
28893
  })];
28885
28894
  case 2:
28886
28895
  productsResponse = _b.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",