@bitfab/sdk 0.50.0 → 0.52.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.
@@ -99,7 +99,7 @@ function encodeRequestBody(body) {
99
99
  }
100
100
 
101
101
  // src/version.generated.ts
102
- var __version__ = "0.50.0";
102
+ var __version__ = "0.52.0";
103
103
  var __packageName__ = "@bitfab/sdk";
104
104
 
105
105
  // src/constants.ts
@@ -1671,7 +1671,7 @@ var HttpClient = class {
1671
1671
  * Start a replay session by fetching historical traces.
1672
1672
  * Blocking call - creates a test run and returns lightweight item references.
1673
1673
  */
1674
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1674
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
1675
1675
  const payload = { traceFunctionKey };
1676
1676
  if (limit !== void 0) {
1677
1677
  payload.limit = limit;
@@ -1695,8 +1695,12 @@ var HttpClient = class {
1695
1695
  if (experimentGroupId !== void 0) {
1696
1696
  payload.experimentGroupId = experimentGroupId;
1697
1697
  }
1698
- if (datasetId !== void 0) {
1699
- payload.datasetId = datasetId;
1698
+ if (datasetIds !== void 0) {
1699
+ if (datasetIds.length === 1) {
1700
+ payload.datasetId = datasetIds[0];
1701
+ } else {
1702
+ payload.datasetIds = datasetIds;
1703
+ }
1700
1704
  }
1701
1705
  if (graderIds !== void 0) {
1702
1706
  payload.graderIds = graderIds;
@@ -1876,4 +1880,4 @@ export {
1876
1880
  parseRetryAfterMs,
1877
1881
  HttpClient
1878
1882
  };
1879
- //# sourceMappingURL=chunk-XZDYNFI5.js.map
1883
+ //# sourceMappingURL=chunk-4EOEBN3M.js.map