@bitfab/sdk 0.29.1 → 0.30.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/index.cjs CHANGED
@@ -560,7 +560,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
560
560
  options?.environment !== void 0,
561
561
  // includeDbBranchLease
562
562
  options?.experimentGroupId,
563
- options?.datasetId
563
+ options?.datasetId,
564
+ options?.graderIds
564
565
  );
565
566
  const mockStrategy = options?.mock ?? "marked";
566
567
  const maxConcurrency = options?.maxConcurrency ?? 10;
@@ -746,7 +747,7 @@ __export(index_exports, {
746
747
  module.exports = __toCommonJS(index_exports);
747
748
 
748
749
  // src/version.generated.ts
749
- var __version__ = "0.29.1";
750
+ var __version__ = "0.30.0";
750
751
 
751
752
  // src/constants.ts
752
753
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -1105,7 +1106,7 @@ var HttpClient = class {
1105
1106
  * Start a replay session by fetching historical traces.
1106
1107
  * Blocking call - creates a test run and returns lightweight item references.
1107
1108
  */
1108
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
1109
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds) {
1109
1110
  const payload = { traceFunctionKey };
1110
1111
  if (limit !== void 0) {
1111
1112
  payload.limit = limit;
@@ -1131,6 +1132,9 @@ var HttpClient = class {
1131
1132
  if (datasetId !== void 0) {
1132
1133
  payload.datasetId = datasetId;
1133
1134
  }
1135
+ if (graderIds !== void 0) {
1136
+ payload.graderIds = graderIds;
1137
+ }
1134
1138
  const timeout = includeDbBranchLease ? 18e4 : 3e4;
1135
1139
  return this.request("/api/sdk/replay/start", payload, {
1136
1140
  timeout