@axa-fr/react-oidc 5.13.8 → 5.13.11

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/README.md +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -535,8 +535,9 @@ export default function Layout({ children }) {
535
535
  replaceState: (url) => {
536
536
  router.replace({
537
537
  pathname: url,
538
+ }).then(() => {
539
+ window.dispatchEvent(new Event('popstate'));
538
540
  });
539
- window.dispatchEvent(new Event('popstate'));
540
541
  }
541
542
  };
542
543
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axa-fr/react-oidc",
3
- "version": "5.13.8",
3
+ "version": "5.13.11",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "jsnext:main": "dist/index.js",