@coveo/headless 3.51.1 → 3.51.2

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.
@@ -478,7 +478,7 @@ var import_bueno8 = require("@coveo/bueno");
478
478
  var import_toolkit3 = require("@reduxjs/toolkit");
479
479
 
480
480
  // src/utils/version.ts
481
- var VERSION = "3.51.1";
481
+ var VERSION = "3.51.2";
482
482
  var COVEO_FRAMEWORK = ["@coveo/atomic", "@coveo/quantic"];
483
483
 
484
484
  // src/features/configuration/configuration-actions.ts
@@ -9644,7 +9644,7 @@ var getCommerceQueryInitialState = () => ({
9644
9644
  // src/features/commerce/search/search-selectors.ts
9645
9645
  var responseIdSelector2 = (state) => state.commerceSearch.responseId;
9646
9646
  var requestIdSelector2 = (state) => state.commerceSearch.requestId;
9647
- var numberOfProductsSelector2 = (state) => state.commerceSearch?.products.length || 0;
9647
+ var numberOfProductsSelector2 = (state) => state.commerceSearch?.results.length || state.commerceSearch?.products.length || 0;
9648
9648
  var moreProductsAvailableSelector2 = (0, import_toolkit45.createSelector)(
9649
9649
  (state) => ({
9650
9650
  total: totalEntriesPrincipalSelector(state),