@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.
- package/dist/{chunk-W5P5JAH7.js → chunk-4CLJF2DZ.js} +9 -5
- package/dist/{chunk-W5P5JAH7.js.map → chunk-4CLJF2DZ.js.map} +1 -1
- package/dist/{chunk-6LG3OFIX.js → chunk-DNYZJLNY.js} +23 -5
- package/dist/chunk-DNYZJLNY.js.map +1 -0
- package/dist/{chunk-XZDYNFI5.js → chunk-RGC7IEOI.js} +9 -5
- package/dist/{chunk-XZDYNFI5.js.map → chunk-RGC7IEOI.js.map} +1 -1
- package/dist/{chunk-BT4RNCQL.js → chunk-VXD27AJ3.js} +6 -6
- package/dist/{chunk-BT4RNCQL.js.map → chunk-VXD27AJ3.js.map} +1 -1
- package/dist/{http-W2YPLY7H.js → http-AKFJONE7.js} +2 -2
- package/dist/{http-PFP2EQVE.js → http-HLRWCSFF.js} +2 -2
- package/dist/index.cjs +29 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -8
- package/dist/index.d.ts +12 -8
- package/dist/index.js +3 -3
- package/dist/node.cjs +29 -7
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-AFX7ENZI.js → replay-ISXRCXUP.js} +3 -3
- package/dist/replayCli.js +40 -14
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6LG3OFIX.js.map +0 -1
- /package/dist/{http-PFP2EQVE.js.map → http-AKFJONE7.js.map} +0 -0
- /package/dist/{http-W2YPLY7H.js.map → http-HLRWCSFF.js.map} +0 -0
- /package/dist/{replay-AFX7ENZI.js.map → replay-ISXRCXUP.js.map} +0 -0
|
@@ -94,7 +94,7 @@ function encodeRequestBody(body) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
// src/version.generated.ts
|
|
97
|
-
var __version__ = "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,
|
|
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 (
|
|
1706
|
-
|
|
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-
|
|
1882
|
+
//# sourceMappingURL=chunk-4CLJF2DZ.js.map
|