@bitfab/sdk 0.36.13 → 0.38.0
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-XAQJOZMJ.js → chunk-LCGQUVKR.js} +12 -5
- package/dist/chunk-LCGQUVKR.js.map +1 -0
- package/dist/{chunk-VOUV7ZTS.js → chunk-SSNTMROV.js} +30 -7
- package/dist/chunk-SSNTMROV.js.map +1 -0
- package/dist/index.cjs +38 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -42
- package/dist/index.d.ts +124 -42
- package/dist/index.js +2 -2
- package/dist/node.cjs +38 -8
- 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 +2 -2
- package/dist/{replay-WHZFV6OB.js → replay-XWBIMYEE.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-VOUV7ZTS.js.map +0 -1
- package/dist/chunk-XAQJOZMJ.js.map +0 -1
- /package/dist/{replay-WHZFV6OB.js.map → replay-XWBIMYEE.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
toJsonSafe,
|
|
17
17
|
toJsonSafeReport,
|
|
18
18
|
warnOnce
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SSNTMROV.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-
|
|
3398
|
+
const { replay: doReplay } = await import("./replay-XWBIMYEE.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-
|
|
3636
|
+
//# sourceMappingURL=chunk-LCGQUVKR.js.map
|