@caido/sdk-frontend 0.50.1-beta.1 → 0.50.2-beta.0

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.50.1-beta.1",
3
+ "version": "0.50.2-beta.0",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -117,4 +117,18 @@ export type SendRequestOptions = {
117
117
  * Defaults to true.
118
118
  */
119
119
  updateContentLength?: boolean;
120
+ /**
121
+ * Whether to overwrite the editor's draft content.
122
+ * If true, draft content will be overwritten with the new request.
123
+ * If false, the draft will be kept.
124
+ * Defaults to true.
125
+ */
126
+ overwriteDraft?: boolean;
127
+ /**
128
+ * Whether to send the request in the background without updating the UI.
129
+ * If true, the request will not update the UI.
130
+ * If false, the UI will be updated to display the session and the new request.
131
+ * Defaults to false.
132
+ */
133
+ background?: boolean;
120
134
  };