bitfab 0.54.6 → 0.54.7

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BitfabError
3
- } from "./chunk-IKNIY7JV.js";
3
+ } from "./chunk-VDQAIWLX.js";
4
4
 
5
5
  // src/codeChange.ts
6
6
  var NUL = String.fromCharCode(0);
@@ -207,7 +207,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
207
207
  sessionId: seedCase.sessionId
208
208
  })
209
209
  );
210
- const { flushTraces: flushTraces2 } = await import("./http-DRPXLTJS.js");
210
+ const { flushTraces: flushTraces2 } = await import("./http-NIVPIUA2.js");
211
211
  await flushTraces2(3e4);
212
212
  return { pipeline, traceFunctionKey, traceIds };
213
213
  }
@@ -744,4 +744,4 @@ export {
744
744
  runRegistryMain,
745
745
  runIfEntrypoint
746
746
  };
747
- //# sourceMappingURL=chunk-WWE3W6HF.js.map
747
+ //# sourceMappingURL=chunk-CRBJE655.js.map
@@ -187,7 +187,7 @@ function encodeRequestBody(body) {
187
187
  }
188
188
 
189
189
  // src/version.generated.ts
190
- var __version__ = "0.54.6";
190
+ var __version__ = "0.54.7";
191
191
  var __packageName__ = "bitfab";
192
192
 
193
193
  // src/constants.ts
@@ -2060,6 +2060,15 @@ var HttpClient = class {
2060
2060
  resolveApiKey() {
2061
2061
  return typeof this.apiKey === "function" ? this.apiKey() : this.apiKey;
2062
2062
  }
2063
+ /** @internal Whether this client currently has credentials for trace delivery. */
2064
+ hasApiKey() {
2065
+ try {
2066
+ const apiKey = this.resolveApiKey();
2067
+ return apiKey !== void 0 && apiKey.trim() !== "";
2068
+ } catch {
2069
+ return false;
2070
+ }
2071
+ }
2063
2072
  /**
2064
2073
  * This client's span transport, built on first use.
2065
2074
  *
@@ -2807,4 +2816,4 @@ export {
2807
2816
  parseRetryAfterMs,
2808
2817
  HttpClient
2809
2818
  };
2810
- //# sourceMappingURL=chunk-5FRFNRFA.js.map
2819
+ //# sourceMappingURL=chunk-GGMFD2ZE.js.map