bitfab 0.64.13 → 0.64.14
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-MRGSDZVX.js → chunk-6XEU55WF.js} +12 -6
- package/dist/{chunk-MRGSDZVX.js.map → chunk-6XEU55WF.js.map} +1 -1
- package/dist/{chunk-NZWWPT76.js → chunk-DLH4OESM.js} +8 -2
- package/dist/{chunk-NZWWPT76.js.map → chunk-DLH4OESM.js.map} +1 -1
- package/dist/{chunk-34AYKC32.js → chunk-Q5XWNTP2.js} +8 -2
- package/dist/{chunk-34AYKC32.js.map → chunk-Q5XWNTP2.js.map} +1 -1
- package/dist/{chunk-QUJBFRGL.js → chunk-WCM64ED6.js} +3 -3
- package/dist/{chunk-K64TGFIC.js → chunk-YYSL4RYF.js} +2 -2
- package/dist/{http-U5ECMEG6.js → http-VC2DY72V.js} +2 -2
- package/dist/{http-RRY6R2TH.js → http-ZZHVL3NT.js} +2 -2
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +13 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-JRXWG3LL.js → replay-WC7H2E4J.js} +3 -3
- package/dist/replayCli.js +2 -2
- package/dist/seedCli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-QUJBFRGL.js.map → chunk-WCM64ED6.js.map} +0 -0
- /package/dist/{chunk-K64TGFIC.js.map → chunk-YYSL4RYF.js.map} +0 -0
- /package/dist/{http-RRY6R2TH.js.map → http-VC2DY72V.js.map} +0 -0
- /package/dist/{http-U5ECMEG6.js.map → http-ZZHVL3NT.js.map} +0 -0
- /package/dist/{replay-JRXWG3LL.js.map → replay-WC7H2E4J.js.map} +0 -0
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
serializeValue,
|
|
18
18
|
toJsonSafe,
|
|
19
19
|
toJsonSafeReport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YYSL4RYF.js";
|
|
21
21
|
import {
|
|
22
22
|
BitfabError,
|
|
23
23
|
CONTENT_OFF_KEY,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
readEnv,
|
|
37
37
|
recordCallerTraceMetadata,
|
|
38
38
|
retireTraceMetadata
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DLH4OESM.js";
|
|
40
40
|
import {
|
|
41
41
|
__privateAdd,
|
|
42
42
|
__privateGet,
|
|
@@ -5925,6 +5925,12 @@ var Bitfab = class {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
return this.httpClient.getTraceSpan(traceId, lookup);
|
|
5927
5927
|
}
|
|
5928
|
+
async getSpan(spanId) {
|
|
5929
|
+
if (typeof spanId !== "string" || spanId.trim().length === 0) {
|
|
5930
|
+
throw new BitfabError("spanId must be a non-empty string");
|
|
5931
|
+
}
|
|
5932
|
+
return this.httpClient.getSpan(spanId);
|
|
5933
|
+
}
|
|
5928
5934
|
/**
|
|
5929
5935
|
* Get a function wrapper for a specific trace function key.
|
|
5930
5936
|
*
|
|
@@ -6277,7 +6283,7 @@ var Bitfab = class {
|
|
|
6277
6283
|
await runWithSeedContext({ traceId }, async () => target(...args));
|
|
6278
6284
|
} finally {
|
|
6279
6285
|
try {
|
|
6280
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6286
|
+
const { flushTraces: flushTraces2 } = await import("./http-VC2DY72V.js");
|
|
6281
6287
|
await flushTraces2(3e4);
|
|
6282
6288
|
} finally {
|
|
6283
6289
|
unrecorded = activeTraceStates.delete(traceId);
|
|
@@ -6336,7 +6342,7 @@ var Bitfab = class {
|
|
|
6336
6342
|
`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.`
|
|
6337
6343
|
);
|
|
6338
6344
|
}
|
|
6339
|
-
const { replay: doReplay } = await import("./replay-
|
|
6345
|
+
const { replay: doReplay } = await import("./replay-WC7H2E4J.js");
|
|
6340
6346
|
return doReplay(
|
|
6341
6347
|
this.httpClient,
|
|
6342
6348
|
this.serviceUrl,
|
|
@@ -6682,7 +6688,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
|
|
|
6682
6688
|
sessionId: seedCase.sessionId
|
|
6683
6689
|
})
|
|
6684
6690
|
);
|
|
6685
|
-
const { flushTraces: flushTraces2 } = await import("./http-
|
|
6691
|
+
const { flushTraces: flushTraces2 } = await import("./http-VC2DY72V.js");
|
|
6686
6692
|
await flushTraces2(3e4);
|
|
6687
6693
|
return { pipeline, traceFunctionKey, traceIds };
|
|
6688
6694
|
}
|
|
@@ -6727,4 +6733,4 @@ export {
|
|
|
6727
6733
|
reseedFromRegistry,
|
|
6728
6734
|
seedFromRegistry
|
|
6729
6735
|
};
|
|
6730
|
-
//# sourceMappingURL=chunk-
|
|
6736
|
+
//# sourceMappingURL=chunk-6XEU55WF.js.map
|