@caido/sdk-frontend 0.48.2-beta.2 → 0.48.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.48.2-beta.2",
3
+ "version": "0.48.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",
@@ -1,3 +1,4 @@
1
+ import { type Extension } from "@codemirror/state";
1
2
  import { type ButtonSlotContent, type CommandSlotContent, type CustomSlotContent, type DefineAddToSlotFn } from "./slots";
2
3
  import type { ID } from "./utils";
3
4
  export declare const ReplaySlot: {
@@ -125,4 +126,9 @@ export type ReplaySDK = {
125
126
  addToSlot: DefineAddToSlotFn<{
126
127
  [ReplaySlot.SessionToolbar]: ButtonSlotContent | CustomSlotContent | CommandSlotContent;
127
128
  }>;
129
+ /**
130
+ * Add an extension to the request editor.
131
+ * @param extension The extension to add.
132
+ */
133
+ addRequestEditorExtension: (extension: Extension) => void;
128
134
  };