@infrab4a/connect 3.13.5 → 3.13.6-beta.1
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/bundles/infrab4a-connect.umd.js +6 -1
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/catalog/helpers/index.d.ts +1 -1
- package/esm2015/domain/catalog/helpers/index.js +2 -2
- package/esm2015/domain/catalog/helpers/round-product-price.helper.js +15 -0
- package/esm2015/infra/elasticsearch/indexes/products-index.js +8 -3
- package/fesm2015/infrab4a-connect.js +6 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/package.json +2 -2
- package/esm2015/domain/catalog/helpers/RoundProdutcPriceHelper.js +0 -15
- /package/domain/catalog/helpers/{RoundProdutcPriceHelper.d.ts → round-product-price.helper.d.ts} +0 -0
|
@@ -2543,7 +2543,12 @@
|
|
|
2543
2543
|
})];
|
|
2544
2544
|
case 1:
|
|
2545
2545
|
search = _a.sent();
|
|
2546
|
-
search.hits = search.hits
|
|
2546
|
+
search.hits = search.hits
|
|
2547
|
+
.filter(function (e) { return e._source.name !== ''; })
|
|
2548
|
+
.map(function (hit) {
|
|
2549
|
+
RoundProductPricesHelper.roundProductPrices(hit._source);
|
|
2550
|
+
return hit;
|
|
2551
|
+
});
|
|
2547
2552
|
return [2 /*return*/, search];
|
|
2548
2553
|
}
|
|
2549
2554
|
});
|