@alwaysmeticulous/sdk-bundles-api
Advanced tools
Comparing version 2.12.0 to 2.13.0
export { RecordConfig, RecordSettings, RecordState } from "./record"; | ||
export { ReplayUserInteractionsResult, ReplayUserInteractionsResultFull, ReplayUserInteractionsResultShort, } from "./replay/bundle-to-sdk/index"; | ||
export { OnReplayTimelineEventFn, ReplayUserInteractionsFn, ReplayUserInteractionsOptions, VirtualTimeOptions, InstallVirtualEventLoopOpts, } from "./replay/sdk-to-bundle"; | ||
export { OnReplayTimelineEventFn, ReplayUserInteractionsFn, ReplayUserInteractionsOptions, VirtualTimeOptions, InstallVirtualEventLoopOpts, SetupReplayNetworkStubbingFn, NetworkStubbingOptions, StoryboardOptions, BrowserContextSeedingOptions, SetupBrowserContextSeedingFn, } from "./replay/sdk-to-bundle"; | ||
export { SessionData, WindowData, Cookie, UrlHistoryEvent, } from "./replay/sdk-to-bundle/session-data"; | ||
export { HarLog, HarEntry, HarRequest, HarResponse, } from "./replay/sdk-to-bundle/har-log"; | ||
export { ReplayTimelineData, ReplayTimelineEntry, ErrorTimelineEntry, UrlChangeTimelineEntry, PollyTimelineEntry, FailedFindEntryFnEvent, SuccessfulFindEntryFnEvent, JsReplayTimelineEntry, JsReplayReachedMaxDurationEvent, JsReplaySimulateEvent, } from "./replay/bundle-to-sdk/timeline.types"; |
@@ -25,2 +25,12 @@ import { ReplayableEvent } from "../bidirectional/replayable-event"; | ||
} | ||
/** | ||
* An error that cut the replay short. | ||
*/ | ||
export interface FatalErrorTimelineEntry extends GenericReplayTimelineEntry { | ||
kind: "fatalError"; | ||
data: { | ||
message: string | null; | ||
stack: string | null; | ||
}; | ||
} | ||
export interface UrlChangeTimelineEntry extends GenericReplayTimelineEntry { | ||
@@ -62,4 +72,4 @@ kind: "urlChange"; | ||
} | ||
export declare type ReplayTimelineEntry = ErrorTimelineEntry | UrlChangeTimelineEntry | PollyTimelineEntry | JsReplayTimelineEntry; | ||
export declare type ReplayTimelineEntry = ErrorTimelineEntry | FatalErrorTimelineEntry | UrlChangeTimelineEntry | PollyTimelineEntry | JsReplayTimelineEntry; | ||
export declare type ReplayTimelineData = ReplayTimelineEntry[]; | ||
export {}; |
@@ -5,2 +5,3 @@ import type { LogLevelDesc } from "loglevel"; | ||
import { ReplayTimelineEntry } from "../bundle-to-sdk/timeline.types"; | ||
import { SessionData } from "./session-data"; | ||
/** Options for replaying user interaction events */ | ||
@@ -34,2 +35,17 @@ export interface ReplayUserInteractionsOptions { | ||
export declare type OnReplayTimelineEventFn = (entry: ReplayTimelineEntry) => void; | ||
export interface NetworkStubbingOptions { | ||
page: Page; | ||
logLevel: LogLevelDesc; | ||
sessionData: SessionData; | ||
startUrl: string; | ||
originalSessionStartUrl: string; | ||
onTimelineEvent: OnReplayTimelineEventFn; | ||
} | ||
export declare type SetupReplayNetworkStubbingFn = (options: NetworkStubbingOptions) => Promise<void>; | ||
export interface BrowserContextSeedingOptions { | ||
page: Page; | ||
sessionData: SessionData; | ||
startUrl: string; | ||
} | ||
export declare type SetupBrowserContextSeedingFn = (options: BrowserContextSeedingOptions) => Promise<void>; | ||
export interface InstallVirtualEventLoopOpts { | ||
@@ -36,0 +52,0 @@ /** |
{ | ||
"name": "@alwaysmeticulous/sdk-bundles-api", | ||
"version": "2.12.0", | ||
"version": "2.13.0", | ||
"description": "Meticulous common types", | ||
@@ -49,3 +49,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "43d6174981d4673c1c9dd58d2f121211b1978308" | ||
"gitHead": "677a59ee72ed36d686e3539a5cefd25911b737c9" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76005
332