react-instantsearch-core 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.
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = '7.13.0';
7
+ var _default = '7.13.1';
8
8
  exports.default = _default;
@@ -1,2 +1,2 @@
1
- declare const _default: "7.13.0";
1
+ declare const _default: "7.13.1";
2
2
  export default _default;
@@ -1 +1 @@
1
- export default '7.13.0';
1
+ export default '7.13.1';
@@ -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
  function _iterableToArrayLimit(arr, i) {
13
13
  var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
@@ -4666,7 +4666,7 @@
4666
4666
 
4667
4667
  var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
4668
4668
 
4669
- var version$1 = '3.22.4';
4669
+ var version$1 = '3.22.5';
4670
4670
 
4671
4671
  var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
4672
4672
 
@@ -5036,7 +5036,10 @@
5036
5036
  maxFacetHits,
5037
5037
  userState
5038
5038
  ) {
5039
- var clientHasSFFV = typeof this.client.searchForFacetValues === 'function';
5039
+ var clientHasSFFV =
5040
+ typeof this.client.searchForFacetValues === 'function' &&
5041
+ // v5 has a wrong sffv signature
5042
+ typeof this.client.searchForFacets !== 'function';
5040
5043
  var clientHasInitIndex = typeof this.client.initIndex === 'function';
5041
5044
  if (
5042
5045
  !clientHasSFFV &&
@@ -8278,7 +8281,7 @@
8278
8281
  // search on it first.
8279
8282
  if ('transporter' in client && !client._cacheHydrated) {
8280
8283
  client._cacheHydrated = true;
8281
- var baseMethod = client.search;
8284
+ var baseMethod = client.search.bind(client);
8282
8285
  // @ts-ignore wanting type checks for v3 on this would make this too complex
8283
8286
  client.search = function (requests) {
8284
8287
  for (var _len = arguments.length, methodArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
@@ -10352,7 +10355,7 @@
10352
10355
  _ref2$value = _ref2.value,
10353
10356
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10354
10357
 
10355
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10358
+ // cx is not used, since it would be bundled as a dependency for Vue
10356
10359
  var className = suit({
10357
10360
  descendantName: 'highlighted'
10358
10361
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10376,7 +10379,7 @@
10376
10379
  _ref2$value = _ref2.value,
10377
10380
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10378
10381
 
10379
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10382
+ // cx is not used, since it would be bundled as a dependency for Vue
10380
10383
  var className = suit$1({
10381
10384
  descendantName: 'highlighted'
10382
10385
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10401,7 +10404,7 @@
10401
10404
  _ref2$value = _ref2.value,
10402
10405
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10403
10406
 
10404
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10407
+ // cx is not used, since it would be bundled as a dependency for Vue
10405
10408
  var className = suit$2({
10406
10409
  descendantName: 'highlighted'
10407
10410
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -10425,7 +10428,7 @@
10425
10428
  _ref2$value = _ref2.value,
10426
10429
  attributeValue = _ref2$value === void 0 ? '' : _ref2$value;
10427
10430
 
10428
- // cx is not used, since it would be bundled as a dependency for Vue & Angular
10431
+ // cx is not used, since it would be bundled as a dependency for Vue
10429
10432
  var className = suit$3({
10430
10433
  descendantName: 'highlighted'
10431
10434
  }) + (cssClasses.highlighted ? " ".concat(cssClasses.highlighted) : '');
@@ -12533,7 +12536,7 @@
12533
12536
  };
12534
12537
  }
12535
12538
 
12536
- var version$2 = '4.74.0';
12539
+ var version$2 = '4.74.1';
12537
12540
 
12538
12541
  function _typeof$l(obj) {
12539
12542
  "@babel/helpers - typeof";