algoliasearch-helper 3.13.0 → 3.13.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/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 3.13.1 - 2023-06-12
2
+ * docs(site): follow-up improvements (#939) https://github.com/algolia/algoliasearch-helper-js/commit/6a36194d425b2446c6406e74df75c87bf5028454
3
+ * docs: upgrade and simplify tools (#937) https://github.com/algolia/algoliasearch-helper-js/commit/19ccf0b5e6ea00272223f998b05bd3c8f2d904d6
4
+ * docs: upgrade and simplify tools (#937) https://github.com/algolia/algoliasearch-helper-js/commit/d352cc46d506448b9802e3daa756ff1e9e873886
5
+ * fix(SearchResults): use empty facets object for exclusion when results are artificial (#940) https://github.com/algolia/algoliasearch-helper-js/commit/a51e8cb37e10c41ca816be1630bab2078980947b
6
+
1
7
  3.13.0 - 2023-05-03
2
8
  * chore: delete renovate (#936) https://github.com/algolia/algoliasearch-helper-js/commit/0e3d8cff722d4a91a04251533636f0860ef3828c
3
9
  * feat(DerivedHelper): skip request for empty index (#938) https://github.com/algolia/algoliasearch-helper-js/commit/79caa4b0ca2537c0f4431ee11556464031935436
@@ -2664,7 +2664,10 @@ function SearchResults(state, results, options) {
2664
2664
 
2665
2665
  /**
2666
2666
  * sum of the processing time of all the queries
2667
+ * @name processingTimeMS
2667
2668
  * @member {number}
2669
+ * @memberof SearchResults
2670
+ * @instance
2668
2671
  */
2669
2672
  this.processingTimeMS = results.reduce(function(sum, result) {
2670
2673
  return result.processingTimeMS === undefined
@@ -2870,7 +2873,7 @@ function SearchResults(state, results, options) {
2870
2873
 
2871
2874
  self.facets[position] = {
2872
2875
  name: facetName,
2873
- data: mainSubResponse.facets[facetName],
2876
+ data: mainFacets[facetName],
2874
2877
  exhaustive: mainSubResponse.exhaustiveFacetsCount
2875
2878
  };
2876
2879
  excludes.forEach(function(facetValue) {
@@ -5632,7 +5635,7 @@ module.exports = function isValidUserToken(userToken) {
5632
5635
  },{}],24:[function(require,module,exports){
5633
5636
  'use strict';
5634
5637
 
5635
- module.exports = '3.13.0';
5638
+ module.exports = '3.13.1';
5636
5639
 
5637
5640
  },{}]},{},[1])(1)
5638
5641
  });