@caido/sdk-frontend 0.57.1-beta.13 → 0.57.1-beta.14
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
|
@@ -4,6 +4,7 @@ import type { RequestViewModeOptions, RequestWritableViewModeProps } from "../ty
|
|
|
4
4
|
import type { ResponseViewModeOptions, ResponseViewModeProps } from "../types/response";
|
|
5
5
|
import { type DefineAddToSlotFn } from "../types/slots";
|
|
6
6
|
import type { ID, Indicator, ListenerHandle } from "../types/utils";
|
|
7
|
+
import type { MessageViewModeOptions, MessageViewModeProps } from "../types/websocket";
|
|
7
8
|
/**
|
|
8
9
|
* Utilities to interact with Replay.
|
|
9
10
|
* @category Replay
|
|
@@ -165,6 +166,11 @@ export type ReplaySDK = {
|
|
|
165
166
|
* @param options The view mode options.
|
|
166
167
|
*/
|
|
167
168
|
addResponseViewMode: (options: ResponseViewModeOptions<ResponseViewModeProps>) => void;
|
|
169
|
+
/**
|
|
170
|
+
* Add a custom WebSocket message view mode.
|
|
171
|
+
* @param options The view mode options.
|
|
172
|
+
*/
|
|
173
|
+
addWebsocketMessageViewMode: (options: MessageViewModeOptions<MessageViewModeProps>) => void;
|
|
168
174
|
/**
|
|
169
175
|
* Send a request to the Replay backend.
|
|
170
176
|
* @param request The request to send.
|