@bitfab/sdk 0.29.0 → 0.29.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.
@@ -11,10 +11,10 @@ import {
11
11
  toJsonSafe,
12
12
  toJsonSafeReport,
13
13
  warnOnce
14
- } from "./chunk-V3XORTWI.js";
14
+ } from "./chunk-YZU6WFG2.js";
15
15
 
16
16
  // src/version.generated.ts
17
- var __version__ = "0.29.0";
17
+ var __version__ = "0.29.1";
18
18
 
19
19
  // src/constants.ts
20
20
  var DEFAULT_SERVICE_URL = "https://bitfab.ai";
@@ -3417,7 +3417,7 @@ var Bitfab = class {
3417
3417
  dbSnapshotUsage: {
3418
3418
  neonBranchId: replayCtx.dbBranchLease.neonBranchId,
3419
3419
  snapshotTimestamp: replayCtx.dbBranchLease.snapshotTimestamp,
3420
- sourceTraceId: replayCtx.sourceBitfabTraceId,
3420
+ originalTraceId: replayCtx.sourceBitfabTraceId,
3421
3421
  accessed: replayCtx.dbSnapshotAccessed === true
3422
3422
  }
3423
3423
  }
@@ -3721,8 +3721,11 @@ var Bitfab = class {
3721
3721
  ...params.dbSnapshotUsage.snapshotTimestamp && {
3722
3722
  snapshot_timestamp: params.dbSnapshotUsage.snapshotTimestamp
3723
3723
  },
3724
- ...params.dbSnapshotUsage.sourceTraceId && {
3725
- source_trace_id: params.dbSnapshotUsage.sourceTraceId
3724
+ ...params.dbSnapshotUsage.originalTraceId && {
3725
+ original_trace_id: params.dbSnapshotUsage.originalTraceId,
3726
+ // Deprecated wire alias, kept so this SDK still reports usage
3727
+ // against servers that predate the rename.
3728
+ source_trace_id: params.dbSnapshotUsage.originalTraceId
3726
3729
  },
3727
3730
  accessed: params.dbSnapshotUsage.accessed
3728
3731
  };
@@ -3817,7 +3820,7 @@ var Bitfab = class {
3817
3820
  `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.`
3818
3821
  );
3819
3822
  }
3820
- const { replay: doReplay } = await import("./replay-HEGU3YU2.js");
3823
+ const { replay: doReplay } = await import("./replay-SKW5A7II.js");
3821
3824
  return doReplay(
3822
3825
  this.httpClient,
3823
3826
  this.serviceUrl,
@@ -4043,4 +4046,4 @@ export {
4043
4046
  BitfabFunction,
4044
4047
  finalizers
4045
4048
  };
4046
- //# sourceMappingURL=chunk-2M5AWVVQ.js.map
4049
+ //# sourceMappingURL=chunk-RTPEBWVO.js.map