@bitfab/sdk 0.47.0 → 0.50.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-G52ZQTWU.js → chunk-6LG3OFIX.js} +4 -3
- package/dist/chunk-6LG3OFIX.js.map +1 -0
- package/dist/{chunk-LP2CN7SZ.js → chunk-BT4RNCQL.js} +62 -6
- package/dist/chunk-BT4RNCQL.js.map +1 -0
- package/dist/{chunk-RQEYVHGV.js → chunk-W5P5JAH7.js} +6 -3
- package/dist/{chunk-RQEYVHGV.js.map → chunk-W5P5JAH7.js.map} +1 -1
- package/dist/{chunk-YKHZGYAC.js → chunk-XZDYNFI5.js} +6 -3
- package/dist/{chunk-YKHZGYAC.js.map → chunk-XZDYNFI5.js.map} +1 -1
- package/dist/{http-BUAOWCLI.js → http-PFP2EQVE.js} +2 -2
- package/dist/{http-224ASOWH.js → http-W2YPLY7H.js} +2 -2
- package/dist/index.cjs +67 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +79 -3
- package/dist/index.d.ts +79 -3
- package/dist/index.js +5 -3
- package/dist/node.cjs +67 -3
- 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 +5 -3
- package/dist/node.js.map +1 -1
- package/dist/{replay-OONSKTLR.js → replay-AFX7ENZI.js} +3 -3
- package/dist/replayCli.js +8 -2
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-G52ZQTWU.js.map +0 -1
- package/dist/chunk-LP2CN7SZ.js.map +0 -1
- /package/dist/{http-224ASOWH.js.map → http-PFP2EQVE.js.map} +0 -0
- /package/dist/{http-BUAOWCLI.js.map → http-W2YPLY7H.js.map} +0 -0
- /package/dist/{replay-OONSKTLR.js.map → replay-AFX7ENZI.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.50.0";
|
|
103
103
|
var __packageName__ = "@bitfab/sdk";
|
|
104
104
|
|
|
105
105
|
// src/constants.ts
|
|
@@ -1671,7 +1671,7 @@ var HttpClient = class {
|
|
|
1671
1671
|
* Start a replay session by fetching historical traces.
|
|
1672
1672
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
1673
1673
|
*/
|
|
1674
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
|
|
1674
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
1675
1675
|
const payload = { traceFunctionKey };
|
|
1676
1676
|
if (limit !== void 0) {
|
|
1677
1677
|
payload.limit = limit;
|
|
@@ -1710,6 +1710,9 @@ var HttpClient = class {
|
|
|
1710
1710
|
if (includeOriginalMetadata) {
|
|
1711
1711
|
payload.includeOriginalMetadata = true;
|
|
1712
1712
|
}
|
|
1713
|
+
if (onlyWithAssertions) {
|
|
1714
|
+
payload.onlyWithAssertions = true;
|
|
1715
|
+
}
|
|
1713
1716
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1714
1717
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1715
1718
|
timeout
|
|
@@ -1873,4 +1876,4 @@ export {
|
|
|
1873
1876
|
parseRetryAfterMs,
|
|
1874
1877
|
HttpClient
|
|
1875
1878
|
};
|
|
1876
|
-
//# sourceMappingURL=chunk-
|
|
1879
|
+
//# sourceMappingURL=chunk-XZDYNFI5.js.map
|