bitfab 0.57.0 → 0.57.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.
@@ -6,7 +6,7 @@ import {
6
6
  replayContextReady,
7
7
  runWithReplayContext,
8
8
  warnOnce
9
- } from "./chunk-YE75OWXI.js";
9
+ } from "./chunk-OBZQSMPQ.js";
10
10
  import {
11
11
  runWithCaptureSuppressed
12
12
  } from "./chunk-VCRFFCLY.js";
@@ -1263,4 +1263,4 @@ export {
1263
1263
  sleepForReplayPersistence,
1264
1264
  replay
1265
1265
  };
1266
- //# sourceMappingURL=chunk-JEN5MX7A.js.map
1266
+ //# sourceMappingURL=chunk-6C2SC7HK.js.map
@@ -17,7 +17,7 @@ import {
17
17
  serializeValue,
18
18
  toJsonSafe,
19
19
  toJsonSafeReport
20
- } from "./chunk-JEN5MX7A.js";
20
+ } from "./chunk-6C2SC7HK.js";
21
21
  import {
22
22
  BitfabError,
23
23
  CONTENT_OFF_KEY,
@@ -37,7 +37,7 @@ import {
37
37
  retireTraceMetadata,
38
38
  traceIdOf,
39
39
  warnOnce
40
- } from "./chunk-YE75OWXI.js";
40
+ } from "./chunk-OBZQSMPQ.js";
41
41
  import {
42
42
  __privateAdd,
43
43
  __privateGet,
@@ -6008,7 +6008,7 @@ var Bitfab = class {
6008
6008
  await runWithSeedContext({ traceId }, async () => target(...args));
6009
6009
  } finally {
6010
6010
  try {
6011
- const { flushTraces: flushTraces2 } = await import("./http-HKMIFNAR.js");
6011
+ const { flushTraces: flushTraces2 } = await import("./http-HPTD7HW6.js");
6012
6012
  await flushTraces2(3e4);
6013
6013
  } finally {
6014
6014
  unrecorded = activeTraceStates.delete(traceId);
@@ -6067,7 +6067,7 @@ var Bitfab = class {
6067
6067
  `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.`
6068
6068
  );
6069
6069
  }
6070
- const { replay: doReplay } = await import("./replay-JCY64EHP.js");
6070
+ const { replay: doReplay } = await import("./replay-FESLQSMD.js");
6071
6071
  return doReplay(
6072
6072
  this.httpClient,
6073
6073
  this.serviceUrl,
@@ -6387,7 +6387,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6387
6387
  sessionId: seedCase.sessionId
6388
6388
  })
6389
6389
  );
6390
- const { flushTraces: flushTraces2 } = await import("./http-HKMIFNAR.js");
6390
+ const { flushTraces: flushTraces2 } = await import("./http-HPTD7HW6.js");
6391
6391
  await flushTraces2(3e4);
6392
6392
  return { pipeline, traceFunctionKey, traceIds };
6393
6393
  }
@@ -6426,4 +6426,4 @@ export {
6426
6426
  reseedFromRegistry,
6427
6427
  seedFromRegistry
6428
6428
  };
6429
- //# sourceMappingURL=chunk-56USYDIX.js.map
6429
+ //# sourceMappingURL=chunk-AEF2SRQC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-3KWRBX56.js";
3
+ } from "./chunk-4NPJ3DSE.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -231,7 +231,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
231
231
  sessionId: seedCase.sessionId
232
232
  })
233
233
  );
234
- const { flushTraces: flushTraces2 } = await import("./http-33ALYZUK.js");
234
+ const { flushTraces: flushTraces2 } = await import("./http-EAWR6TM7.js");
235
235
  await flushTraces2(3e4);
236
236
  return { pipeline, traceFunctionKey, traceIds };
237
237
  }
@@ -691,7 +691,8 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
691
691
  }
692
692
 
693
693
  // src/registryCommand.ts
694
- import { tsImport } from "tsx/esm/api";
694
+ import { register } from "tsx/esm/api";
695
+ var isTypeScriptLoaderRegistered = false;
695
696
  async function parseRegistryCommandArgs(argv, usage2) {
696
697
  if (argv.some((value) => value === "--help" || value === "-h") && !argv.includes("--registry")) {
697
698
  throw new ReplayCliHelp(usage2);
@@ -712,7 +713,11 @@ async function parseRegistryCommandArgs(argv, usage2) {
712
713
  }
713
714
  async function importRegistry(path) {
714
715
  const { pathToFileURL } = await import("url");
715
- return tsImport(pathToFileURL(path).href, import.meta.url);
716
+ if (!isTypeScriptLoaderRegistered) {
717
+ register();
718
+ isTypeScriptLoaderRegistered = true;
719
+ }
720
+ return import(pathToFileURL(path).href);
716
721
  }
717
722
  function resolveRegistry(moduleValue, path) {
718
723
  if (typeof moduleValue !== "object" || moduleValue === null) {
@@ -774,4 +779,4 @@ export {
774
779
  runRegistryMain,
775
780
  runIfEntrypoint
776
781
  };
777
- //# sourceMappingURL=chunk-FZNBGX2R.js.map
782
+ //# sourceMappingURL=chunk-HYKP33MS.js.map