Skip to content

Commit

Permalink
0.45.2-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
caidobot committed Feb 19, 2025
1 parent fc14e5b commit fe5d616
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@caido/sdk-frontend",
"version": "0.45.2-beta.2",
"version": "0.45.2-beta.3",
"description": "Typing for the Caido Frontend SDK",
"author": "Caido Labs Inc. <[email protected]>",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions packages/sdk-frontend/src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type { MatchReplaceSDK } from "./matchReplace";
import type { MenuSDK } from "./menu";
import type { NavigationSDK } from "./navigation";
import type { ReplaySDK } from "./replay";
import type { RuntimeSDK } from "./runtime";
import type { ScopesSDK } from "./scopes";
import type { SearchSDK } from "./search";
import type { ShortcutsSDK } from "./shortcuts";
Expand Down Expand Up @@ -127,4 +128,8 @@ export type API<T extends BackendEndpoints = Record<string, never>, E extends Ba
* Utilities to interact with the Intercept page.
*/
intercept: InterceptSDK;
/**
* Utilities to interact with the runtime.
*/
runtime: RuntimeSDK;
};
10 changes: 10 additions & 0 deletions packages/sdk-frontend/src/types/runtime.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* Utilities to interact with the runtime.
* @category Runtime
*/
export type RuntimeSDK = {
/**
* Get the current version of Caido.
*/
get version(): string;
};

0 comments on commit fe5d616

Please sign in to comment.