bitfab 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-2TVORTY7.js → chunk-3VHHLXEJ.js} +6 -3
- package/dist/{chunk-2TVORTY7.js.map → chunk-3VHHLXEJ.js.map} +1 -1
- package/dist/{chunk-DGVHJW43.js → chunk-CPMT6Y43.js} +6 -3
- package/dist/{chunk-DGVHJW43.js.map → chunk-CPMT6Y43.js.map} +1 -1
- package/dist/{chunk-4SGG6G4O.js → chunk-I6SVO5KX.js} +4 -3
- package/dist/chunk-I6SVO5KX.js.map +1 -0
- package/dist/{chunk-VBKLWDPP.js → chunk-JXDMOPST.js} +6 -6
- package/dist/{chunk-VBKLWDPP.js.map → chunk-JXDMOPST.js.map} +1 -1
- package/dist/{http-4VKISP7F.js → http-42E3SI2N.js} +2 -2
- package/dist/{http-AMWUT3JO.js → http-YN67UB3K.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-AGVP5TEA.js → replay-QMTLYKMX.js} +3 -3
- package/dist/replayCli.js +8 -2
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-4SGG6G4O.js.map +0 -1
- /package/dist/{http-4VKISP7F.js.map → http-42E3SI2N.js.map} +0 -0
- /package/dist/{http-AMWUT3JO.js.map → http-YN67UB3K.js.map} +0 -0
- /package/dist/{replay-AGVP5TEA.js.map → replay-QMTLYKMX.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3VHHLXEJ.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-42E3SI2N.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CPMT6Y43.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-YN67UB3K.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -51,7 +51,7 @@ var __version__, __packageName__;
|
|
|
51
51
|
var init_version_generated = __esm({
|
|
52
52
|
"src/version.generated.ts"() {
|
|
53
53
|
"use strict";
|
|
54
|
-
__version__ = "0.
|
|
54
|
+
__version__ = "0.48.0";
|
|
55
55
|
__packageName__ = "bitfab";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -1856,7 +1856,7 @@ var init_http = __esm({
|
|
|
1856
1856
|
* Start a replay session by fetching historical traces.
|
|
1857
1857
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
1858
1858
|
*/
|
|
1859
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata) {
|
|
1859
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetId, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
1860
1860
|
const payload = { traceFunctionKey };
|
|
1861
1861
|
if (limit !== void 0) {
|
|
1862
1862
|
payload.limit = limit;
|
|
@@ -1895,6 +1895,9 @@ var init_http = __esm({
|
|
|
1895
1895
|
if (includeOriginalMetadata) {
|
|
1896
1896
|
payload.includeOriginalMetadata = true;
|
|
1897
1897
|
}
|
|
1898
|
+
if (onlyWithAssertions) {
|
|
1899
|
+
payload.onlyWithAssertions = true;
|
|
1900
|
+
}
|
|
1898
1901
|
const timeout = includeDbBranchLease ? REPLAY_DB_BRANCH_REQUEST_TIMEOUT_MS : 3e4;
|
|
1899
1902
|
return this.request("/api/sdk/replay/start", payload, {
|
|
1900
1903
|
timeout
|
|
@@ -2960,7 +2963,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
2960
2963
|
options?.graderIds,
|
|
2961
2964
|
resolveDbBranchSettings(options?.dbBranch),
|
|
2962
2965
|
attempts,
|
|
2963
|
-
options?.adaptInputs !== void 0
|
|
2966
|
+
options?.adaptInputs !== void 0,
|
|
2967
|
+
options?.onlyWithAssertions
|
|
2964
2968
|
);
|
|
2965
2969
|
if (serverItems.length === 0) {
|
|
2966
2970
|
try {
|