@dotcms/client 0.0.1-alpha.26 → 0.0.1-alpha.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/client",
3
- "version": "0.0.1-alpha.26",
3
+ "version": "0.0.1-alpha.28",
4
4
  "type": "module",
5
5
  "description": "Official JavaScript library for interacting with DotCMS REST APIs.",
6
6
  "repository": {
@@ -9,4 +9,10 @@ export interface DotCMSPageEditorConfig {
9
9
  * The pathname of the page being edited. Optional.
10
10
  */
11
11
  pathname: string;
12
+ /**
13
+ * The reload function to call when the page is reloaded.
14
+ *
15
+ * @deprecated In future implementation we will be listening for the changes from the editor to update the page state so reload will not be needed.
16
+ */
17
+ onReload?: () => void;
12
18
  }