instantsearch.js 4.50.1 → 4.50.2

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.
@@ -2055,6 +2055,7 @@ declare type IndexWidget = Omit<Widget<IndexWidgetDescription & {
2055
2055
  getIndexId(): string;
2056
2056
  getHelper(): AlgoliaSearchHelper | null;
2057
2057
  getResults(): SearchResults | null;
2058
+ getPreviousState(): SearchParameters | null;
2058
2059
  getScopedResults(): ScopedResult[];
2059
2060
  getParent(): IndexWidget | null;
2060
2061
  getWidgets(): Array<Widget | IndexWidget>;
@@ -2055,6 +2055,7 @@ declare type IndexWidget = Omit<Widget<IndexWidgetDescription & {
2055
2055
  getIndexId(): string;
2056
2056
  getHelper(): AlgoliaSearchHelper | null;
2057
2057
  getResults(): SearchResults | null;
2058
+ getPreviousState(): SearchParameters | null;
2058
2059
  getScopedResults(): ScopedResult[];
2059
2060
  getParent(): IndexWidget | null;
2060
2061
  getWidgets(): Array<Widget | IndexWidget>;