@bitfab/sdk 0.50.0 → 0.51.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.
@@ -94,7 +94,7 @@ function encodeRequestBody(body) {
94
94
  }
95
95
 
96
96
  // src/version.generated.ts
97
- var __version__ = "0.50.0";
97
+ var __version__ = "0.51.0";
98
98
  var __packageName__ = "@bitfab/sdk";
99
99
 
100
100
  // src/errors.ts
@@ -1678,7 +1678,7 @@ var HttpClient = class {
1678
1678
  * Start a replay session by fetching historical traces.
1679
1679
  * Blocking call - creates a test run and returns lightweight item references.
1680
1680
  */
1681
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1681
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1682
1682
  const payload = { traceFunctionKey };
1683
1683
  if (limit !== void 0) {
1684
1684
  payload.limit = limit;
@@ -1702,8 +1702,12 @@ var HttpClient = class {
1702
1702
  if (experimentGroupId !== void 0) {
1703
1703
  payload.experimentGroupId = experimentGroupId;
1704
1704
  }
1705
- if (datasetId !== void 0) {
1706
- payload.datasetId = datasetId;
1705
+ if (datasetIds !== void 0) {
1706
+ if (datasetIds.length === 1) {
1707
+ payload.datasetId = datasetIds[0];
1708
+ } else {
1709
+ payload.datasetIds = datasetIds;
1710
+ }
1707
1711
  }
1708
1712
  if (graderIds !== void 0) {
1709
1713
  payload.graderIds = graderIds;
@@ -1875,4 +1879,4 @@ export {
1875
1879
  parseRetryAfterMs,
1876
1880
  HttpClient
1877
1881
  };
1878
- //# sourceMappingURL=chunk-W5P5JAH7.js.map
1882
+ //# sourceMappingURL=chunk-4CLJF2DZ.js.map