@bitfab/sdk 0.42.0 → 0.43.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-BC5OYWAM.js → chunk-5BBJ5BQD.js} +173 -67
- package/dist/chunk-5BBJ5BQD.js.map +1 -0
- package/dist/{chunk-UGFTBSGS.js → chunk-6EM2S5H5.js} +6 -3
- package/dist/{chunk-UGFTBSGS.js.map → chunk-6EM2S5H5.js.map} +1 -1
- package/dist/{chunk-QJ6IFPGU.js → chunk-BBJSKBVJ.js} +6 -3
- package/dist/{chunk-QJ6IFPGU.js.map → chunk-BBJSKBVJ.js.map} +1 -1
- package/dist/{chunk-BG3A5HNC.js → chunk-BXBRVWWW.js} +10 -4
- package/dist/chunk-BXBRVWWW.js.map +1 -0
- package/dist/{http-F5L466DI.js → http-IO3Y7ROJ.js} +2 -2
- package/dist/{http-NZHGC5YF.js → http-R553H2H2.js} +2 -2
- package/dist/index.cjs +184 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -53
- package/dist/index.d.ts +37 -53
- package/dist/index.js +3 -3
- package/dist/node.cjs +184 -66
- 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 +3 -3
- package/dist/{replay-PLACY77M.js → replay-LM4GIDVD.js} +3 -3
- package/dist/replayCli.js +31 -10
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-BC5OYWAM.js.map +0 -1
- package/dist/chunk-BG3A5HNC.js.map +0 -1
- /package/dist/{http-F5L466DI.js.map → http-IO3Y7ROJ.js.map} +0 -0
- /package/dist/{http-NZHGC5YF.js.map → http-R553H2H2.js.map} +0 -0
- /package/dist/{replay-PLACY77M.js.map → replay-LM4GIDVD.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.43.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) {
|
|
1681
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
|
|
1682
1682
|
const payload = { traceFunctionKey };
|
|
1683
1683
|
if (limit !== void 0) {
|
|
1684
1684
|
payload.limit = limit;
|
|
@@ -1714,6 +1714,9 @@ var HttpClient = class {
|
|
|
1714
1714
|
if (attempts !== void 0 && attempts > 1) {
|
|
1715
1715
|
payload.attempts = attempts;
|
|
1716
1716
|
}
|
|
1717
|
+
if (includeOriginalMetadata) {
|
|
1718
|
+
payload.includeOriginalMetadata = true;
|
|
1719
|
+
}
|
|
1717
1720
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1718
1721
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1719
1722
|
timeout
|
|
@@ -1869,4 +1872,4 @@ export {
|
|
|
1869
1872
|
parseRetryAfterMs,
|
|
1870
1873
|
HttpClient
|
|
1871
1874
|
};
|
|
1872
|
-
//# sourceMappingURL=chunk-
|
|
1875
|
+
//# sourceMappingURL=chunk-BBJSKBVJ.js.map
|