@bitfab/sdk 0.36.13 → 0.38.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.
@@ -16,7 +16,7 @@ import {
16
16
  toJsonSafe,
17
17
  toJsonSafeReport,
18
18
  warnOnce
19
- } from "./chunk-VOUV7ZTS.js";
19
+ } from "./chunk-MGA7ROIK.js";
20
20
 
21
21
  // src/processorPayload.ts
22
22
  var SERIALIZATION_DEGRADED_STEP = "serialization_degraded";
@@ -2961,7 +2961,8 @@ var Bitfab = class {
2961
2961
  snapshotTimestamp: replayCtx.dbBranchLease.snapshotTimestamp,
2962
2962
  region: replayCtx.dbBranchLease.region,
2963
2963
  originalTraceId: replayCtx.sourceBitfabTraceId,
2964
- accessed: replayCtx.dbSnapshotAccessed === true
2964
+ accessed: replayCtx.dbSnapshotAccessed === true,
2965
+ timings: replayCtx.dbBranchTimings
2965
2966
  }
2966
2967
  }
2967
2968
  });
@@ -3293,7 +3294,13 @@ var Bitfab = class {
3293
3294
  // against servers that predate the rename.
3294
3295
  source_trace_id: params.dbSnapshotUsage.originalTraceId
3295
3296
  },
3296
- accessed: params.dbSnapshotUsage.accessed
3297
+ accessed: params.dbSnapshotUsage.accessed,
3298
+ // Echoed verbatim (camelCase inside) rather than re-cased into this
3299
+ // record's snake_case: it is the server's own object coming back, and
3300
+ // a translation layer here is one more thing to drift.
3301
+ ...params.dbSnapshotUsage.timings && {
3302
+ timings: params.dbSnapshotUsage.timings
3303
+ }
3297
3304
  };
3298
3305
  }
3299
3306
  this.httpClient.sendExternalTrace({
@@ -3388,7 +3395,7 @@ var Bitfab = class {
3388
3395
  `Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
3389
3396
  );
3390
3397
  }
3391
- const { replay: doReplay } = await import("./replay-WHZFV6OB.js");
3398
+ const { replay: doReplay } = await import("./replay-WSFDZ2UV.js");
3392
3399
  return doReplay(
3393
3400
  this.httpClient,
3394
3401
  this.serviceUrl,
@@ -3626,4 +3633,4 @@ export {
3626
3633
  BitfabFunction,
3627
3634
  finalizers
3628
3635
  };
3629
- //# sourceMappingURL=chunk-XAQJOZMJ.js.map
3636
+ //# sourceMappingURL=chunk-WD4AO3BK.js.map