@alwaysmeticulous/api 2.166.0 → 2.171.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
|
@@ -2,7 +2,7 @@ export { Organization } from "./organization.types";
|
|
|
2
2
|
export { Project, ProjectSettingsScreenshottingOptions } from "./project.types";
|
|
3
3
|
export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotDiffResultDifference, ScreenshotDiffResultNoDifference, ScreenshotIdentifier, ScreenshotVariant, SingleTryScreenshotDiffResult, ScreenshotDiffRetryResult, SingleTryScreenshotDiffRetryResult, RedactedScreenshotIncompatible, RedactedScreenshotsCompared, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
|
|
4
4
|
export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, } from "./replay/test-run.types";
|
|
5
|
-
export
|
|
5
|
+
export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
|
|
6
6
|
export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
|
|
7
7
|
export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
|
|
8
8
|
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreWithEntries, CustomData, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./sdk-bundle-api/sdk-to-bundle/test-run-environment"), exports);
|
|
3
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA4BA,sFAAoE"}
|
|
@@ -23,6 +23,12 @@ export interface InitialNavigationDivergenceIndicator {
|
|
|
23
23
|
}
|
|
24
24
|
export interface DivergenceConsoleError {
|
|
25
25
|
idx: number;
|
|
26
|
+
/**
|
|
27
|
+
* Truncated to the first 50 characters to avoid sending large payloads
|
|
28
|
+
*
|
|
29
|
+
* Not present in divergences prior to Nov 15, 2024
|
|
30
|
+
*/
|
|
31
|
+
truncatedMessage?: string;
|
|
26
32
|
numHeadAppearances: number;
|
|
27
33
|
numBaseAppearances: number;
|
|
28
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface TestRunEnvironment {
|
|
2
2
|
ci?: boolean;
|
|
3
|
-
context?: TestRunGitHubContext | TestRunGitLabContext;
|
|
3
|
+
context?: TestRunGitHubContext | TestRunGitLabContext | TestRunBitbucketContext;
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}
|
|
6
6
|
export type TestRunGitHubContext = TestRunGitHubPullRequestContext | TestRunGitHubPushContext | TestRunGitHubWorkflowDispatchContext;
|
|
@@ -79,3 +79,32 @@ export interface TestRunGitLabPushContext {
|
|
|
79
79
|
/** Git ref for the branch (/refs/head/<branch>). Not defined for pushes prior to July 2024. */
|
|
80
80
|
ref?: string;
|
|
81
81
|
}
|
|
82
|
+
export type TestRunBitbucketContext = {
|
|
83
|
+
type: "bitbucket";
|
|
84
|
+
} & (TestRunBitbucketPullRequestContext | TestRunBitbucketPushContext);
|
|
85
|
+
export interface TestRunBitbucketPullRequestContext {
|
|
86
|
+
event: "pull-request";
|
|
87
|
+
/** Pull request title */
|
|
88
|
+
title: string;
|
|
89
|
+
/** Pull request number */
|
|
90
|
+
number: number;
|
|
91
|
+
/** Pull request URL (web page) */
|
|
92
|
+
htmlUrl: string;
|
|
93
|
+
/** Base commit hash */
|
|
94
|
+
baseSha: string;
|
|
95
|
+
/** Base ref (usually /refs/head/<branch>) */
|
|
96
|
+
baseRef: string;
|
|
97
|
+
/** Head commit hash */
|
|
98
|
+
headSha: string;
|
|
99
|
+
/** Head ref (usually /refs/head/<branch>) */
|
|
100
|
+
headRef: string;
|
|
101
|
+
}
|
|
102
|
+
export interface TestRunBitbucketPushContext {
|
|
103
|
+
event: "push";
|
|
104
|
+
/** Commit hash before the push event */
|
|
105
|
+
beforeSha: string;
|
|
106
|
+
/** Commit hash after the push event */
|
|
107
|
+
afterSha: string;
|
|
108
|
+
/** Git ref for the branch (/refs/head/<branch>) */
|
|
109
|
+
ref: string;
|
|
110
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.171.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": "
|
|
38
|
+
"gitHead": "7ee0cece08afd7373f57e808098b7a8e73172c7c"
|
|
39
39
|
}
|