react-instantsearch-hooks
Advanced tools
Comparing version 6.43.0 to 6.44.0
@@ -19,2 +19,3 @@ "use strict"; | ||
// eslint-disable-next-line @typescript-eslint/unbound-method | ||
var has = Object.prototype.hasOwnProperty; | ||
@@ -21,0 +22,0 @@ function dequal(foo, bar, compare) { |
@@ -78,3 +78,3 @@ "use strict"; | ||
if (prevProps.indexName !== props.indexName) { | ||
_search.helper.setIndex(props.indexName).search(); | ||
_search.helper.setIndex(props.indexName || '').search(); | ||
prevPropsRef.current = props; | ||
@@ -81,0 +81,0 @@ } |
@@ -8,6 +8,6 @@ /// <reference types="react" /> | ||
*/ | ||
notifyServer(params: { | ||
notifyServer: (params: { | ||
search: InstantSearch<TUiState, TRouteState>; | ||
}): void; | ||
}) => void; | ||
}; | ||
export declare const InstantSearchServerContext: import("react").Context<InstantSearchServerContextApi<UiState, UiState> | null>; |
@@ -13,2 +13,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
// eslint-disable-next-line @typescript-eslint/unbound-method | ||
var has = Object.prototype.hasOwnProperty; | ||
@@ -15,0 +16,0 @@ export function dequal(foo, bar, compare) { |
@@ -71,3 +71,3 @@ import InstantSearch from "instantsearch.js/es/lib/InstantSearch.js"; | ||
if (prevProps.indexName !== props.indexName) { | ||
_search.helper.setIndex(props.indexName).search(); | ||
_search.helper.setIndex(props.indexName || '').search(); | ||
prevPropsRef.current = props; | ||
@@ -74,0 +74,0 @@ } |
{ | ||
"name": "react-instantsearch-hooks", | ||
"version": "6.43.0", | ||
"version": "6.44.0", | ||
"description": "⚡ Lightning-fast search for React, by Algolia", | ||
@@ -51,4 +51,4 @@ "source": "src/index.ts", | ||
"@babel/runtime": "^7.1.2", | ||
"algoliasearch-helper": "^3.11.3", | ||
"instantsearch.js": "4.55.0", | ||
"algoliasearch-helper": "^3.13.0", | ||
"instantsearch.js": "4.56.0", | ||
"use-sync-external-store": "^1.0.0" | ||
@@ -63,3 +63,3 @@ }, | ||
}, | ||
"gitHead": "c483ae31e1e615be61dffb5d0bc04a4927960a67" | ||
"gitHead": "ea054eab1484a3d167db83bc768f6ea134add5f9" | ||
} |
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
3153324
19176
+ Addedinstantsearch.js@4.56.0(transitive)
- Removedinstantsearch.js@4.55.0(transitive)
Updatedalgoliasearch-helper@^3.13.0
Updatedinstantsearch.js@4.56.0