@bitfab/sdk 0.44.0 → 0.44.1
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-AX6EZPGH.js → chunk-AYEJRU7Z.js} +2 -2
- package/dist/{chunk-AX6EZPGH.js.map → chunk-AYEJRU7Z.js.map} +1 -1
- package/dist/{chunk-XYMG2FH7.js → chunk-RZF5XSM6.js} +6 -6
- package/dist/{chunk-3WIN3VU3.js → chunk-SMWYCJH6.js} +13 -5
- package/dist/chunk-SMWYCJH6.js.map +1 -0
- package/dist/{chunk-6JTVCM2L.js → chunk-XTX66R4I.js} +2 -2
- package/dist/{chunk-6JTVCM2L.js.map → chunk-XTX66R4I.js.map} +1 -1
- package/dist/{http-Q4TSO32V.js → http-CL4DNNRP.js} +2 -2
- package/dist/{http-QWUWDTFN.js → http-GHKRM3L7.js} +2 -2
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -2
- package/dist/index.d.ts +34 -2
- package/dist/index.js +3 -3
- package/dist/node.cjs +12 -4
- 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-RPB6CT6M.js → replay-IPATGCIY.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/replayCli.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3WIN3VU3.js.map +0 -1
- /package/dist/{chunk-XYMG2FH7.js.map → chunk-RZF5XSM6.js.map} +0 -0
- /package/dist/{http-Q4TSO32V.js.map → http-CL4DNNRP.js.map} +0 -0
- /package/dist/{http-QWUWDTFN.js.map → http-GHKRM3L7.js.map} +0 -0
- /package/dist/{replay-RPB6CT6M.js.map → replay-IPATGCIY.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AYEJRU7Z.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-CL4DNNRP.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
flushTraces,
|
|
7
7
|
parseRetryAfterMs,
|
|
8
8
|
serializePayloadBody
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XTX66R4I.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-GHKRM3L7.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.44.
|
|
45
|
+
__version__ = "0.44.1";
|
|
46
46
|
__packageName__ = "@bitfab/sdk";
|
|
47
47
|
}
|
|
48
48
|
});
|
|
@@ -2719,7 +2719,9 @@ async function processItem(httpClient, serverItem, fn, testRunId, mockStrategy,
|
|
|
2719
2719
|
tokens: null,
|
|
2720
2720
|
model: serverItem.originalModel ?? serverItem.model ?? null,
|
|
2721
2721
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
2722
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
2722
|
+
dbBranchTimings: dbBranchTimings ?? null,
|
|
2723
|
+
traceOutline: null,
|
|
2724
|
+
originalTraceOutline: null
|
|
2723
2725
|
};
|
|
2724
2726
|
}
|
|
2725
2727
|
try {
|
|
@@ -2803,7 +2805,9 @@ async function processItem(httpClient, serverItem, fn, testRunId, mockStrategy,
|
|
|
2803
2805
|
tokens: null,
|
|
2804
2806
|
model: originalModel,
|
|
2805
2807
|
dbSnapshotRef: dbSnapshotRef ?? null,
|
|
2806
|
-
dbBranchTimings: dbBranchTimings ?? null
|
|
2808
|
+
dbBranchTimings: dbBranchTimings ?? null,
|
|
2809
|
+
traceOutline: null,
|
|
2810
|
+
originalTraceOutline: null
|
|
2807
2811
|
};
|
|
2808
2812
|
}
|
|
2809
2813
|
async function waitForReplayPersistence(httpClient, testRunId, replayedTraceIds) {
|
|
@@ -3058,7 +3062,9 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
3058
3062
|
tokens: item.tokens,
|
|
3059
3063
|
model: item.model,
|
|
3060
3064
|
dbSnapshotRef: item.dbSnapshotRef,
|
|
3061
|
-
dbBranchTimings: item.dbBranchTimings
|
|
3065
|
+
dbBranchTimings: item.dbBranchTimings,
|
|
3066
|
+
traceOutline: item.traceOutline,
|
|
3067
|
+
originalTraceOutline: item.originalTraceOutline
|
|
3062
3068
|
}
|
|
3063
3069
|
});
|
|
3064
3070
|
} catch {
|
|
@@ -3138,7 +3144,9 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
3138
3144
|
}
|
|
3139
3145
|
if (mapped !== void 0) {
|
|
3140
3146
|
item.tokens = replayTokens?.[mapped] ?? null;
|
|
3147
|
+
item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
|
|
3141
3148
|
}
|
|
3149
|
+
item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
|
|
3142
3150
|
}
|
|
3143
3151
|
if (completedCount > 0 && missing.length === completedCount) {
|
|
3144
3152
|
const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";
|