@burtson-labs/bandit-engine 2.0.163 → 2.0.164

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.
@@ -9516,7 +9516,7 @@ function useManagementAccess() {
9516
9516
 
9517
9517
  // src/management/management.tsx
9518
9518
  import { jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
9519
- var preloadChatPage = () => import("./chat-MRDQ2WRJ.mjs");
9519
+ var preloadChatPage = () => import("./chat-OSAVW6L2.mjs");
9520
9520
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9521
9521
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9522
9522
  if (trimmed.endsWith("/api")) {
@@ -10572,4 +10572,4 @@ export {
10572
10572
  useManagementAccess,
10573
10573
  management_default
10574
10574
  };
10575
- //# sourceMappingURL=chunk-HSGQXL4N.mjs.map
10575
+ //# sourceMappingURL=chunk-PNQRS5EN.mjs.map
package/dist/index.js CHANGED
@@ -19644,6 +19644,9 @@ function resolveTelemetryConfig(opts) {
19644
19644
  if (!hasAuth && opts.banditApiKey) {
19645
19645
  headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
19646
19646
  }
19647
+ if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
19648
+ return null;
19649
+ }
19647
19650
  const mode = opts.telemetry.mode ?? "metrics+traces";
19648
19651
  return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
19649
19652
  }