bitfab 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-FCP5O32A.js → chunk-4AZHPORE.js} +11 -6
  3. package/dist/chunk-4AZHPORE.js.map +1 -0
  4. package/dist/chunk-FYRM6KRA.js +1905 -0
  5. package/dist/chunk-FYRM6KRA.js.map +1 -0
  6. package/dist/{chunk-QNKQCXBN.js → chunk-HYIDCLES.js} +2 -2
  7. package/dist/{chunk-ZBLESJIO.js → chunk-J76P75JP.js} +2 -2
  8. package/dist/{chunk-ZBLESJIO.js.map → chunk-J76P75JP.js.map} +1 -1
  9. package/dist/{chunk-P25SQKJ6.js → chunk-MFYWZFV6.js} +16 -2
  10. package/dist/{chunk-P25SQKJ6.js.map → chunk-MFYWZFV6.js.map} +1 -1
  11. package/dist/{chunk-XQVASY6X.js → chunk-N23USNUX.js} +204 -89
  12. package/dist/chunk-N23USNUX.js.map +1 -0
  13. package/dist/{http-UOFKNAXL.js → http-J7BSIXZV.js} +2 -2
  14. package/dist/{http-DJ43OYFJ.js → http-V3DB4PXL.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-IH6LQ5SC.js → replay-TF4ATVXC.js} +3 -3
  24. package/dist/replay-W6AODQF3.js +28 -0
  25. package/dist/replay-W6AODQF3.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-FCP5O32A.js.map +0 -1
  32. package/dist/chunk-XQVASY6X.js.map +0 -1
  33. /package/dist/{chunk-QNKQCXBN.js.map → chunk-HYIDCLES.js.map} +0 -0
  34. /package/dist/{http-DJ43OYFJ.js.map → http-J7BSIXZV.js.map} +0 -0
  35. /package/dist/{http-UOFKNAXL.js.map → http-V3DB4PXL.js.map} +0 -0
  36. /package/dist/{replay-IH6LQ5SC.js.map → replay-TF4ATVXC.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-ZBLESJIO.js";
10
+ } from "./chunk-J76P75JP.js";
11
11
  import "./chunk-MT36GJMW.js";
12
12
  export {
13
13
  BitfabError,
@@ -19,4 +19,4 @@ export {
19
19
  parseRetryAfterMs,
20
20
  serializePayloadBody
21
21
  };
22
- //# sourceMappingURL=http-UOFKNAXL.js.map
22
+ //# sourceMappingURL=http-J7BSIXZV.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-P25SQKJ6.js";
10
+ } from "./chunk-MFYWZFV6.js";
11
11
  export {
12
12
  BitfabError,
13
13
  HttpClient,
@@ -18,4 +18,4 @@ export {
18
18
  parseRetryAfterMs,
19
19
  serializePayloadBody
20
20
  };
21
- //# sourceMappingURL=http-DJ43OYFJ.js.map
21
+ //# sourceMappingURL=http-V3DB4PXL.js.map
package/dist/index.cjs CHANGED
@@ -51,7 +51,7 @@ var __version__, __packageName__;
51
51
  var init_version_generated = __esm({
52
52
  "src/version.generated.ts"() {
53
53
  "use strict";
54
- __version__ = "0.64.16";
54
+ __version__ = "0.64.18";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -9911,6 +9911,7 @@ function readEnv2(name) {
9911
9911
  return void 0;
9912
9912
  }
9913
9913
  var CAPTURE_ENABLED_ENV = "BITFAB_CAPTURE_ENABLED";
9914
+ var REPLAY_API_KEY_ENV = "BITFAB_REPLAY_BITFAB_API_KEY";
9914
9915
  var TRUE_ENV_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
9915
9916
  var FALSE_ENV_VALUES = /* @__PURE__ */ new Set(["0", "false", "no"]);
9916
9917
  function readBooleanEnv(name) {
@@ -10425,6 +10426,10 @@ var Bitfab = class {
10425
10426
  * early resolve that found nothing never poisons a later one.
10426
10427
  */
10427
10428
  findApiKey(callsKeyFunction) {
10429
+ const replayKey = readEnv2(REPLAY_API_KEY_ENV);
10430
+ if (replayKey && replayKey.trim() !== "") {
10431
+ return replayKey;
10432
+ }
10428
10433
  if (this.resolvedApiKey !== void 0) {
10429
10434
  return this.resolvedApiKey;
10430
10435
  }