@alwaysmeticulous/sdk-bundles-api 2.142.0 → 2.144.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/dist/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export { ExecuteTestRunOptions } from "./replay-orchestrator/sdk-to-bundle/execu
|
|
|
5
5
|
export { ExecuteScheduledTestRunOptions } from "./replay-orchestrator/sdk-to-bundle/execute-scheduled-test-run";
|
|
6
6
|
export { ExecuteTestRunResult, TestRunExecution, RunningTestRunExecution, FinishedTestRunExecution, TestRunProgress, DetailedTestCaseResult, } from "./replay-orchestrator/bundle-to-sdk/execute-test-run";
|
|
7
7
|
export { InProgressTestRun } from "./replay-orchestrator/bundle-to-sdk/execute-scheduled-test-run";
|
|
8
|
-
export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
8
|
+
export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, IndexedReplayableEvent, } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
9
9
|
export { ScreenshotDiffData } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
@@ -4,7 +4,13 @@ export interface ReplayExecution {
|
|
|
4
4
|
* Promise resolves when the replay is complete.
|
|
5
5
|
*/
|
|
6
6
|
finalResult: Promise<ReplayAndStoreResultsResult>;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* The list of events that will actually be replayed. This list is the deduplicated events list,
|
|
9
|
+
* and so may have fewer events than the raw session data (sessionData.userEvents.event_log).
|
|
10
|
+
*
|
|
11
|
+
* These are used for the replay debugger UI.
|
|
12
|
+
*/
|
|
13
|
+
eventsBeingReplayed: IndexedReplayableEvent[];
|
|
8
14
|
/**
|
|
9
15
|
* When called will log the target of the given event to the browser console.
|
|
10
16
|
*/
|
|
@@ -14,6 +20,13 @@ export interface ReplayExecution {
|
|
|
14
20
|
*/
|
|
15
21
|
closePage: () => Promise<void>;
|
|
16
22
|
}
|
|
23
|
+
export interface IndexedReplayableEvent extends ReplayableEvent {
|
|
24
|
+
/**
|
|
25
|
+
* The index of the event in the raw session data, before any events were removed,
|
|
26
|
+
* deduplicated or merged.
|
|
27
|
+
*/
|
|
28
|
+
originalEventIndex: number;
|
|
29
|
+
}
|
|
17
30
|
export interface ReplayAndStoreResultsResult {
|
|
18
31
|
replay: Omit<Replay, "project">;
|
|
19
32
|
/**
|
|
@@ -54,7 +54,11 @@ export interface ReplayAndStoreResultsOptions {
|
|
|
54
54
|
}
|
|
55
55
|
export interface BeforeUserEventOptions {
|
|
56
56
|
/**
|
|
57
|
-
* The index of the next event in
|
|
57
|
+
* The index of the next event in the `eventsBeingReplayed` list returned on the ReplayExecution
|
|
58
|
+
* object returned by `replayAndStoreResults`.
|
|
59
|
+
*
|
|
60
|
+
* Note that this list is the deduplicated events list, and so may have fewer events than the
|
|
61
|
+
* raw session data (sessionData.userEvents.event_log).
|
|
58
62
|
*/
|
|
59
63
|
userEventIndex: number;
|
|
60
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.144.0",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"depcheck": "depcheck --ignore-patterns=dist"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@alwaysmeticulous/api": "^2.
|
|
22
|
+
"@alwaysmeticulous/api": "^2.144.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"loglevel": "^1.8.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7e7830ec222145a910b185c229cfb0b2c8a57961"
|
|
50
50
|
}
|