@bitfab/sdk 0.64.22 → 0.64.23

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.
Files changed (34) hide show
  1. package/cloudReplay.py +339 -93
  2. package/dist/{chunk-JW75ETS4.js → chunk-A5DSCY6A.js} +2 -2
  3. package/dist/{chunk-JW75ETS4.js.map → chunk-A5DSCY6A.js.map} +1 -1
  4. package/dist/{chunk-J2KS7A72.js → chunk-FWC3KDJ4.js} +6 -6
  5. package/dist/chunk-FWC3KDJ4.js.map +1 -0
  6. package/dist/{chunk-2GB32EA6.js → chunk-KHA4A746.js} +2 -2
  7. package/dist/{chunk-BF7GKE2O.js → chunk-WMMHAWXS.js} +11 -6
  8. package/dist/chunk-WMMHAWXS.js.map +1 -0
  9. package/dist/{chunk-JMJBLTF5.js → chunk-WS7CB5H3.js} +2 -2
  10. package/dist/{chunk-GJABR67X.js → chunk-ZNDFNAQD.js} +2 -2
  11. package/dist/{chunk-GJABR67X.js.map → chunk-ZNDFNAQD.js.map} +1 -1
  12. package/dist/{http-RXRDVPW6.js → http-M6AWJWPW.js} +2 -2
  13. package/dist/{http-P6CVDQPU.js → http-PKBJRGNK.js} +2 -2
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +3 -3
  19. package/dist/node.cjs +1 -1
  20. package/dist/node.cjs.map +1 -1
  21. package/dist/node.js +3 -3
  22. package/dist/{replay-R5XREVZ6.js → replay-JAYRFN3X.js} +3 -3
  23. package/dist/{replay-7ANKGW5V.js → replay-OCHSU4JN.js} +3 -3
  24. package/dist/replayCli.js +3 -3
  25. package/dist/seedCli.js +3 -3
  26. package/package.json +1 -1
  27. package/dist/chunk-BF7GKE2O.js.map +0 -1
  28. package/dist/chunk-J2KS7A72.js.map +0 -1
  29. /package/dist/{chunk-2GB32EA6.js.map → chunk-KHA4A746.js.map} +0 -0
  30. /package/dist/{chunk-JMJBLTF5.js.map → chunk-WS7CB5H3.js.map} +0 -0
  31. /package/dist/{http-P6CVDQPU.js.map → http-M6AWJWPW.js.map} +0 -0
  32. /package/dist/{http-RXRDVPW6.js.map → http-PKBJRGNK.js.map} +0 -0
  33. /package/dist/{replay-7ANKGW5V.js.map → replay-JAYRFN3X.js.map} +0 -0
  34. /package/dist/{replay-R5XREVZ6.js.map → replay-OCHSU4JN.js.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  unrefTimer,
10
10
  warnOnce,
11
11
  writeOnce
12
- } from "./chunk-JW75ETS4.js";
12
+ } from "./chunk-A5DSCY6A.js";
13
13
 
14
14
  // src/codeChange.ts
15
15
  var MAX_FILES = 60;
@@ -1902,4 +1902,4 @@ export {
1902
1902
  warnJudgeAssertionsDeprecated,
1903
1903
  replay
1904
1904
  };
1905
- //# sourceMappingURL=chunk-2GB32EA6.js.map
1905
+ //# sourceMappingURL=chunk-KHA4A746.js.map
@@ -6,13 +6,13 @@ import {
6
6
  serializeReplayResult,
7
7
  warnJudgeAssertionsDeprecated,
8
8
  withCliFlags
9
- } from "./chunk-2GB32EA6.js";
9
+ } from "./chunk-KHA4A746.js";
10
10
  import {
11
11
  BitfabError,
12
12
  asyncStorageReady,
13
13
  createAsyncLocalStorage,
14
14
  warnOnce
15
- } from "./chunk-JW75ETS4.js";
15
+ } from "./chunk-A5DSCY6A.js";
16
16
 
17
17
  // src/autoTrace.ts
18
18
  var autoTraceGlobal = globalThis;
@@ -204,6 +204,9 @@ function _resolvedApiKey(client) {
204
204
  const keyed = client;
205
205
  return keyed.findApiKey(true) ?? null;
206
206
  }
207
+ function _serviceUrl(client) {
208
+ return client.serviceUrl;
209
+ }
207
210
 
208
211
  // src/replayRegistry.ts
209
212
  var REGISTRATION_FIELDS = /* @__PURE__ */ new Set([
@@ -453,7 +456,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
453
456
  sessionId: seedCase.sessionId
454
457
  })
455
458
  );
456
- const { flushTraces } = await import("./http-RXRDVPW6.js");
459
+ const { flushTraces } = await import("./http-M6AWJWPW.js");
457
460
  await flushTraces(3e4);
458
461
  return { pipeline, traceFunctionKey, traceIds };
459
462
  }
@@ -900,8 +903,10 @@ async function runReplayCli(registry, argv = typeof process === "undefined" ? []
900
903
  argv.filter((arg) => arg !== PRINT_API_KEY_FLAG)
901
904
  );
902
905
  if (printApiKey) {
903
- const apiKey = _resolvedApiKey(registry[args.pipeline].client);
904
- stdout(`${API_KEY_LINE_PREFIX}${JSON.stringify({ apiKey })}`);
906
+ const client = registry[args.pipeline].client;
907
+ const apiKey = _resolvedApiKey(client);
908
+ const serviceUrl = _serviceUrl(client);
909
+ stdout(`${API_KEY_LINE_PREFIX}${JSON.stringify({ apiKey, serviceUrl })}`);
905
910
  return null;
906
911
  }
907
912
  if (args.judgeAssertionsFlag) {
@@ -1162,4 +1167,4 @@ export {
1162
1167
  runRegistryMain,
1163
1168
  runIfEntrypoint
1164
1169
  };
1165
- //# sourceMappingURL=chunk-BF7GKE2O.js.map
1170
+ //# sourceMappingURL=chunk-WMMHAWXS.js.map