@bitfab/sdk 0.42.0 → 0.43.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-UGFTBSGS.js → chunk-5LY4XOUY.js} +6 -3
- package/dist/{chunk-UGFTBSGS.js.map → chunk-5LY4XOUY.js.map} +1 -1
- package/dist/{chunk-QJ6IFPGU.js → chunk-RBKGO5ZC.js} +6 -3
- package/dist/{chunk-QJ6IFPGU.js.map → chunk-RBKGO5ZC.js.map} +1 -1
- package/dist/{chunk-BG3A5HNC.js → chunk-TNGKCPBP.js} +10 -4
- package/dist/chunk-TNGKCPBP.js.map +1 -0
- package/dist/{chunk-BC5OYWAM.js → chunk-V4MRFSWK.js} +173 -67
- package/dist/chunk-V4MRFSWK.js.map +1 -0
- package/dist/{http-NZHGC5YF.js → http-FKD4GT55.js} +2 -2
- package/dist/{http-F5L466DI.js → http-TPVUGXYJ.js} +2 -2
- package/dist/index.cjs +184 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -64
- package/dist/index.d.ts +37 -64
- 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-PICGOZVG.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-FKD4GT55.js.map} +0 -0
- /package/dist/{http-NZHGC5YF.js.map → http-TPVUGXYJ.js.map} +0 -0
- /package/dist/{replay-PLACY77M.js.map → replay-PICGOZVG.js.map} +0 -0
|
@@ -99,7 +99,7 @@ function encodeRequestBody(body) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
// src/version.generated.ts
|
|
102
|
-
var __version__ = "0.
|
|
102
|
+
var __version__ = "0.43.1";
|
|
103
103
|
var __packageName__ = "@bitfab/sdk";
|
|
104
104
|
|
|
105
105
|
// src/constants.ts
|
|
@@ -1665,7 +1665,7 @@ var HttpClient = class {
|
|
|
1665
1665
|
* Start a replay session by fetching historical traces.
|
|
1666
1666
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
1667
1667
|
*/
|
|
1668
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts) {
|
|
1668
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
|
|
1669
1669
|
const payload = { traceFunctionKey };
|
|
1670
1670
|
if (limit !== void 0) {
|
|
1671
1671
|
payload.limit = limit;
|
|
@@ -1701,6 +1701,9 @@ var HttpClient = class {
|
|
|
1701
1701
|
if (attempts !== void 0 && attempts > 1) {
|
|
1702
1702
|
payload.attempts = attempts;
|
|
1703
1703
|
}
|
|
1704
|
+
if (includeOriginalMetadata) {
|
|
1705
|
+
payload.includeOriginalMetadata = true;
|
|
1706
|
+
}
|
|
1704
1707
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1705
1708
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1706
1709
|
timeout
|
|
@@ -1863,4 +1866,4 @@ export {
|
|
|
1863
1866
|
parseRetryAfterMs,
|
|
1864
1867
|
HttpClient
|
|
1865
1868
|
};
|
|
1866
|
-
//# sourceMappingURL=chunk-
|
|
1869
|
+
//# sourceMappingURL=chunk-5LY4XOUY.js.map
|