revojs 0.0.69 → 0.0.70

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -840,7 +840,7 @@ function provideRouterContext(scope, options) {
840
840
  navigator.dispatchEvent(new AfterNavigateEvent());
841
841
  }
842
842
  };
843
- if (isClient()) useEvent(scope, window, "popstate", () => navigator.dispatchEvent(new NavigateEvent()));
843
+ if (isClient()) useEvent(scope, window, "popstate", fetch$1);
844
844
  scope.setContext(ROUTE_CONTEXT, { inputs: createState() });
845
845
  scope.setContext(ROUTER_CONTEXT, {
846
846
  options,
@@ -850,7 +850,7 @@ function provideRouterContext(scope, options) {
850
850
  route
851
851
  });
852
852
  fetch$1();
853
- useEvent(scope, navigator, "navigate", async () => await startViewTransition(fetch$1));
853
+ useEvent(scope, navigator, "navigate", () => startViewTransition(fetch$1));
854
854
  return useRouter(scope);
855
855
  }
856
856
  function useRouter(scope, context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revojs",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",