@prometheus-ags/entity-graph-core 3.1.0 → 3.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @prometheus-ags/entity-graph-core
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Release the complete DevTools distribution with the synchronized 3.2.0 workspace, including bounded core event metadata and responsive React inspector search during continuous graph updates.
8
+
3
9
  ## 3.1.0
4
10
 
5
11
  ## 3.0.5
package/dist/devtools.cjs CHANGED
@@ -1858,12 +1858,22 @@ function createController(store, options) {
1858
1858
  }
1859
1859
  };
1860
1860
  if (encodedBytes2(withoutValues) <= eventBytesLimit) return withoutValues;
1861
+ const emptyWithAffectedMetadata = {
1862
+ ...withoutValues,
1863
+ payload: {
1864
+ ...withoutValues.payload,
1865
+ changes: [],
1866
+ changesOmitted: withoutValues.payload.changes.length
1867
+ }
1868
+ };
1869
+ const { affectedEntities: _affectedEntities, affectedViewIds: _affectedViewIds, ...compactPayload } = withoutValues.payload;
1870
+ const boundedBase = encodedBytes2(emptyWithAffectedMetadata) <= eventBytesLimit ? withoutValues : { ...withoutValues, payload: compactPayload };
1861
1871
  let lower = 0;
1862
1872
  let upper = withoutValues.payload.changes.length;
1863
1873
  let bounded = {
1864
- ...withoutValues,
1874
+ ...boundedBase,
1865
1875
  payload: {
1866
- ...withoutValues.payload,
1876
+ ...boundedBase.payload,
1867
1877
  changes: [],
1868
1878
  changesOmitted: withoutValues.payload.changes.length
1869
1879
  }
@@ -1871,9 +1881,9 @@ function createController(store, options) {
1871
1881
  while (lower <= upper) {
1872
1882
  const count = Math.floor((lower + upper) / 2);
1873
1883
  const candidate = {
1874
- ...withoutValues,
1884
+ ...boundedBase,
1875
1885
  payload: {
1876
- ...withoutValues.payload,
1886
+ ...boundedBase.payload,
1877
1887
  changes: withoutValues.payload.changes.slice(0, count),
1878
1888
  changesOmitted: withoutValues.payload.changes.length - count
1879
1889
  }