@yugabytedb/perf-advisor-ui 1.0.153 → 1.0.154

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.
package/dist/esm/index.js CHANGED
@@ -8073,10 +8073,11 @@ var Sk = (e, t) => {
8073
8073
  }, Wre = (e) => Sk((t) => {
8074
8074
  const r = e();
8075
8075
  if (r) {
8076
- const n = t.headers?.common ?? t.headers ?? {};
8076
+ t.headers || (t.headers = {});
8077
+ const n = t.headers.common ?? t.headers;
8077
8078
  Object.entries(r).forEach(([a, i]) => {
8078
8079
  i != null && (n[a] = i);
8079
- }), t.headers && !t.headers.common && (t.headers = n);
8080
+ });
8080
8081
  }
8081
8082
  return t;
8082
8083
  }), Dk = class {