react-instantsearch-core
Advanced tools
Comparing version 6.13.0 to 6.14.0
@@ -281,2 +281,3 @@ "use strict"; | ||
(0, _defineProperty2.default)(Connector, "defaultProps", connectorDesc.defaultProps); | ||
(0, _defineProperty2.default)(Connector, "_connectorDesc", connectorDesc); | ||
return Connector; | ||
@@ -283,0 +284,0 @@ }; |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = void 0; | ||
var _default = '6.13.0'; | ||
var _default = '6.14.0'; | ||
exports.default = _default; |
@@ -154,2 +154,3 @@ "use strict"; | ||
}); | ||
(0, _defineProperty2.default)(Index, "displayName", 'AlgoliaIndex'); | ||
@@ -156,0 +157,0 @@ var IndexWrapper = function IndexWrapper(props) { |
@@ -36,2 +36,4 @@ "use strict"; | ||
var _metadata = require("../core/metadata"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
@@ -154,2 +156,9 @@ | ||
}, { | ||
key: "componentDidMount", | ||
value: function componentDidMount() { | ||
if ((0, _metadata.isMetadataEnabled)()) { | ||
(0, _metadata.injectMetadata)(this.state.instantSearchManager.widgetsManager.getWidgets(), this.props.searchClient); | ||
} | ||
} | ||
}, { | ||
key: "componentWillUnmount", | ||
@@ -156,0 +165,0 @@ value: function componentWillUnmount() { |
@@ -266,2 +266,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
_defineProperty(Connector, "_connectorDesc", connectorDesc); | ||
return Connector; | ||
@@ -268,0 +270,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
export default '6.13.0'; | ||
export default '6.14.0'; |
@@ -135,2 +135,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
_defineProperty(Index, "displayName", 'AlgoliaIndex'); | ||
var IndexWrapper = function IndexWrapper(props) { | ||
@@ -137,0 +139,0 @@ var inferredIndexId = props.indexName; |
@@ -22,2 +22,3 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
import { InstantSearchProvider } from '../core/context'; | ||
import { isMetadataEnabled, injectMetadata } from '../core/metadata'; | ||
@@ -132,2 +133,9 @@ function isControlled(props) { | ||
}, { | ||
key: "componentDidMount", | ||
value: function componentDidMount() { | ||
if (isMetadataEnabled()) { | ||
injectMetadata(this.state.instantSearchManager.widgetsManager.getWidgets(), this.props.searchClient); | ||
} | ||
} | ||
}, { | ||
key: "componentWillUnmount", | ||
@@ -134,0 +142,0 @@ value: function componentWillUnmount() { |
{ | ||
"name": "react-instantsearch-core", | ||
"version": "6.13.0", | ||
"version": "6.14.0", | ||
"description": "⚡ Lightning-fast search for React, by Algolia", | ||
@@ -40,3 +40,3 @@ "main": "dist/cjs/index.js", | ||
"@babel/runtime": "^7.1.2", | ||
"algoliasearch-helper": "^3.5.3", | ||
"algoliasearch-helper": "^3.6.2", | ||
"prop-types": "^15.6.2", | ||
@@ -43,0 +43,0 @@ "react-fast-compare": "^3.0.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2272471
104
21038
Updatedalgoliasearch-helper@^3.6.2