instantsearch.js 4.77.2 → 4.77.3
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/cjs/lib/version.js +1 -1
- package/dist/instantsearch.development.js +9 -7
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/package.json +6 -6
package/cjs/lib/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! InstantSearch.js 4.77.
|
|
1
|
+
/*! InstantSearch.js 4.77.3 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
|
|
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) :
|
|
@@ -6583,7 +6583,7 @@
|
|
|
6583
6583
|
|
|
6584
6584
|
var sortAndMergeRecommendations_1 = sortAndMergeRecommendations;
|
|
6585
6585
|
|
|
6586
|
-
var version = '3.24.
|
|
6586
|
+
var version = '3.24.1';
|
|
6587
6587
|
|
|
6588
6588
|
var escapeFacetValue$4 = escapeFacetValue_1.escapeFacetValue;
|
|
6589
6589
|
|
|
@@ -8426,8 +8426,11 @@
|
|
|
8426
8426
|
if (this._currentNbQueries === 0) this.emit('searchQueueEmpty');
|
|
8427
8427
|
|
|
8428
8428
|
var results = content.results.slice();
|
|
8429
|
-
var rawContent = Object.
|
|
8430
|
-
|
|
8429
|
+
var rawContent = Object.keys(content).reduce(function (value, key) {
|
|
8430
|
+
if (key !== 'results') value[key] = content[key];
|
|
8431
|
+
return value;
|
|
8432
|
+
}, {});
|
|
8433
|
+
|
|
8431
8434
|
if (Object.keys(rawContent).length <= 0) {
|
|
8432
8435
|
rawContent = undefined;
|
|
8433
8436
|
}
|
|
@@ -8451,12 +8454,11 @@
|
|
|
8451
8454
|
specificResults,
|
|
8452
8455
|
self._searchResultsOptions
|
|
8453
8456
|
);
|
|
8454
|
-
helper.lastResults._rawContent = rawContent;
|
|
8457
|
+
if (rawContent !== undefined) helper.lastResults._rawContent = rawContent;
|
|
8455
8458
|
|
|
8456
8459
|
helper.emit('result', {
|
|
8457
8460
|
results: helper.lastResults,
|
|
8458
8461
|
state: state,
|
|
8459
|
-
_rawContent: rawContent,
|
|
8460
8462
|
});
|
|
8461
8463
|
});
|
|
8462
8464
|
};
|
|
@@ -16415,7 +16417,7 @@
|
|
|
16415
16417
|
};
|
|
16416
16418
|
}
|
|
16417
16419
|
|
|
16418
|
-
var version$1 = '4.77.
|
|
16420
|
+
var version$1 = '4.77.3';
|
|
16419
16421
|
|
|
16420
16422
|
var withUsage$v = createDocumentationMessageGenerator({
|
|
16421
16423
|
name: 'instantsearch'
|