@bitfab/sdk 0.29.1 → 0.30.1
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-RTPEBWVO.js → chunk-ERHYLE4S.js} +8 -5
- package/dist/chunk-ERHYLE4S.js.map +1 -0
- package/dist/{chunk-YZU6WFG2.js → chunk-MYDYCNW4.js} +205 -4
- package/dist/chunk-MYDYCNW4.js.map +1 -0
- package/dist/index.cjs +216 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +2 -2
- package/dist/node.cjs +216 -5
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-SKW5A7II.js → replay-NFPCEVES.js} +2 -2
- package/package.json +2 -2
- package/dist/chunk-RTPEBWVO.js.map +0 -1
- package/dist/chunk-YZU6WFG2.js.map +0 -1
- /package/dist/{replay-SKW5A7II.js.map → replay-NFPCEVES.js.map} +0 -0
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
toJsonSafe,
|
|
12
12
|
toJsonSafeReport,
|
|
13
13
|
warnOnce
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MYDYCNW4.js";
|
|
15
15
|
|
|
16
16
|
// src/version.generated.ts
|
|
17
|
-
var __version__ = "0.
|
|
17
|
+
var __version__ = "0.30.1";
|
|
18
18
|
|
|
19
19
|
// src/constants.ts
|
|
20
20
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -369,7 +369,7 @@ var HttpClient = class {
|
|
|
369
369
|
* Start a replay session by fetching historical traces.
|
|
370
370
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
371
371
|
*/
|
|
372
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
|
|
372
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds) {
|
|
373
373
|
const payload = { traceFunctionKey };
|
|
374
374
|
if (limit !== void 0) {
|
|
375
375
|
payload.limit = limit;
|
|
@@ -395,6 +395,9 @@ var HttpClient = class {
|
|
|
395
395
|
if (datasetId !== void 0) {
|
|
396
396
|
payload.datasetId = datasetId;
|
|
397
397
|
}
|
|
398
|
+
if (graderIds !== void 0) {
|
|
399
|
+
payload.graderIds = graderIds;
|
|
400
|
+
}
|
|
398
401
|
const timeout = includeDbBranchLease ? 18e4 : 3e4;
|
|
399
402
|
return this.request("/api/sdk/replay/start", payload, {
|
|
400
403
|
timeout
|
|
@@ -3820,7 +3823,7 @@ var Bitfab = class {
|
|
|
3820
3823
|
`Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
|
|
3821
3824
|
);
|
|
3822
3825
|
}
|
|
3823
|
-
const { replay: doReplay } = await import("./replay-
|
|
3826
|
+
const { replay: doReplay } = await import("./replay-NFPCEVES.js");
|
|
3824
3827
|
return doReplay(
|
|
3825
3828
|
this.httpClient,
|
|
3826
3829
|
this.serviceUrl,
|
|
@@ -4046,4 +4049,4 @@ export {
|
|
|
4046
4049
|
BitfabFunction,
|
|
4047
4050
|
finalizers
|
|
4048
4051
|
};
|
|
4049
|
-
//# sourceMappingURL=chunk-
|
|
4052
|
+
//# sourceMappingURL=chunk-ERHYLE4S.js.map
|