Skip to content

Commit 5b7d63d

Browse files
committed
chrore: Add missing fields into Replay NetworkRequestData type
1 parent 937cbd0 commit 5b7d63d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/replay/src/types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,18 @@ export interface NetworkRequestData {
165165
statusCode?: number;
166166
requestBodySize?: number;
167167
responseBodySize?: number;
168+
request?: {
169+
_meta?: string[];
170+
body?: unknown;
171+
headers?: Record<string, string>;
172+
size?: number;
173+
};
174+
response?: {
175+
_meta?: string[];
176+
body?: unknown;
177+
headers?: Record<string, string>;
178+
size?: number;
179+
};
168180
}
169181

170182
export interface HistoryData {

0 commit comments

Comments
 (0)