algolia-experiences 1.5.8 → 1.5.9

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.
@@ -2014,7 +2014,16 @@
2014
2014
  var facets = state.facets
2015
2015
  .concat(
2016
2016
  state.disjunctiveFacets.map(function (value) {
2017
- return 'disjunctive(' + value + ')';
2017
+ if (
2018
+ state.disjunctiveFacetsRefinements &&
2019
+ state.disjunctiveFacetsRefinements[value] &&
2020
+ state.disjunctiveFacetsRefinements[value].length > 0
2021
+ ) {
2022
+ // only tag a disjunctiveFacet as disjunctive if it has a value selected
2023
+ // this helps avoid hitting the limit of 20 disjunctive facets in the Composition API
2024
+ return 'disjunctive(' + value + ')';
2025
+ }
2026
+ return value;
2018
2027
  })
2019
2028
  )
2020
2029
  .concat(requestBuilder._getHitsHierarchicalFacetsAttributes(state))
@@ -5833,7 +5842,7 @@
5833
5842
 
5834
5843
  var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
5835
5844
 
5836
- var version = '3.24.2';
5845
+ var version = '3.24.3';
5837
5846
 
5838
5847
  var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
5839
5848
 
@@ -13039,7 +13048,7 @@
13039
13048
  };
13040
13049
  }
13041
13050
 
13042
- var version$1 = '4.78.0';
13051
+ var version$1 = '4.78.1';
13043
13052
 
13044
13053
  function _typeof$j(o) {
13045
13054
  "@babel/helpers - typeof";