bitfab 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
@@ -569,7 +569,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
569
569
  options?.environment !== void 0,
570
570
  // includeDbBranchLease
571
571
  options?.experimentGroupId,
572
- options?.datasetId
572
+ options?.datasetId,
573
+ options?.graderIds
573
574
  );
574
575
  const mockStrategy = options?.mock ?? "marked";
575
576
  const maxConcurrency = options?.maxConcurrency ?? 10;
@@ -755,7 +756,7 @@ __export(index_exports, {
755
756
  module.exports = __toCommonJS(index_exports);
756
757
 
757
758
  // src/version.generated.ts
758
- var __version__ = "0.29.1";
759
+ var __version__ = "0.30.0";
759
760
 
760
761
  // src/constants.ts
761
762
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -1114,7 +1115,7 @@ var HttpClient = class {
1114
1115
  * Start a replay session by fetching historical traces.
1115
1116
  * Blocking call - creates a test run and returns lightweight item references.
1116
1117
  */
1117
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
1118
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds) {
1118
1119
  const payload = { traceFunctionKey };
1119
1120
  if (limit !== void 0) {
1120
1121
  payload.limit = limit;
@@ -1140,6 +1141,9 @@ var HttpClient = class {
1140
1141
  if (datasetId !== void 0) {
1141
1142
  payload.datasetId = datasetId;
1142
1143
  }
1144
+ if (graderIds !== void 0) {
1145
+ payload.graderIds = graderIds;
1146
+ }
1143
1147
  const timeout = includeDbBranchLease ? 18e4 : 3e4;
1144
1148
  return this.request("/api/sdk/replay/start", payload, {
1145
1149
  timeout