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.
- package/dist/algoliasearch.helper.js +5 -2
- package/dist/algoliasearch.helper.js.map +3 -3
- package/dist/algoliasearch.helper.min.js +1 -1
- package/dist/algoliasearch.helper.min.js.map +1 -1
- package/index.d.ts +14 -34
- package/package.json +3 -4
- package/src/algoliasearch.helper.js +4 -1
- package/src/version.js +1 -1
- package/types/algoliasearch.d.ts +169 -15
|
@@ -4165,7 +4165,10 @@ AlgoliaSearchHelper.prototype.searchForFacetValues = function (
|
|
|
4165
4165
|
maxFacetHits,
|
|
4166
4166
|
userState
|
|
4167
4167
|
) {
|
|
4168
|
-
var clientHasSFFV =
|
|
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.
|
|
6729
|
+
module.exports = '3.22.5';
|
|
6727
6730
|
|
|
6728
6731
|
},{}]},{},[2])(2)
|
|
6729
6732
|
});
|