@alwaysmeticulous/api 2.290.2 → 2.291.2

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.
@@ -22,6 +22,13 @@ export interface Snapshot<T = unknown> {
22
22
  */
23
23
  stageDuringSession: string;
24
24
  data: T;
25
+ /**
26
+ * Version number the snapshot was recorded with (see
27
+ * `recordCustomSnapshot`). Defaults to 0 for snapshots recorded without one
28
+ * (including all built-in snapshots). When the version differs between the
29
+ * base and head snapshots, a failing check can be caveated in the UI.
30
+ */
31
+ versionNumber?: number;
25
32
  }
26
33
  /** The base and head snapshots passed to a custom check. */
27
34
  export interface CustomCheckInput {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="14a4ab8a-ebd9-5fd7-ba2b-b93055c8f39f")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8ef65cd4-8945-57ad-89ea-063f84e905ee")}catch(e){}}();
3
3
 
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.CUSTOM_CHECK_RESULTS_STATUSES = exports.NETWORK_REQUESTS_SNAPSHOT_TYPE = exports.CUSTOM_CHECK_SUMMARY_MAX_LENGTH = void 0;
@@ -27,4 +27,4 @@ exports.CUSTOM_CHECK_RESULTS_STATUSES = [
27
27
  "execution-error",
28
28
  ];
29
29
  //# sourceMappingURL=custom-checks.types.js.map
30
- //# debugId=14a4ab8a-ebd9-5fd7-ba2b-b93055c8f39f
30
+ //# debugId=8ef65cd4-8945-57ad-89ea-063f84e905ee
@@ -1 +1 @@
1
- {"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AAoDA;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,GAAG,CAAC;AA4DnD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,kBAAkB,CAAC;AAyBjE;;;;;;;GAOG;AACU,QAAA,6BAA6B,GAAG;IAC3C,UAAU;IACV,iBAAiB;CACT,CAAC","debugId":"14a4ab8a-ebd9-5fd7-ba2b-b93055c8f39f"}
1
+ {"version":3,"file":"custom-checks.types.js","sources":["../src/custom-checks.types.ts"],"sourceRoot":"","names":[],"mappings":";;;;;AA4DA;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,GAAG,CAAC;AA4DnD;;;GAGG;AACU,QAAA,8BAA8B,GAAG,kBAAkB,CAAC;AAyBjE;;;;;;;GAOG;AACU,QAAA,6BAA6B,GAAG;IAC3C,UAAU;IACV,iBAAiB;CACT,CAAC","debugId":"8ef65cd4-8945-57ad-89ea-063f84e905ee"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.290.2",
3
+ "version": "2.291.2",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",