@caido/sdk-frontend 0.51.1-beta.1 → 0.51.1-beta.2

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.51.1-beta.1",
3
+ "version": "0.51.1-beta.2",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -1,3 +1,4 @@
1
+ import type { RequestViewModeOptions } from "../types/request";
1
2
  import type { HTTPQL, ID } from "../types/utils";
2
3
  /**
3
4
  * Utilities to interact with the Search page.
@@ -24,4 +25,9 @@ export type SearchSDK = {
24
25
  * @param id The ID of the scope to set.
25
26
  */
26
27
  setScope: (id: ID | undefined) => Promise<void>;
28
+ /**
29
+ * Add a custom request view mode.
30
+ * @param options The view mode options.
31
+ */
32
+ addRequestViewMode: (options: RequestViewModeOptions) => void;
27
33
  };