bitfab 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-2TVORTY7.js";
9
+ } from "./chunk-3VHHLXEJ.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-4VKISP7F.js.map
20
+ //# sourceMappingURL=http-42E3SI2N.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-DGVHJW43.js";
9
+ } from "./chunk-CPMT6Y43.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-AMWUT3JO.js.map
19
+ //# sourceMappingURL=http-YN67UB3K.js.map
package/dist/index.cjs CHANGED
@@ -51,7 +51,7 @@ var __version__, __packageName__;
51
51
  var init_version_generated = __esm({
52
52
  "src/version.generated.ts"() {
53
53
  "use strict";
54
- __version__ = "0.47.0";
54
+ __version__ = "0.48.0";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -1856,7 +1856,7 @@ var init_http = __esm({
1856
1856
  * Start a replay session by fetching historical traces.
1857
1857
  * Blocking call - creates a test run and returns lightweight item references.
1858
1858
  */
1859
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
1859
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1860
1860
  const payload = { traceFunctionKey };
1861
1861
  if (limit !== void 0) {
1862
1862
  payload.limit = limit;
@@ -1895,6 +1895,9 @@ var init_http = __esm({
1895
1895
  if (includeOriginalMetadata) {
1896
1896
  payload.includeOriginalMetadata = true;
1897
1897
  }
1898
+ if (onlyWithAssertions) {
1899
+ payload.onlyWithAssertions = true;
1900
+ }
1898
1901
  const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
1899
1902
  return this.request("/api/sdk/replay/start", payload, {
1900
1903
  timeout
@@ -2960,7 +2963,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
2960
2963
  options?.graderIds,
2961
2964
  resolveDbBranchSettings(options?.dbBranch),
2962
2965
  attempts,
2963
- options?.adaptInputs !== void 0
2966
+ options?.adaptInputs !== void 0,
2967
+ options?.onlyWithAssertions
2964
2968
  );
2965
2969
  if (serverItems.length === 0) {
2966
2970
  try {