instantsearch.js 4.49.3 → 4.49.4

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 = '4.49.3';
7
+ var _default = '4.49.4';
8
8
  exports.default = _default;
@@ -1,4 +1,4 @@
1
- /*! InstantSearch.js 4.49.3 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */
1
+ /*! InstantSearch.js 4.49.4 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -333,7 +333,8 @@
333
333
  for (var key in source) {
334
334
  if (
335
335
  !Object.prototype.hasOwnProperty.call(source, key) ||
336
- key === '__proto__'
336
+ key === '__proto__' ||
337
+ key === 'constructor'
337
338
  ) {
338
339
  continue;
339
340
  }
@@ -4238,7 +4239,7 @@
4238
4239
 
4239
4240
  var requestBuilder_1 = requestBuilder;
4240
4241
 
4241
- var version = '3.11.1';
4242
+ var version = '3.11.2';
4242
4243
 
4243
4244
  var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
4244
4245
 
@@ -4488,8 +4489,10 @@
4488
4489
  * @param {number} options.nbHits - Maximum number of answers to retrieve from the Answers Engine. Cannot be greater than 1000.
4489
4490
  *
4490
4491
  * @return {promise} the answer results
4492
+ * @deprecated answers is deprecated and will be replaced with new initiatives
4491
4493
  */
4492
4494
  AlgoliaSearchHelper.prototype.findAnswers = function(options) {
4495
+ console.warn('[algoliasearch-helper] answers is no longer supported');
4493
4496
  var state = this.state;
4494
4497
  var derivedHelper = this.derivedHelpers[0];
4495
4498
  if (!derivedHelper) {
@@ -7570,7 +7573,7 @@
7570
7573
  instantSearchInstance.renderState = _objectSpread2(_objectSpread2({}, instantSearchInstance.renderState), {}, _defineProperty({}, parentIndexName, _objectSpread2(_objectSpread2({}, instantSearchInstance.renderState[parentIndexName]), renderState)));
7571
7574
  }
7572
7575
 
7573
- var version$1 = '4.49.3';
7576
+ var version$1 = '4.49.4';
7574
7577
 
7575
7578
  var NAMESPACE = 'ais';
7576
7579
  var component = function component(componentName) {