@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.
- package/dist/{chunk-2M5AWVVQ.js → chunk-RTPEBWVO.js} +10 -7
- package/dist/chunk-RTPEBWVO.js.map +1 -0
- package/dist/{chunk-V3XORTWI.js → chunk-YZU6WFG2.js} +73 -52
- package/dist/chunk-YZU6WFG2.js.map +1 -0
- package/dist/index.cjs +79 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -14
- package/dist/index.d.ts +55 -14
- package/dist/index.js +2 -2
- package/dist/node.cjs +79 -55
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-HEGU3YU2.js → replay-SKW5A7II.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2M5AWVVQ.js.map +0 -1
- package/dist/chunk-V3XORTWI.js.map +0 -1
- /package/dist/{replay-HEGU3YU2.js.map → replay-SKW5A7II.js.map} +0 -0
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
toJsonSafe,
|
|
12
12
|
toJsonSafeReport,
|
|
13
13
|
warnOnce
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YZU6WFG2.js";
|
|
15
15
|
|
|
16
16
|
// src/version.generated.ts
|
|
17
|
-
var __version__ = "0.29.
|
|
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
|
-
|
|
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.
|
|
3725
|
-
|
|
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-
|
|
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-
|
|
4049
|
+
//# sourceMappingURL=chunk-RTPEBWVO.js.map
|