bitfab 0.12.0 → 0.12.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-QUCK3IU2.js → chunk-NU52P7HA.js} +6 -3
- package/dist/{chunk-QUCK3IU2.js.map → chunk-NU52P7HA.js.map} +1 -1
- package/dist/{chunk-VMJPNYAG.js → chunk-OOKZ6S64.js} +2 -2
- package/dist/{chunk-VMJPNYAG.js.map → chunk-OOKZ6S64.js.map} +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/node.cjs +5 -4
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +2 -2
- package/dist/{replay-6FKD2UEU.js → replay-UQP2XXBZ.js} +3 -5
- package/dist/replay-UQP2XXBZ.js.map +1 -0
- package/package.json +1 -1
- package/dist/replay-6FKD2UEU.js.map +0 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getReplayContext,
|
|
9
9
|
isAsyncStorageInitDone,
|
|
10
10
|
serializeValue
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OOKZ6S64.js";
|
|
12
12
|
|
|
13
13
|
// src/claudeAgentSdk.ts
|
|
14
14
|
function nowIso() {
|
|
@@ -2107,6 +2107,9 @@ var Bitfab = class {
|
|
|
2107
2107
|
});
|
|
2108
2108
|
}
|
|
2109
2109
|
void sendSpan({ result: output });
|
|
2110
|
+
if (fn.constructor.name === "AsyncFunction") {
|
|
2111
|
+
return Promise.resolve(output);
|
|
2112
|
+
}
|
|
2110
2113
|
return output;
|
|
2111
2114
|
}
|
|
2112
2115
|
}
|
|
@@ -2252,7 +2255,7 @@ var Bitfab = class {
|
|
|
2252
2255
|
* @returns ReplayResult with items, testRunId, and testRunUrl
|
|
2253
2256
|
*/
|
|
2254
2257
|
async replay(traceFunctionKey, fn, options) {
|
|
2255
|
-
const { replay: doReplay } = await import("./replay-
|
|
2258
|
+
const { replay: doReplay } = await import("./replay-UQP2XXBZ.js");
|
|
2256
2259
|
return doReplay(
|
|
2257
2260
|
this.httpClient,
|
|
2258
2261
|
this.serviceUrl,
|
|
@@ -2320,4 +2323,4 @@ export {
|
|
|
2320
2323
|
Bitfab,
|
|
2321
2324
|
BitfabFunction
|
|
2322
2325
|
};
|
|
2323
|
-
//# sourceMappingURL=chunk-
|
|
2326
|
+
//# sourceMappingURL=chunk-NU52P7HA.js.map
|