react-instantsearch 7.13.0 → 7.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/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  React InstantSearch is an open-source React library that lets you create an instant search result experience using [Algolia][algolia-website]’s search API. It is part of the InstantSearch family:
24
24
 
25
- **React InstantSearch** | [InstantSearch.js][instantsearch-github] | [Angular InstantSearch][instantsearch-angular-github] | [Vue InstantSearch][instantsearch-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
25
+ **React InstantSearch** | [InstantSearch.js][instantsearch-github] | [Vue InstantSearch][instantsearch-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
26
26
 
27
27
  ## Why
28
28
 
@@ -116,7 +116,6 @@ React InstantSearch is [MIT licensed](../../LICENSE).
116
116
  [instantsearch-github]: https://github.com/algolia/instantsearch
117
117
  [instantsearch-android-github]: https://github.com/algolia/instantsearch-android
118
118
  [instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
119
- [instantsearch-angular-github]: https://github.com/algolia/angular-instantsearch
120
119
  [contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage,Library%3A%20React+InstantSearch
121
120
  [contributing-featurerequest]: https://github.com/algolia/instantsearch/discussions/new?category=ideas&labels=triage,Library%3A%20React+InstantSearch&title=Feature%20request%3A%20
122
121
  [contributing-newissue]: https://github.com/algolia/instantsearch/issues/new?labels=triage,Library%3A%20React+InstantSearch
@@ -7,7 +7,7 @@
7
7
 
8
8
  var React__default = 'default' in React ? React['default'] : React;
9
9
 
10
- var version = '7.13.0';
10
+ var version = '7.13.1';
11
11
 
12
12
  // Copyright Joyent, Inc. and other Node contributors.
13
13
  //
@@ -4531,7 +4531,7 @@
4531
4531
 
4532
4532
  var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
4533
4533
 
4534
- var version$1 = '3.22.4';
4534
+ var version$1 = '3.22.5';
4535
4535
 
4536
4536
  var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
4537
4537
 
@@ -4901,7 +4901,10 @@
4901
4901
  maxFacetHits,
4902
4902
  userState
4903
4903
  ) {
4904
- var clientHasSFFV = typeof this.client.searchForFacetValues === 'function';
4904
+ var clientHasSFFV =
4905
+ typeof this.client.searchForFacetValues === 'function' &&
4906
+ // v5 has a wrong sffv signature
4907
+ typeof this.client.searchForFacets !== 'function';
4905
4908
  var clientHasInitIndex = typeof this.client.initIndex === 'function';
4906
4909
  if (
4907
4910
  !clientHasSFFV &&
@@ -8355,7 +8358,7 @@
8355
8358
  // search on it first.
8356
8359
  if ('transporter' in client && !client._cacheHydrated) {
8357
8360
  client._cacheHydrated = true;
8358
- var baseMethod = client.search;
8361
+ var baseMethod = client.search.bind(client);
8359
8362
  // @ts-ignore wanting type checks for v3 on this would make this too complex
8360
8363
  client.search = function (requests) {
8361
8364
  for (var _len = arguments.length, methodArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
@@ -10908,7 +10911,7 @@
10908
10911
  _ref2$value = _ref2.value,
10909
10912
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10910
10913
 
10911
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10914
+ // cx is not used, since it would be bundled as a dependency for Vue
10912
10915
  var className = suit({
10913
10916
  descendantName: 'highlighted'
10914
10917
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10932,7 +10935,7 @@
10932
10935
  _ref2$value = _ref2.value,
10933
10936
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10934
10937
 
10935
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10938
+ // cx is not used, since it would be bundled as a dependency for Vue
10936
10939
  var className = suit$1({
10937
10940
  descendantName: 'highlighted'
10938
10941
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10957,7 +10960,7 @@
10957
10960
  _ref2$value = _ref2.value,
10958
10961
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10959
10962
 
10960
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10963
+ // cx is not used, since it would be bundled as a dependency for Vue
10961
10964
  var className = suit$2({
10962
10965
  descendantName: 'highlighted'
10963
10966
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10981,7 +10984,7 @@
10981
10984
  _ref2$value = _ref2.value,
10982
10985
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10983
10986
 
10984
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10987
+ // cx is not used, since it would be bundled as a dependency for Vue
10985
10988
  var className = suit$3({
10986
10989
  descendantName: 'highlighted'
10987
10990
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -13089,7 +13092,7 @@
13089
13092
  };
13090
13093
  }
13091
13094
 
13092
- var version$3 = '4.74.0';
13095
+ var version$3 = '4.74.1';
13093
13096
 
13094
13097
  function _typeof$q(obj) {
13095
13098
  "@babel/helpers - typeof";