@bitfab/sdk 0.47.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-RQEYVHGV.js → chunk-I6MWT34L.js} +6 -3
- package/dist/{chunk-RQEYVHGV.js.map → chunk-I6MWT34L.js.map} +1 -1
- package/dist/{chunk-G52ZQTWU.js → chunk-LUDC6WMA.js} +4 -3
- package/dist/chunk-LUDC6WMA.js.map +1 -0
- package/dist/{chunk-YKHZGYAC.js → chunk-OKSCUFJ6.js} +6 -3
- package/dist/{chunk-YKHZGYAC.js.map → chunk-OKSCUFJ6.js.map} +1 -1
- package/dist/{chunk-LP2CN7SZ.js → chunk-ZIPITG22.js} +6 -6
- package/dist/{chunk-LP2CN7SZ.js.map → chunk-ZIPITG22.js.map} +1 -1
- package/dist/{http-224ASOWH.js → http-CGTUTKK3.js} +2 -2
- package/dist/{http-BUAOWCLI.js → http-MO5ZRPA6.js} +2 -2
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -2
- package/dist/index.d.ts +14 -2
- 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-OONSKTLR.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-G52ZQTWU.js.map +0 -1
- /package/dist/{http-224ASOWH.js.map → http-CGTUTKK3.js.map} +0 -0
- /package/dist/{http-BUAOWCLI.js.map → http-MO5ZRPA6.js.map} +0 -0
- /package/dist/{replay-OONSKTLR.js.map → replay-QFH4XW4T.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I6MWT34L.js";
|
|
10
10
|
export {
|
|
11
11
|
BitfabError,
|
|
12
12
|
HttpClient,
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
parseRetryAfterMs,
|
|
17
17
|
serializePayloadBody
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=http-
|
|
19
|
+
//# sourceMappingURL=http-CGTUTKK3.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OKSCUFJ6.js";
|
|
10
10
|
import "./chunk-H6LZRFMN.js";
|
|
11
11
|
export {
|
|
12
12
|
BitfabError,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
parseRetryAfterMs,
|
|
18
18
|
serializePayloadBody
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=http-
|
|
20
|
+
//# sourceMappingURL=http-MO5ZRPA6.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var __version__, __packageName__;
|
|
|
42
42
|
var init_version_generated = __esm({
|
|
43
43
|
"src/version.generated.ts"() {
|
|
44
44
|
"use strict";
|
|
45
|
-
__version__ = "0.
|
|
45
|
+
__version__ = "0.48.0";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -1847,7 +1847,7 @@ var init_http = __esm({
|
|
|
1847
1847
|
* Start a replay session by fetching historical traces.
|
|
1848
1848
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
1849
1849
|
*/
|
|
1850
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
|
|
1850
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
1851
1851
|
const payload = { traceFunctionKey };
|
|
1852
1852
|
if (limit !== void 0) {
|
|
1853
1853
|
payload.limit = limit;
|
|
@@ -1886,6 +1886,9 @@ var init_http = __esm({
|
|
|
1886
1886
|
if (includeOriginalMetadata) {
|
|
1887
1887
|
payload.includeOriginalMetadata = true;
|
|
1888
1888
|
}
|
|
1889
|
+
if (onlyWithAssertions) {
|
|
1890
|
+
payload.onlyWithAssertions = true;
|
|
1891
|
+
}
|
|
1889
1892
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1890
1893
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1891
1894
|
timeout
|
|
@@ -2951,7 +2954,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
2951
2954
|
options?.graderIds,
|
|
2952
2955
|
resolveDbBranchSettings(options?.dbBranch),
|
|
2953
2956
|
attempts,
|
|
2954
|
-
options?.adaptInputs !== void 0
|
|
2957
|
+
options?.adaptInputs !== void 0,
|
|
2958
|
+
options?.onlyWithAssertions
|
|
2955
2959
|
);
|
|
2956
2960
|
if (serverItems.length === 0) {
|
|
2957
2961
|
try {
|