@industry-theme/principal-view-panels 0.4.8 → 0.4.9

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.
@@ -55665,19 +55665,6 @@ function getNestedValue(obj, path) {
55665
55665
  }
55666
55666
  return current;
55667
55667
  }
55668
- function setNestedValue(obj, path, value) {
55669
- const keys = path.split(".");
55670
- let current = obj;
55671
- for (let i = 0; i < keys.length - 1; i++) {
55672
- const key = keys[i];
55673
- if (current[key] === void 0 || typeof current[key] !== "object") {
55674
- current[key] = {};
55675
- }
55676
- current = current[key];
55677
- }
55678
- const lastKey = keys[keys.length - 1];
55679
- current[lastKey] = value;
55680
- }
55681
55668
  function computeAggregates(events) {
55682
55669
  const aggregates = {
55683
55670
  // Event counts
@@ -55697,9 +55684,6 @@ function computeAggregates(events) {
55697
55684
  if (event.attributes) {
55698
55685
  for (const [key, value] of Object.entries(event.attributes)) {
55699
55686
  aggregates[key] = value;
55700
- if (key.includes(".")) {
55701
- setNestedValue(aggregates, key, value);
55702
- }
55703
55687
  }
55704
55688
  }
55705
55689
  }