@alwaysmeticulous/api 2.180.0 → 2.183.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Organization } from "./organization.types";
|
|
2
2
|
export { Project, ProjectSettingsScreenshottingOptions } from "./project.types";
|
|
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";
|
|
3
|
+
export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotDiffResultDifference, ScreenshotDiffResultNoDifference, ScreenshotIdentifier, ScreenshotVariant, SingleTryScreenshotDiffResult, ScreenshotDiffRetryResult, SingleTryScreenshotDiffRetryResult, RedactedScreenshotIncompatible, RedactedScreenshotsCompared, RedactedScreenshotsComparison, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
|
|
4
4
|
export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, } from "./replay/test-run.types";
|
|
5
5
|
export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
|
|
6
6
|
export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
|
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":";;;;;;;;;;;;;;;;AA8BA,sFAAoE"}
|
|
@@ -85,8 +85,22 @@ export interface ScreenshotDiffResultCompared {
|
|
|
85
85
|
* This field will only be true if we are in situation 2 above and the original comparison was a no diff.
|
|
86
86
|
*/
|
|
87
87
|
wasOriginalComparisonNoDiff?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Undefined for old screenshots, from before Dec 2024.
|
|
90
|
+
*/
|
|
91
|
+
comparison?: RedactedScreenshotsComparison;
|
|
88
92
|
} & (RedactedScreenshotsCompared | RedactedScreenshotIncompatible);
|
|
89
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* If the redacted screenshots were present for both head and base then we compare these; but if a
|
|
96
|
+
* redacted screenshot was only present for one of head or base then we compare the redacted screenshot
|
|
97
|
+
* to the unredacted screenshot. This field indicates which comparison was made.
|
|
98
|
+
*
|
|
99
|
+
* The left hand side is the base screenshot, and the right hand side is the head screenshot. For example,
|
|
100
|
+
* `redacted-vs-unredacted` means it compared the redacted base screenshot to the unredacted head screenshot
|
|
101
|
+
* (i.e. there was no redacted head screenshot to compare to).
|
|
102
|
+
*/
|
|
103
|
+
export type RedactedScreenshotsComparison = "redacted-vs-redacted" | "redacted-vs-unredacted" | "unredacted-vs-redacted";
|
|
90
104
|
export interface ScreenshotDiffResultNoDifference extends ScreenshotDiffResultCompared {
|
|
91
105
|
outcome: "no-diff";
|
|
92
106
|
}
|
|
@@ -132,6 +132,10 @@ export type IDBObjectStoreSnapshot = Omit<IDBObjectStoreMetadata, "serialize" |
|
|
|
132
132
|
entries: {
|
|
133
133
|
key?: SerializedIDBValidKey;
|
|
134
134
|
value: string;
|
|
135
|
+
valueMeta?: {
|
|
136
|
+
values?: unknown;
|
|
137
|
+
referentialEqualities?: unknown;
|
|
138
|
+
};
|
|
135
139
|
}[];
|
|
136
140
|
/**
|
|
137
141
|
* This is only present on IDB snapshots taken since ~Dec 2024.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.183.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": "b85826b89d4b4a89adc1eb5d2c22daa741069d63"
|
|
39
39
|
}
|