react-instantsearch-core 6.20.0 → 6.21.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/createConnector.js +1 -1
- package/dist/cjs/core/version.js +1 -1
- package/dist/cjs/widgets/Index.js +1 -1
- package/dist/cjs/widgets/InstantSearch.js +3 -2
- package/dist/es/core/createConnector.js +1 -1
- package/dist/es/core/version.js +1 -1
- package/dist/es/widgets/Index.js +1 -1
- package/dist/es/widgets/InstantSearch.js +3 -2
- package/dist/umd/ReactInstantSearchCore.js +7 -6
- 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 +1 -1
|
@@ -118,7 +118,7 @@ function createConnectorWithoutContext(connectorDesc) {
|
|
|
118
118
|
_this.props.contextValue.onSearchParameters(connectorDesc.getSearchParameters.bind((0, _assertThisInitialized2.default)(_this)), {
|
|
119
119
|
ais: _this.props.contextValue,
|
|
120
120
|
multiIndexContext: _this.props.indexContextValue
|
|
121
|
-
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind((0, _assertThisInitialized2.default)(_this)));
|
|
121
|
+
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind((0, _assertThisInitialized2.default)(_this)), connectorDesc.displayName);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
return _this;
|
package/dist/cjs/core/version.js
CHANGED
|
@@ -93,7 +93,7 @@ var Index = /*#__PURE__*/function (_Component) {
|
|
|
93
93
|
_this.props.contextValue.onSearchParameters(_this.getSearchParameters.bind((0, _assertThisInitialized2.default)(_this)), {
|
|
94
94
|
ais: _this.props.contextValue,
|
|
95
95
|
multiIndexContext: _this.state.indexContext
|
|
96
|
-
}, _this.props, undefined);
|
|
96
|
+
}, _this.props, undefined, Index.displayName);
|
|
97
97
|
|
|
98
98
|
return _this;
|
|
99
99
|
}
|
|
@@ -189,7 +189,7 @@ var InstantSearch = /*#__PURE__*/function (_Component) {
|
|
|
189
189
|
}
|
|
190
190
|
}, {
|
|
191
191
|
key: "onSearchParameters",
|
|
192
|
-
value: function onSearchParameters(getSearchParameters, context, props, getMetadata) {
|
|
192
|
+
value: function onSearchParameters(getSearchParameters, context, props, getMetadata, displayName) {
|
|
193
193
|
if (this.props.onSearchParameters) {
|
|
194
194
|
var _searchState = this.props.searchState ? this.props.searchState : {};
|
|
195
195
|
|
|
@@ -204,7 +204,8 @@ var InstantSearch = /*#__PURE__*/function (_Component) {
|
|
|
204
204
|
getMetadata: getMetadata,
|
|
205
205
|
context: context,
|
|
206
206
|
props: props,
|
|
207
|
-
searchState: _searchState2
|
|
207
|
+
searchState: _searchState2,
|
|
208
|
+
displayName: displayName
|
|
208
209
|
});
|
|
209
210
|
}
|
|
210
211
|
}
|
|
@@ -98,7 +98,7 @@ export function createConnectorWithoutContext(connectorDesc) {
|
|
|
98
98
|
_this.props.contextValue.onSearchParameters(connectorDesc.getSearchParameters.bind(_assertThisInitialized(_this)), {
|
|
99
99
|
ais: _this.props.contextValue,
|
|
100
100
|
multiIndexContext: _this.props.indexContextValue
|
|
101
|
-
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind(_assertThisInitialized(_this)));
|
|
101
|
+
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind(_assertThisInitialized(_this)), connectorDesc.displayName);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
return _this;
|
package/dist/es/core/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '6.
|
|
1
|
+
export default '6.21.0';
|
package/dist/es/widgets/Index.js
CHANGED
|
@@ -72,7 +72,7 @@ var Index = /*#__PURE__*/function (_Component) {
|
|
|
72
72
|
_this.props.contextValue.onSearchParameters(_this.getSearchParameters.bind(_assertThisInitialized(_this)), {
|
|
73
73
|
ais: _this.props.contextValue,
|
|
74
74
|
multiIndexContext: _this.state.indexContext
|
|
75
|
-
}, _this.props, undefined);
|
|
75
|
+
}, _this.props, undefined, Index.displayName);
|
|
76
76
|
|
|
77
77
|
return _this;
|
|
78
78
|
}
|
|
@@ -166,7 +166,7 @@ var InstantSearch = /*#__PURE__*/function (_Component) {
|
|
|
166
166
|
}
|
|
167
167
|
}, {
|
|
168
168
|
key: "onSearchParameters",
|
|
169
|
-
value: function onSearchParameters(getSearchParameters, context, props, getMetadata) {
|
|
169
|
+
value: function onSearchParameters(getSearchParameters, context, props, getMetadata, displayName) {
|
|
170
170
|
if (this.props.onSearchParameters) {
|
|
171
171
|
var _searchState = this.props.searchState ? this.props.searchState : {};
|
|
172
172
|
|
|
@@ -181,7 +181,8 @@ var InstantSearch = /*#__PURE__*/function (_Component) {
|
|
|
181
181
|
getMetadata: getMetadata,
|
|
182
182
|
context: context,
|
|
183
183
|
props: props,
|
|
184
|
-
searchState: _searchState2
|
|
184
|
+
searchState: _searchState2,
|
|
185
|
+
displayName: displayName
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
188
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! React InstantSearchCore 6.
|
|
1
|
+
/*! React InstantSearchCore 6.21.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) :
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
_this.props.contextValue.onSearchParameters(connectorDesc.getSearchParameters.bind(_assertThisInitialized(_this)), {
|
|
552
552
|
ais: _this.props.contextValue,
|
|
553
553
|
multiIndexContext: _this.props.indexContextValue
|
|
554
|
-
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind(_assertThisInitialized(_this)));
|
|
554
|
+
}, _this.props, connectorDesc.getMetadata && connectorDesc.getMetadata.bind(_assertThisInitialized(_this)), connectorDesc.displayName);
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
return _this;
|
|
@@ -839,7 +839,7 @@
|
|
|
839
839
|
});
|
|
840
840
|
}
|
|
841
841
|
|
|
842
|
-
var version = '6.
|
|
842
|
+
var version = '6.21.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
|
|
|
@@ -7224,7 +7224,7 @@
|
|
|
7224
7224
|
_this.props.contextValue.onSearchParameters(_this.getSearchParameters.bind(_assertThisInitialized(_this)), {
|
|
7225
7225
|
ais: _this.props.contextValue,
|
|
7226
7226
|
multiIndexContext: _this.state.indexContext
|
|
7227
|
-
}, _this.props, undefined);
|
|
7227
|
+
}, _this.props, undefined, Index.displayName);
|
|
7228
7228
|
|
|
7229
7229
|
return _this;
|
|
7230
7230
|
}
|
|
@@ -8100,7 +8100,7 @@
|
|
|
8100
8100
|
}
|
|
8101
8101
|
}, {
|
|
8102
8102
|
key: "onSearchParameters",
|
|
8103
|
-
value: function onSearchParameters(getSearchParameters, context, props, getMetadata) {
|
|
8103
|
+
value: function onSearchParameters(getSearchParameters, context, props, getMetadata, displayName) {
|
|
8104
8104
|
if (this.props.onSearchParameters) {
|
|
8105
8105
|
var _searchState = this.props.searchState ? this.props.searchState : {};
|
|
8106
8106
|
|
|
@@ -8115,7 +8115,8 @@
|
|
|
8115
8115
|
getMetadata: getMetadata,
|
|
8116
8116
|
context: context,
|
|
8117
8117
|
props: props,
|
|
8118
|
-
searchState: _searchState2
|
|
8118
|
+
searchState: _searchState2,
|
|
8119
|
+
displayName: displayName
|
|
8119
8120
|
});
|
|
8120
8121
|
}
|
|
8121
8122
|
}
|