@zeniai/client-epic-state 4.19.91-beta3ND → 4.19.91-beta4ND

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.
@@ -123,7 +123,7 @@ function buildClassColumns(classHierarchy, classesToFilterOut) {
123
123
  nestedClassId: c.classId,
124
124
  qboId: c.qboId,
125
125
  }))
126
- .sort((a, b) => a.className.localeCompare(b.className, undefined, { sensitivity: 'base' }));
126
+ .sort((a, b) => a.className.localeCompare(b.className, [], { sensitivity: 'base' }));
127
127
  }
128
128
  /**
129
129
  * Pivot a section from class→account→balances to account→class→balance (single period).
@@ -167,7 +167,7 @@ function pivotSectionToHorizontal(section, classColumns, title, currency) {
167
167
  if (a.depth !== b.depth) {
168
168
  return a.depth - b.depth;
169
169
  }
170
- return a.accountName.localeCompare(b.accountName, undefined, {
170
+ return a.accountName.localeCompare(b.accountName, [], {
171
171
  sensitivity: 'base',
172
172
  });
173
173
  });