@bitfab/sdk 0.64.16 → 0.64.18

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 (36) hide show
  1. package/cloudReplay.py +286 -24
  2. package/dist/{chunk-PAWBCEI7.js → chunk-4JZ6UMDW.js} +2 -2
  3. package/dist/{chunk-PAWBCEI7.js.map → chunk-4JZ6UMDW.js.map} +1 -1
  4. package/dist/{chunk-LOIVELPI.js → chunk-6AUI3X66.js} +204 -89
  5. package/dist/chunk-6AUI3X66.js.map +1 -0
  6. package/dist/{chunk-I4TFQZCW.js → chunk-7NPHFRQD.js} +16 -2
  7. package/dist/{chunk-I4TFQZCW.js.map → chunk-7NPHFRQD.js.map} +1 -1
  8. package/dist/{chunk-NNZAQSTW.js → chunk-ACKEEC7I.js} +2 -2
  9. package/dist/chunk-NGKTKRCV.js +1905 -0
  10. package/dist/chunk-NGKTKRCV.js.map +1 -0
  11. package/dist/{chunk-AXFKZYIY.js → chunk-ZBA4QJWF.js} +11 -6
  12. package/dist/chunk-ZBA4QJWF.js.map +1 -0
  13. package/dist/{http-QQ6VVHUZ.js → http-2BXJLZ5N.js} +2 -2
  14. package/dist/{http-LV7OUBKA.js → http-6VZBSALH.js} +2 -2
  15. package/dist/index.cjs +6 -1
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +3 -3
  20. package/dist/node.cjs +6 -1
  21. package/dist/node.cjs.map +1 -1
  22. package/dist/node.js +3 -3
  23. package/dist/{replay-JNKXZPY7.js → replay-OO2DFUAQ.js} +3 -3
  24. package/dist/replay-Z46UJQVQ.js +28 -0
  25. package/dist/replay-Z46UJQVQ.js.map +1 -0
  26. package/dist/replayCli.js +3 -2
  27. package/dist/replayCli.js.map +1 -1
  28. package/dist/seedCli.js +3 -2
  29. package/dist/seedCli.js.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunk-AXFKZYIY.js.map +0 -1
  32. package/dist/chunk-LOIVELPI.js.map +0 -1
  33. /package/dist/{chunk-NNZAQSTW.js.map → chunk-ACKEEC7I.js.map} +0 -0
  34. /package/dist/{http-LV7OUBKA.js.map → http-2BXJLZ5N.js.map} +0 -0
  35. /package/dist/{http-QQ6VVHUZ.js.map → http-6VZBSALH.js.map} +0 -0
  36. /package/dist/{replay-JNKXZPY7.js.map → replay-OO2DFUAQ.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -4095,7 +4095,7 @@ interface CommitRef {
4095
4095
  /**
4096
4096
  * SDK version from package.json (injected at build time)
4097
4097
  */
4098
- declare const __version__ = "0.64.16";
4098
+ declare const __version__ = "0.64.18";
4099
4099
 
4100
4100
  /**
4101
4101
  * Constants for the Bitfab SDK.
package/dist/index.d.ts CHANGED
@@ -4095,7 +4095,7 @@ interface CommitRef {
4095
4095
  /**
4096
4096
  * SDK version from package.json (injected at build time)
4097
4097
  */
4098
- declare const __version__ = "0.64.16";
4098
+ declare const __version__ = "0.64.18";
4099
4099
 
4100
4100
  /**
4101
4101
  * Constants for the Bitfab SDK.
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  getCurrentTrace,
28
28
  reseedFromRegistry,
29
29
  seedFromRegistry
30
- } from "./chunk-AXFKZYIY.js";
30
+ } from "./chunk-ZBA4QJWF.js";
31
31
  import "./chunk-YWXQM6J3.js";
32
32
  import {
33
33
  BITFAB_PROGRESS_PREFIX,
@@ -36,7 +36,7 @@ import {
36
36
  ReplayError,
37
37
  reportReplayProgress,
38
38
  serializeReplayResult
39
- } from "./chunk-NNZAQSTW.js";
39
+ } from "./chunk-ACKEEC7I.js";
40
40
  import {
41
41
  BitfabError,
42
42
  DEFAULT_SERVICE_URL,
@@ -44,7 +44,7 @@ import {
44
44
  MixedTracingError,
45
45
  __version__,
46
46
  flushTraces
47
- } from "./chunk-PAWBCEI7.js";
47
+ } from "./chunk-4JZ6UMDW.js";
48
48
  import "./chunk-MT36GJMW.js";
49
49
  export {
50
50
  AssertionCategoriesClient,
package/dist/node.cjs CHANGED
@@ -88,7 +88,7 @@ var __version__, __packageName__;
88
88
  var init_version_generated = __esm({
89
89
  "src/version.generated.ts"() {
90
90
  "use strict";
91
- __version__ = "0.64.16";
91
+ __version__ = "0.64.18";
92
92
  __packageName__ = "@bitfab/sdk";
93
93
  }
94
94
  });
@@ -9916,6 +9916,7 @@ function readEnv2(name) {
9916
9916
  return void 0;
9917
9917
  }
9918
9918
  var CAPTURE_ENABLED_ENV = "BITFAB_CAPTURE_ENABLED";
9919
+ var REPLAY_API_KEY_ENV = "BITFAB_REPLAY_BITFAB_API_KEY";
9919
9920
  var TRUE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
9920
9921
  var FALSE_ENV_VALUES = /* @__PURE__ */ new Set(["0", "false", "no"]);
9921
9922
  function readBooleanEnv(name) {
@@ -10430,6 +10431,10 @@ var Bitfab = class {
10430
10431
  * early resolve that found nothing never poisons a later one.
10431
10432
  */
10432
10433
  findApiKey(callsKeyFunction) {
10434
+ const replayKey = readEnv2(REPLAY_API_KEY_ENV);
10435
+ if (replayKey && replayKey.trim() !== "") {
10436
+ return replayKey;
10437
+ }
10433
10438
  if (this.resolvedApiKey !== void 0) {
10434
10439
  return this.resolvedApiKey;
10435
10440
  }