@caido/sdk-frontend 0.43.2-beta.3 → 0.43.2-beta.4

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": "@caido/sdk-frontend",
3
- "version": "0.43.2-beta.3",
3
+ "version": "0.43.2-beta.4",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -19,9 +19,11 @@ export type NavigationSDK = {
19
19
  * @param options Options for the page.
20
20
  * @param options.body The body of the page.
21
21
  * @param options.topbar The topbar of the page.
22
+ * @param options.onEnter The callback to execute when the page is entered.
22
23
  */
23
24
  addPage: (path: string, options: {
24
25
  body: HTMLElement;
25
26
  topbar?: HTMLElement;
27
+ onEnter?: () => void;
26
28
  }) => void;
27
29
  };