@argos-ci/util 3.1.2-alpha.4 → 3.2.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/browser.d.ts CHANGED
@@ -73,14 +73,18 @@ type ScreenshotMetadata = {
73
73
  version: string;
74
74
  };
75
75
  transient?: {
76
+ /** Threshold configured for this screenshot. */
76
77
  threshold?: number;
78
+ /** Override the name to find the comparison baseline. */
77
79
  baseName?: string;
80
+ /** Name of the parent screenshot. */
81
+ parentName?: string;
78
82
  };
79
83
  };
80
84
  /**
81
- * Get metadata path from screenshot path.
85
+ * Get metadata path from snapshot path.
82
86
  */
83
- declare function getMetadataPath(screenshotPath: string): string;
87
+ declare function getMetadataPath(snapshotPath: string): string;
84
88
 
85
89
  /**
86
90
  * Build a screenshot name from a test name and options.
package/dist/browser.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  getMetadataPath,
3
3
  getScreenshotName,
4
4
  validateThreshold
5
- } from "./chunk-CBWOZNU5.js";
5
+ } from "./chunk-TTRT2C3N.js";
6
6
  export {
7
7
  getMetadataPath,
8
8
  getScreenshotName,
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  getMetadataPath,
3
3
  getScreenshotName,
4
4
  validateThreshold
5
- } from "./chunk-CBWOZNU5.js";
5
+ } from "./chunk-TTRT2C3N.js";
6
6
 
7
7
  // src/fs.ts
8
8
  import { randomBytes } from "crypto";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/util",
3
3
  "description": "Set of utilities used across all Argos SDKs.",
4
- "version": "3.1.2-alpha.4+d1894ac",
4
+ "version": "3.2.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -47,5 +47,5 @@
47
47
  "@types/node": "catalog:",
48
48
  "vitest": "catalog:"
49
49
  },
50
- "gitHead": "d1894acc62fb886d4673c88cc7e8cc95e81db78b"
50
+ "gitHead": "fb54cf311b705f214041f18443352577be01e822"
51
51
  }