bitfab 0.26.2 → 0.27.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-DW7VTEO2.js → chunk-H5QQ54UI.js} +8 -5
- package/dist/chunk-H5QQ54UI.js.map +1 -0
- package/dist/{replay-CORDD7TR.js → chunk-MD4XQGAF.js} +287 -10
- package/dist/chunk-MD4XQGAF.js.map +1 -0
- package/dist/index.cjs +46 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -6
- package/dist/index.d.ts +45 -6
- package/dist/index.js +8 -4
- package/dist/node.cjs +46 -7
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +8 -4
- package/dist/node.js.map +1 -1
- package/dist/replay-J3YTYE7V.js +11 -0
- package/dist/replay-J3YTYE7V.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-DW7VTEO2.js.map +0 -1
- package/dist/chunk-IDGR2OIX.js +0 -263
- package/dist/chunk-IDGR2OIX.js.map +0 -1
- package/dist/replay-CORDD7TR.js.map +0 -1
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
toJsonSafe,
|
|
11
11
|
toJsonSafeReport,
|
|
12
12
|
warnOnce
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MD4XQGAF.js";
|
|
14
14
|
|
|
15
15
|
// src/version.generated.ts
|
|
16
|
-
var __version__ = "0.
|
|
16
|
+
var __version__ = "0.27.1";
|
|
17
17
|
|
|
18
18
|
// src/constants.ts
|
|
19
19
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -317,7 +317,7 @@ var HttpClient = class {
|
|
|
317
317
|
* Start a replay session by fetching historical traces.
|
|
318
318
|
* Blocking call — creates a test run and returns lightweight item references.
|
|
319
319
|
*/
|
|
320
|
-
async startReplay(traceFunctionKey, limit, traceIds, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
|
|
320
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId) {
|
|
321
321
|
const payload = { traceFunctionKey };
|
|
322
322
|
if (limit !== void 0) {
|
|
323
323
|
payload.limit = limit;
|
|
@@ -325,6 +325,9 @@ var HttpClient = class {
|
|
|
325
325
|
if (traceIds) {
|
|
326
326
|
payload.traceIds = traceIds;
|
|
327
327
|
}
|
|
328
|
+
if (name !== void 0) {
|
|
329
|
+
payload.name = name;
|
|
330
|
+
}
|
|
328
331
|
if (codeChangeDescription !== void 0) {
|
|
329
332
|
payload.codeChangeDescription = codeChangeDescription;
|
|
330
333
|
}
|
|
@@ -3524,7 +3527,7 @@ var Bitfab = class {
|
|
|
3524
3527
|
`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.`
|
|
3525
3528
|
);
|
|
3526
3529
|
}
|
|
3527
|
-
const { replay: doReplay } = await import("./replay-
|
|
3530
|
+
const { replay: doReplay } = await import("./replay-J3YTYE7V.js");
|
|
3528
3531
|
return doReplay(
|
|
3529
3532
|
this.httpClient,
|
|
3530
3533
|
this.serviceUrl,
|
|
@@ -3749,4 +3752,4 @@ export {
|
|
|
3749
3752
|
BitfabFunction,
|
|
3750
3753
|
finalizers
|
|
3751
3754
|
};
|
|
3752
|
-
//# sourceMappingURL=chunk-
|
|
3755
|
+
//# sourceMappingURL=chunk-H5QQ54UI.js.map
|