@alwaysmeticulous/api 2.46.0 → 2.51.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
@@ -4,7 +4,6 @@ export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotDiffResult, Screens
4
4
  export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, } from "./replay/test-run.types";
5
5
  export { TestRunEnvironment, TestRunGitHubContext, TestRunGitHubPullRequestContext, TestRunGitHubPushContext, TestRunGitHubWorkflowDispatchContext, } from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
6
6
  export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
7
- export { SDKReplayTimelineEntry, SDKReplayTimelineData, } from "./sdk-bundle-api/bundle-to-sdk/timeline.types";
8
7
  export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
9
8
  export { Cookie, SessionData, UrlHistoryEvent, WindowData, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
10
9
  export { Replay } from "./replay/replay.types";
@@ -11,7 +11,7 @@ export interface TestCaseReplayOptions extends Partial<ScreenshotDiffOptions> {
11
11
  */
12
12
  simulationIdForAssets?: string | undefined;
13
13
  }
14
- export type TestRunStatus = "Running" | "Success" | "Failure";
14
+ export type TestRunStatus = "Scheduled" | "Running" | "Success" | "Failure";
15
15
  export type TestCaseResultStatus = "pass" | "fail" | "flake";
16
16
  export interface TestCaseResult extends TestCase {
17
17
  headReplayId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.46.0",
3
+ "version": "2.51.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
37
  },
38
- "gitHead": "c03e5e034eb89d79d16f0eee09f95fa58341e038"
38
+ "gitHead": "e279b13a7094855cd670df128dbca273b668b266"
39
39
  }
@@ -1,33 +0,0 @@
1
- interface GenericReplayTimelineEntry {
2
- kind: unknown;
3
- /**
4
- * Real start timestamp, using true wall clock time
5
- */
6
- start: number;
7
- /**
8
- * Real end timestamp, using true wall clock time
9
- */
10
- end: number;
11
- virtualTimeStart?: number;
12
- virtualTimeEnd?: number;
13
- data: unknown;
14
- }
15
- /**
16
- * An error that cut the replay short.
17
- */
18
- export interface FatalErrorTimelineEntry extends GenericReplayTimelineEntry {
19
- kind: "fatalError";
20
- data: {
21
- message: string | null;
22
- stack: string | null;
23
- };
24
- }
25
- /**
26
- * ReplayTimelineEntry types used by Meticulous SDK.
27
- *
28
- * The Meticulous BE code internally uses additional timeline entries, but these
29
- * types are stored seperately.
30
- */
31
- export type SDKReplayTimelineEntry = FatalErrorTimelineEntry;
32
- export type SDKReplayTimelineData = SDKReplayTimelineEntry[];
33
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });