@bitfab/sdk 0.58.2 → 0.58.3
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-JMMFN4RO.js → chunk-E4W3LSVL.js} +6 -3
- package/dist/{chunk-JMMFN4RO.js.map → chunk-E4W3LSVL.js.map} +1 -1
- package/dist/{chunk-QK6CVPVR.js → chunk-KOWM65AV.js} +4 -3
- package/dist/chunk-KOWM65AV.js.map +1 -0
- package/dist/{chunk-FRAFDYLK.js → chunk-PHJMV6OL.js} +3 -3
- package/dist/chunk-PHJMV6OL.js.map +1 -0
- package/dist/{chunk-PR3I5UTO.js → chunk-WVFMRMV4.js} +6 -3
- package/dist/{chunk-PR3I5UTO.js.map → chunk-WVFMRMV4.js.map} +1 -1
- package/dist/{chunk-LS4AHYFJ.js → chunk-XBZO7PFX.js} +6 -6
- package/dist/chunk-XBZO7PFX.js.map +1 -0
- package/dist/{http-IEFEMFSD.js → http-ARGY6JF2.js} +2 -2
- package/dist/{http-W3ZKRIWW.js → http-ZI4BQTKT.js} +2 -2
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +3 -3
- package/dist/node.cjs +7 -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 +3 -3
- package/dist/{replay-NFSPHMXY.js → replay-OOW54JKA.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-FRAFDYLK.js.map +0 -1
- package/dist/chunk-LS4AHYFJ.js.map +0 -1
- package/dist/chunk-QK6CVPVR.js.map +0 -1
- /package/dist/{http-IEFEMFSD.js.map → http-ARGY6JF2.js.map} +0 -0
- /package/dist/{http-W3ZKRIWW.js.map → http-ZI4BQTKT.js.map} +0 -0
- /package/dist/{replay-NFSPHMXY.js.map → replay-OOW54JKA.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WVFMRMV4.js";
|
|
10
10
|
import "./chunk-VCRFFCLY.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-ARGY6JF2.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E4W3LSVL.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-ZI4BQTKT.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.58.
|
|
45
|
+
__version__ = "0.58.3";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -2878,7 +2878,7 @@ var init_http = __esm({
|
|
|
2878
2878
|
* Start a replay session by fetching historical traces.
|
|
2879
2879
|
* Blocking call - creates a test run and returns lightweight item references.
|
|
2880
2880
|
*/
|
|
2881
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions) {
|
|
2881
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions) {
|
|
2882
2882
|
const payload = { traceFunctionKey };
|
|
2883
2883
|
if (limit !== void 0) {
|
|
2884
2884
|
payload.limit = limit;
|
|
@@ -2924,6 +2924,9 @@ var init_http = __esm({
|
|
|
2924
2924
|
if (onlyWithAssertions) {
|
|
2925
2925
|
payload.onlyWithAssertions = true;
|
|
2926
2926
|
}
|
|
2927
|
+
if (judgeAssertions) {
|
|
2928
|
+
payload.judgeAssertions = true;
|
|
2929
|
+
}
|
|
2927
2930
|
const git = await resolvedGitState();
|
|
2928
2931
|
if (git && !isEmptyGitState(git)) {
|
|
2929
2932
|
payload.git = git;
|
|
@@ -4081,7 +4084,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
4081
4084
|
resolveDbBranchSettings(options?.dbBranch),
|
|
4082
4085
|
attempts,
|
|
4083
4086
|
options?.adaptInputs !== void 0,
|
|
4084
|
-
options?.onlyWithAssertions
|
|
4087
|
+
options?.onlyWithAssertions,
|
|
4088
|
+
options?.judgeAssertions
|
|
4085
4089
|
);
|
|
4086
4090
|
if (serverItems.length === 0) {
|
|
4087
4091
|
try {
|