@dotcms/client 0.0.1-beta.1 → 0.0.1-beta.3

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.
package/index.cjs.js CHANGED
@@ -1537,7 +1537,7 @@ function updateNavigation(pathname) {
1537
1537
  postMessageToEditor({
1538
1538
  action: exports.CLIENT_ACTIONS.NAVIGATION_UPDATE,
1539
1539
  payload: {
1540
- url: pathname === '/' ? 'index' : pathname?.replace('/', '')
1540
+ url: pathname || '/'
1541
1541
  }
1542
1542
  });
1543
1543
  }
package/index.esm.js CHANGED
@@ -1535,7 +1535,7 @@ function updateNavigation(pathname) {
1535
1535
  postMessageToEditor({
1536
1536
  action: CLIENT_ACTIONS.NAVIGATION_UPDATE,
1537
1537
  payload: {
1538
- url: pathname === '/' ? 'index' : pathname?.replace('/', '')
1538
+ url: pathname || '/'
1539
1539
  }
1540
1540
  });
1541
1541
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/client",
3
- "version": "0.0.1-beta.1",
3
+ "version": "0.0.1-beta.3",
4
4
  "description": "Official JavaScript library for interacting with DotCMS REST APIs.",
5
5
  "repository": {
6
6
  "type": "git",