@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.
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-AX6EZPGH.js";
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-Q4TSO32V.js.map
19
+ //# sourceMappingURL=http-CL4DNNRP.js.map
@@ -6,7 +6,7 @@ import {
6
6
  flushTraces,
7
7
  parseRetryAfterMs,
8
8
  serializePayloadBody
9
- } from "./chunk-6JTVCM2L.js";
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-QWUWDTFN.js.map
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.0";
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.` : "";