@bitfab/sdk 0.61.5 → 0.62.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-2ZUNCC2Q.js → chunk-B6GT4MMS.js} +2 -2
- package/dist/{chunk-2ZUNCC2Q.js.map → chunk-B6GT4MMS.js.map} +1 -1
- package/dist/{chunk-Y4IGLP2Z.js → chunk-CY4TLVPR.js} +3 -3
- package/dist/chunk-CY4TLVPR.js.map +1 -0
- package/dist/{chunk-NISRFSN2.js → chunk-DFDULVVB.js} +6 -6
- package/dist/{chunk-NISRFSN2.js.map → chunk-DFDULVVB.js.map} +1 -1
- package/dist/{chunk-44KG6B5D.js → chunk-HFXOZYGX.js} +6 -15
- package/dist/chunk-HFXOZYGX.js.map +1 -0
- package/dist/{chunk-ZPVWVXWC.js → chunk-TI7NSDRZ.js} +2 -2
- package/dist/{chunk-ZPVWVXWC.js.map → chunk-TI7NSDRZ.js.map} +1 -1
- package/dist/{http-JPHWWKL5.js → http-7A3HIWJE.js} +2 -2
- package/dist/{http-VKYDN6PO.js → http-AWAVEHV5.js} +2 -2
- package/dist/index.cjs +5 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -34
- package/dist/index.d.ts +2 -34
- package/dist/index.js +3 -3
- package/dist/node.cjs +5 -14
- 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-FP3L3X7Q.js → replay-IZ5FT7WM.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-44KG6B5D.js.map +0 -1
- package/dist/chunk-Y4IGLP2Z.js.map +0 -1
- /package/dist/{http-JPHWWKL5.js.map → http-7A3HIWJE.js.map} +0 -0
- /package/dist/{http-VKYDN6PO.js.map → http-AWAVEHV5.js.map} +0 -0
- /package/dist/{replay-FP3L3X7Q.js.map → replay-IZ5FT7WM.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
flushTraces,
|
|
8
8
|
parseRetryAfterMs,
|
|
9
9
|
serializePayloadBody
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TI7NSDRZ.js";
|
|
11
11
|
import "./chunk-BAOIRE5T.js";
|
|
12
12
|
export {
|
|
13
13
|
BitfabError,
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
parseRetryAfterMs,
|
|
20
20
|
serializePayloadBody
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=http-
|
|
22
|
+
//# sourceMappingURL=http-7A3HIWJE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
flushTraces,
|
|
8
8
|
parseRetryAfterMs,
|
|
9
9
|
serializePayloadBody
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B6GT4MMS.js";
|
|
11
11
|
export {
|
|
12
12
|
BitfabError,
|
|
13
13
|
HttpClient,
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
parseRetryAfterMs,
|
|
19
19
|
serializePayloadBody
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=http-
|
|
21
|
+
//# sourceMappingURL=http-AWAVEHV5.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.62.0";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -4127,8 +4127,6 @@ function carriedOverReplayItem(finished) {
|
|
|
4127
4127
|
model: null,
|
|
4128
4128
|
dbSnapshotRef: null,
|
|
4129
4129
|
dbBranchTimings: null,
|
|
4130
|
-
traceOutline: null,
|
|
4131
|
-
originalTraceOutline: null,
|
|
4132
4130
|
carriedOver: true
|
|
4133
4131
|
};
|
|
4134
4132
|
}
|
|
@@ -4421,9 +4419,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4421
4419
|
tokens: null,
|
|
4422
4420
|
model: serverItem.originalModel ?? serverItem.model ?? null,
|
|
4423
4421
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4424
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4425
|
-
traceOutline: null,
|
|
4426
|
-
originalTraceOutline: null
|
|
4422
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4427
4423
|
};
|
|
4428
4424
|
}
|
|
4429
4425
|
try {
|
|
@@ -4511,9 +4507,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
|
|
|
4511
4507
|
tokens: null,
|
|
4512
4508
|
model: originalModel,
|
|
4513
4509
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
4514
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
4515
|
-
traceOutline: null,
|
|
4516
|
-
originalTraceOutline: null
|
|
4510
|
+
dbBranchTimings: dbBranchTimings ?? null
|
|
4517
4511
|
};
|
|
4518
4512
|
}
|
|
4519
4513
|
async function waitForReplayPersistence(httpClient, experimentId, replayedTraceIds) {
|
|
@@ -4556,6 +4550,7 @@ async function waitForReplayPersistence(httpClient, experimentId, replayedTraceI
|
|
|
4556
4550
|
expectedSpanCounts
|
|
4557
4551
|
);
|
|
4558
4552
|
const ready = status.traceIds ?? {};
|
|
4553
|
+
Object.assign(readBackTraceIds, ready);
|
|
4559
4554
|
missing = Object.keys(expectedSpanCounts).filter(
|
|
4560
4555
|
(traceId) => ready[traceId] === void 0
|
|
4561
4556
|
).length;
|
|
@@ -4880,9 +4875,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4880
4875
|
tokens: item.tokens,
|
|
4881
4876
|
model: item.model,
|
|
4882
4877
|
dbSnapshotRef: item.dbSnapshotRef,
|
|
4883
|
-
dbBranchTimings: item.dbBranchTimings
|
|
4884
|
-
traceOutline: item.traceOutline,
|
|
4885
|
-
originalTraceOutline: item.originalTraceOutline
|
|
4878
|
+
dbBranchTimings: item.dbBranchTimings
|
|
4886
4879
|
}
|
|
4887
4880
|
});
|
|
4888
4881
|
} catch {
|
|
@@ -4977,9 +4970,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
|
|
|
4977
4970
|
}
|
|
4978
4971
|
if (mapped !== void 0) {
|
|
4979
4972
|
item.tokens = replayTokens?.[mapped] ?? null;
|
|
4980
|
-
item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
|
|
4981
4973
|
}
|
|
4982
|
-
item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
|
|
4983
4974
|
}
|
|
4984
4975
|
if (completedCount > 0 && missing.length === completedCount) {
|
|
4985
4976
|
const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";
|