algoliasearch-helper 3.22.3 → 3.22.5

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.
@@ -4165,7 +4165,10 @@ AlgoliaSearchHelper.prototype.searchForFacetValues = function (
4165
4165
  maxFacetHits,
4166
4166
  userState
4167
4167
  ) {
4168
- var clientHasSFFV = typeof this.client.searchForFacetValues === 'function';
4168
+ var clientHasSFFV =
4169
+ typeof this.client.searchForFacetValues === 'function' &&
4170
+ // v5 has a wrong sffv signature
4171
+ typeof this.client.searchForFacets !== 'function';
4169
4172
  var clientHasInitIndex = typeof this.client.initIndex === 'function';
4170
4173
  if (
4171
4174
  !clientHasSFFV &&
@@ -6723,7 +6726,7 @@ module.exports = sortAndMergeRecommendations;
6723
6726
  },{"../functions/find":14,"../functions/flat":16}],28:[function(require,module,exports){
6724
6727
  'use strict';
6725
6728
 
6726
- module.exports = '3.22.3';
6729
+ module.exports = '3.22.5';
6727
6730
 
6728
6731
  },{}]},{},[2])(2)
6729
6732
  });