@bitfab/sdk 0.47.0 → 0.48.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.
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-RQEYVHGV.js";
9
+ } from "./chunk-I6MWT34L.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-224ASOWH.js.map
19
+ //# sourceMappingURL=http-CGTUTKK3.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-YKHZGYAC.js";
9
+ } from "./chunk-OKSCUFJ6.js";
10
10
  import "./chunk-H6LZRFMN.js";
11
11
  export {
12
12
  BitfabError,
@@ -17,4 +17,4 @@ export {
17
17
  parseRetryAfterMs,
18
18
  serializePayloadBody
19
19
  };
20
- //# sourceMappingURL=http-BUAOWCLI.js.map
20
+ //# sourceMappingURL=http-MO5ZRPA6.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.47.0";
45
+ __version__ = "0.48.0";
46
46
  __packageName__ = "@bitfab/sdk";
47
47
  }
48
48
  });
@@ -1847,7 +1847,7 @@ var init_http = __esm({
1847
1847
  * Start a replay session by fetching historical traces.
1848
1848
  * Blocking call - creates a test run and returns lightweight item references.
1849
1849
  */
1850
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
1850
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1851
1851
  const payload = { traceFunctionKey };
1852
1852
  if (limit !== void 0) {
1853
1853
  payload.limit = limit;
@@ -1886,6 +1886,9 @@ var init_http = __esm({
1886
1886
  if (includeOriginalMetadata) {
1887
1887
  payload.includeOriginalMetadata = true;
1888
1888
  }
1889
+ if (onlyWithAssertions) {
1890
+ payload.onlyWithAssertions = true;
1891
+ }
1889
1892
  const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
1890
1893
  return this.request("/api/sdk/replay/start", payload, {
1891
1894
  timeout
@@ -2951,7 +2954,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
2951
2954
  options?.graderIds,
2952
2955
  resolveDbBranchSettings(options?.dbBranch),
2953
2956
  attempts,
2954
- options?.adaptInputs !== void 0
2957
+ options?.adaptInputs !== void 0,
2958
+ options?.onlyWithAssertions
2955
2959
  );
2956
2960
  if (serverItems.length === 0) {
2957
2961
  try {