bitfab 0.28.6 → 0.28.7
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-P4YXY7J4.js → chunk-TIMBGA3A.js} +12 -2
- package/dist/chunk-TIMBGA3A.js.map +1 -0
- package/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +1 -1
- package/dist/node.cjs +11 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-P4YXY7J4.js.map +0 -1
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-5E4BUIYA.js";
|
|
14
14
|
|
|
15
15
|
// src/version.generated.ts
|
|
16
|
-
var __version__ = "0.28.
|
|
16
|
+
var __version__ = "0.28.7";
|
|
17
17
|
|
|
18
18
|
// src/constants.ts
|
|
19
19
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -2641,6 +2641,8 @@ var noOpTrace = {
|
|
|
2641
2641
|
setMetadata() {
|
|
2642
2642
|
},
|
|
2643
2643
|
addContext() {
|
|
2644
|
+
},
|
|
2645
|
+
drop() {
|
|
2644
2646
|
}
|
|
2645
2647
|
};
|
|
2646
2648
|
function getCurrentSpan() {
|
|
@@ -2717,6 +2719,12 @@ function getCurrentTrace() {
|
|
|
2717
2719
|
traceState.contexts.push(context);
|
|
2718
2720
|
} catch {
|
|
2719
2721
|
}
|
|
2722
|
+
},
|
|
2723
|
+
drop() {
|
|
2724
|
+
try {
|
|
2725
|
+
getOrCreateTraceState().dropped = true;
|
|
2726
|
+
} catch {
|
|
2727
|
+
}
|
|
2720
2728
|
}
|
|
2721
2729
|
};
|
|
2722
2730
|
}
|
|
@@ -3306,6 +3314,7 @@ var Bitfab = class {
|
|
|
3306
3314
|
testRunId: traceState?.testRunId,
|
|
3307
3315
|
inputSourceTraceId: traceState?.inputSourceTraceId,
|
|
3308
3316
|
dbSnapshotRef: traceState?.dbSnapshotRef,
|
|
3317
|
+
dropped: traceState?.dropped,
|
|
3309
3318
|
// Built AFTER the wrapped fn finished, so `accessed` reflects
|
|
3310
3319
|
// whether customer code obtained the branch URL during this
|
|
3311
3320
|
// item. Omitted entirely when no lease was attached, so the
|
|
@@ -3551,6 +3560,7 @@ var Bitfab = class {
|
|
|
3551
3560
|
traceFunctionKey: params.traceFunctionKey,
|
|
3552
3561
|
externalTrace: rawTrace,
|
|
3553
3562
|
completed: true,
|
|
3563
|
+
...params.dropped && { dropped: true },
|
|
3554
3564
|
...params.sessionId && { sessionId: params.sessionId },
|
|
3555
3565
|
...params.testRunId && { testRunId: params.testRunId }
|
|
3556
3566
|
});
|
|
@@ -3867,4 +3877,4 @@ export {
|
|
|
3867
3877
|
BitfabFunction,
|
|
3868
3878
|
finalizers
|
|
3869
3879
|
};
|
|
3870
|
-
//# sourceMappingURL=chunk-
|
|
3880
|
+
//# sourceMappingURL=chunk-TIMBGA3A.js.map
|