@bitfab/sdk 0.58.2 → 0.58.3

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.
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-PR3I5UTO.js";
9
+ } from "./chunk-WVFMRMV4.js";
10
10
  import "./chunk-VCRFFCLY.js";
11
11
  export {
12
12
  BitfabError,
@@ -17,4 +17,4 @@ export {
17
17
  parseRetryAfterMs,
18
18
  serializePayloadBody
19
19
  };
20
- //# sourceMappingURL=http-IEFEMFSD.js.map
20
+ //# sourceMappingURL=http-ARGY6JF2.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-JMMFN4RO.js";
9
+ } from "./chunk-E4W3LSVL.js";
10
10
  export {
11
11
  BitfabError,
12
12
  HttpClient,
@@ -16,4 +16,4 @@ export {
16
16
  parseRetryAfterMs,
17
17
  serializePayloadBody
18
18
  };
19
- //# sourceMappingURL=http-W3ZKRIWW.js.map
19
+ //# sourceMappingURL=http-ZI4BQTKT.js.map
package/dist/index.cjs CHANGED
@@ -42,7 +42,7 @@ var __version__, __packageName__;
42
42
  var init_version_generated = __esm({
43
43
  "src/version.generated.ts"() {
44
44
  "use strict";
45
- __version__ = "0.58.2";
45
+ __version__ = "0.58.3";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -2878,7 +2878,7 @@ var init_http = __esm({
2878
2878
  * Start a replay session by fetching historical traces.
2879
2879
  * Blocking call - creates a test run and returns lightweight item references.
2880
2880
  */
2881
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
2881
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions) {
2882
2882
  const payload = { traceFunctionKey };
2883
2883
  if (limit !== void 0) {
2884
2884
  payload.limit = limit;
@@ -2924,6 +2924,9 @@ var init_http = __esm({
2924
2924
  if (onlyWithAssertions) {
2925
2925
  payload.onlyWithAssertions = true;
2926
2926
  }
2927
+ if (judgeAssertions) {
2928
+ payload.judgeAssertions = true;
2929
+ }
2927
2930
  const git = await resolvedGitState();
2928
2931
  if (git && !isEmptyGitState(git)) {
2929
2932
  payload.git = git;
@@ -4081,7 +4084,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
4081
4084
  resolveDbBranchSettings(options?.dbBranch),
4082
4085
  attempts,
4083
4086
  options?.adaptInputs !== void 0,
4084
- options?.onlyWithAssertions
4087
+ options?.onlyWithAssertions,
4088
+ options?.judgeAssertions
4085
4089
  );
4086
4090
  if (serverItems.length === 0) {
4087
4091
  try {