instantsearch.js 4.40.4 → 4.40.5

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.
@@ -463,10 +463,9 @@ declare class BrowserHistory<TRouteState> implements Router<TRouteState> {
463
463
  private writeTimer?;
464
464
  private _onPopState;
465
465
  /**
466
- * Indicates if history.pushState should be executed.
467
- * It needs to avoid pushing state to history in case of back/forward in browser
466
+ * Indicates if last action was back/forward in the browser.
468
467
  */
469
- private shouldPushState;
468
+ private inPopState;
470
469
  /**
471
470
  * Indicates whether the history router is disposed or not.
472
471
  */
@@ -508,6 +507,7 @@ declare class BrowserHistory<TRouteState> implements Router<TRouteState> {
508
507
  * Removes the event listener and cleans up the URL.
509
508
  */
510
509
  dispose(): void;
510
+ private shouldWrite;
511
511
  }
512
512
 
513
513
  declare type BrowserHistoryArgs<TRouteState> = {
@@ -463,10 +463,9 @@ declare class BrowserHistory<TRouteState> implements Router<TRouteState> {
463
463
  private writeTimer?;
464
464
  private _onPopState;
465
465
  /**
466
- * Indicates if history.pushState should be executed.
467
- * It needs to avoid pushing state to history in case of back/forward in browser
466
+ * Indicates if last action was back/forward in the browser.
468
467
  */
469
- private shouldPushState;
468
+ private inPopState;
470
469
  /**
471
470
  * Indicates whether the history router is disposed or not.
472
471
  */
@@ -508,6 +507,7 @@ declare class BrowserHistory<TRouteState> implements Router<TRouteState> {
508
507
  * Removes the event listener and cleans up the URL.
509
508
  */
510
509
  dispose(): void;
510
+ private shouldWrite;
511
511
  }
512
512
 
513
513
  declare type BrowserHistoryArgs<TRouteState> = {