react-instantsearch-core 6.22.0 → 6.23.0
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/dist/cjs/core/version.js +1 -1
- package/dist/es/core/version.js +1 -1
- package/dist/umd/ReactInstantSearchCore.js +9 -4
- package/dist/umd/ReactInstantSearchCore.js.map +1 -1
- package/dist/umd/ReactInstantSearchCore.min.js +2 -2
- package/dist/umd/ReactInstantSearchCore.min.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/core/version.js
CHANGED
package/dist/es/core/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '6.
|
|
1
|
+
export default '6.23.0';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! React InstantSearchCore 6.
|
|
1
|
+
/*! React InstantSearchCore 6.23.0 | © Algolia, inc. | https://github.com/algolia/react-instantsearch */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) :
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
});
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
-
var version = '6.
|
|
842
|
+
var version = '6.23.0';
|
|
843
843
|
|
|
844
844
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
845
845
|
|
|
@@ -3639,7 +3639,7 @@
|
|
|
3639
3639
|
}
|
|
3640
3640
|
**/
|
|
3641
3641
|
/*eslint-enable */
|
|
3642
|
-
function SearchResults(state, results) {
|
|
3642
|
+
function SearchResults(state, results, options) {
|
|
3643
3643
|
var mainSubResponse = results[0];
|
|
3644
3644
|
|
|
3645
3645
|
this._rawResults = results;
|
|
@@ -3651,6 +3651,11 @@
|
|
|
3651
3651
|
self[key] = mainSubResponse[key];
|
|
3652
3652
|
});
|
|
3653
3653
|
|
|
3654
|
+
// Make every key of the result options reachable from the instance
|
|
3655
|
+
Object.keys(options || {}).forEach(function(key) {
|
|
3656
|
+
self[key] = options[key];
|
|
3657
|
+
});
|
|
3658
|
+
|
|
3654
3659
|
/**
|
|
3655
3660
|
* query used to generate the results
|
|
3656
3661
|
* @name query
|
|
@@ -5098,7 +5103,7 @@
|
|
|
5098
5103
|
|
|
5099
5104
|
var requestBuilder_1 = requestBuilder;
|
|
5100
5105
|
|
|
5101
|
-
var version$1 = '3.7.
|
|
5106
|
+
var version$1 = '3.7.4';
|
|
5102
5107
|
|
|
5103
5108
|
/**
|
|
5104
5109
|
* Event triggered when a parameter is set or updated
|