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.
@@ -6,7 +6,7 @@ import {
6
6
  replayContextReady,
7
7
  runWithReplayContext,
8
8
  warnOnce
9
- } from "./chunk-5FRFNRFA.js";
9
+ } from "./chunk-GGMFD2ZE.js";
10
10
  import {
11
11
  runWithCaptureSuppressed
12
12
  } from "./chunk-VCRFFCLY.js";
@@ -1212,4 +1212,4 @@ export {
1212
1212
  sleepForReplayPersistence,
1213
1213
  replay
1214
1214
  };
1215
- //# sourceMappingURL=chunk-EBDVWYCV.js.map
1215
+ //# sourceMappingURL=chunk-ONMN7WXS.js.map
@@ -181,7 +181,7 @@ function encodeRequestBody(body) {
181
181
  }
182
182
 
183
183
  // src/version.generated.ts
184
- var __version__ = "0.54.6";
184
+ var __version__ = "0.54.7";
185
185
  var __packageName__ = "bitfab";
186
186
 
187
187
  // src/errors.ts
@@ -1641,6 +1641,15 @@ var HttpClient = class {
1641
1641
  resolveApiKey() {
1642
1642
  return typeof this.apiKey === "function" ? this.apiKey() : this.apiKey;
1643
1643
  }
1644
+ /** @internal Whether this client currently has credentials for trace delivery. */
1645
+ hasApiKey() {
1646
+ try {
1647
+ const apiKey = this.resolveApiKey();
1648
+ return apiKey !== void 0 && apiKey.trim() !== "";
1649
+ } catch {
1650
+ return false;
1651
+ }
1652
+ }
1644
1653
  /**
1645
1654
  * This client's span transport, built on first use.
1646
1655
  *
@@ -2371,4 +2380,4 @@ export {
2371
2380
  parseRetryAfterMs,
2372
2381
  HttpClient
2373
2382
  };
2374
- //# sourceMappingURL=chunk-IKNIY7JV.js.map
2383
+ //# sourceMappingURL=chunk-VDQAIWLX.js.map