@bitfab/sdk 0.54.5 → 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-PIF5HH3Z.js";
9
+ } from "./chunk-JF56DBPP.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-YH6YO2WS.js.map
1215
+ //# sourceMappingURL=chunk-27WMHYUI.js.map
@@ -187,7 +187,7 @@ function encodeRequestBody(body) {
187
187
  }
188
188
 
189
189
  // src/version.generated.ts
190
- var __version__ = "0.54.5";
190
+ var __version__ = "0.54.7";
191
191
  var __packageName__ = "@bitfab/sdk";
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-PIF5HH3Z.js.map
2819
+ //# sourceMappingURL=chunk-JF56DBPP.js.map