algolia-experiences 1.5.5 → 1.5.6

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.
@@ -5833,7 +5833,7 @@
5833
5833
 
5834
5834
  var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
5835
5835
 
5836
- var version = '3.23.1';
5836
+ var version = '3.24.0';
5837
5837
 
5838
5838
  var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
5839
5839
 
@@ -7676,6 +7676,11 @@
7676
7676
  if (this._currentNbQueries === 0) this.emit('searchQueueEmpty');
7677
7677
 
7678
7678
  var results = content.results.slice();
7679
+ var rawContent = Object.create(content);
7680
+ delete rawContent.results;
7681
+ if (Object.keys(rawContent).length <= 0) {
7682
+ rawContent = undefined;
7683
+ }
7679
7684
 
7680
7685
  states.forEach(function (s) {
7681
7686
  var state = s.state;
@@ -7696,10 +7701,12 @@
7696
7701
  specificResults,
7697
7702
  self._searchResultsOptions
7698
7703
  );
7704
+ helper.lastResults._rawContent = rawContent;
7699
7705
 
7700
7706
  helper.emit('result', {
7701
7707
  results: helper.lastResults,
7702
7708
  state: state,
7709
+ _rawContent: rawContent,
7703
7710
  });
7704
7711
  });
7705
7712
  };
@@ -13026,7 +13033,7 @@
13026
13033
  };
13027
13034
  }
13028
13035
 
13029
- var version$1 = '4.77.1';
13036
+ var version$1 = '4.77.2';
13030
13037
 
13031
13038
  function _typeof$j(o) {
13032
13039
  "@babel/helpers - typeof";