@bitfab/sdk 0.46.0 → 0.48.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-RIMNDJP3.js → chunk-I6MWT34L.js} +6 -3
- package/dist/{chunk-RIMNDJP3.js.map → chunk-I6MWT34L.js.map} +1 -1
- package/dist/{chunk-WVGPOCCT.js → chunk-LUDC6WMA.js} +4 -3
- package/dist/chunk-LUDC6WMA.js.map +1 -0
- package/dist/{chunk-HSLKCBA3.js → chunk-OKSCUFJ6.js} +6 -3
- package/dist/{chunk-HSLKCBA3.js.map → chunk-OKSCUFJ6.js.map} +1 -1
- package/dist/{chunk-OS62EZ6Y.js → chunk-ZIPITG22.js} +6 -6
- package/dist/chunk-ZIPITG22.js.map +1 -0
- package/dist/{http-RKVEWOUX.js → http-CGTUTKK3.js} +2 -2
- package/dist/{http-LVSVWTKO.js → http-MO5ZRPA6.js} +2 -2
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +3 -3
- package/dist/node.cjs +7 -3
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-Q2YYL5HB.js → replay-QFH4XW4T.js} +3 -3
- package/dist/replayCli.js +8 -2
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-OS62EZ6Y.js.map +0 -1
- package/dist/chunk-WVGPOCCT.js.map +0 -1
- /package/dist/{http-LVSVWTKO.js.map → http-CGTUTKK3.js.map} +0 -0
- /package/dist/{http-RKVEWOUX.js.map → http-MO5ZRPA6.js.map} +0 -0
- /package/dist/{replay-Q2YYL5HB.js.map → replay-QFH4XW4T.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.48.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, includeOriginalMetadata) {
|
|
1681
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
1682
1682
|
const payload = { traceFunctionKey };
|
|
1683
1683
|
if (limit !== void 0) {
|
|
1684
1684
|
payload.limit = limit;
|
|
@@ -1717,6 +1717,9 @@ var HttpClient = class {
|
|
|
1717
1717
|
if (includeOriginalMetadata) {
|
|
1718
1718
|
payload.includeOriginalMetadata = true;
|
|
1719
1719
|
}
|
|
1720
|
+
if (onlyWithAssertions) {
|
|
1721
|
+
payload.onlyWithAssertions = true;
|
|
1722
|
+
}
|
|
1720
1723
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1721
1724
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1722
1725
|
timeout
|
|
@@ -1872,4 +1875,4 @@ export {
|
|
|
1872
1875
|
parseRetryAfterMs,
|
|
1873
1876
|
HttpClient
|
|
1874
1877
|
};
|
|
1875
|
-
//# sourceMappingURL=chunk-
|
|
1878
|
+
//# sourceMappingURL=chunk-I6MWT34L.js.map
|