algolia-experiences 1.5.6 → 1.5.7
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.24.
|
|
5836
|
+
var version = '3.24.1';
|
|
5837
5837
|
|
|
5838
5838
|
var escapeFacetValue$3 = escapeFacetValue_1.escapeFacetValue;
|
|
5839
5839
|
|
|
@@ -7676,8 +7676,11 @@
|
|
|
7676
7676
|
if (this._currentNbQueries === 0) this.emit('searchQueueEmpty');
|
|
7677
7677
|
|
|
7678
7678
|
var results = content.results.slice();
|
|
7679
|
-
var rawContent = Object.
|
|
7680
|
-
|
|
7679
|
+
var rawContent = Object.keys(content).reduce(function (value, key) {
|
|
7680
|
+
if (key !== 'results') value[key] = content[key];
|
|
7681
|
+
return value;
|
|
7682
|
+
}, {});
|
|
7683
|
+
|
|
7681
7684
|
if (Object.keys(rawContent).length <= 0) {
|
|
7682
7685
|
rawContent = undefined;
|
|
7683
7686
|
}
|
|
@@ -7701,12 +7704,11 @@
|
|
|
7701
7704
|
specificResults,
|
|
7702
7705
|
self._searchResultsOptions
|
|
7703
7706
|
);
|
|
7704
|
-
helper.lastResults._rawContent = rawContent;
|
|
7707
|
+
if (rawContent !== undefined) helper.lastResults._rawContent = rawContent;
|
|
7705
7708
|
|
|
7706
7709
|
helper.emit('result', {
|
|
7707
7710
|
results: helper.lastResults,
|
|
7708
7711
|
state: state,
|
|
7709
|
-
_rawContent: rawContent,
|
|
7710
7712
|
});
|
|
7711
7713
|
});
|
|
7712
7714
|
};
|
|
@@ -13033,7 +13035,7 @@
|
|
|
13033
13035
|
};
|
|
13034
13036
|
}
|
|
13035
13037
|
|
|
13036
|
-
var version$1 = '4.77.
|
|
13038
|
+
var version$1 = '4.77.3';
|
|
13037
13039
|
|
|
13038
13040
|
function _typeof$j(o) {
|
|
13039
13041
|
"@babel/helpers - typeof";
|