@caido/sdk-frontend 0.45.2-beta.2 → 0.45.2-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.45.2-beta.2",
3
+ "version": "0.45.2-beta.3",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -13,6 +13,7 @@ import type { MatchReplaceSDK } from "./matchReplace";
13
13
  import type { MenuSDK } from "./menu";
14
14
  import type { NavigationSDK } from "./navigation";
15
15
  import type { ReplaySDK } from "./replay";
16
+ import type { RuntimeSDK } from "./runtime";
16
17
  import type { ScopesSDK } from "./scopes";
17
18
  import type { SearchSDK } from "./search";
18
19
  import type { ShortcutsSDK } from "./shortcuts";
@@ -127,4 +128,8 @@ export type API<T extends BackendEndpoints = Record<string, never>, E extends Ba
127
128
  * Utilities to interact with the Intercept page.
128
129
  */
129
130
  intercept: InterceptSDK;
131
+ /**
132
+ * Utilities to interact with the runtime.
133
+ */
134
+ runtime: RuntimeSDK;
130
135
  };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Utilities to interact with the runtime.
3
+ * @category Runtime
4
+ */
5
+ export type RuntimeSDK = {
6
+ /**
7
+ * Get the current version of Caido.
8
+ */
9
+ get version(): string;
10
+ };