@modernrelay/orbit-core 0.18.0 → 0.20.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.
@@ -1,4 +1,4 @@
1
- import { N as NodeId, a as GraphDiagnostic, b as GraphNode } from './index-DvjTPb5T.js';
1
+ import { N as NodeId, a as GraphDiagnostic, b as GraphNode } from './index-Bsx85b5l.js';
2
2
 
3
3
  /**
4
4
  * stage-4 non-collapsing clusters — pure derivation, no
@@ -213,4 +213,5 @@ type WorkerFactoryOption = {
213
213
  create: () => Worker;
214
214
  } | undefined;
215
215
 
216
- export { type ClusterDerivation as C, DEFAULT_CLUSTER_CENTER_RADIUS as D, type EncodedStringTable as E, type RequestClass as R, type WorkerFactoryOption as W, DEFAULT_LAYOUT_SEED as a, type WorkerEntity as b, type WorkerEnvelope as c, type WorkerTransport as d, clusterCentroids as e, collectTransfers as f, decodeStringTable as g, deriveClusters as h, encodeStringTable as i, generateClusterCenters as j, judgeEpoch as k, clusterProbe as l, resetClusterProbe as m, resolveClusterCenters as r };
216
+ export { DEFAULT_CLUSTER_CENTER_RADIUS as D, DEFAULT_LAYOUT_SEED as a, clusterCentroids as e, collectTransfers as f, decodeStringTable as g, deriveClusters as h, encodeStringTable as i, generateClusterCenters as j, judgeEpoch as k, clusterProbe as l, resetClusterProbe as m, resolveClusterCenters as r };
217
+ export type { ClusterDerivation as C, EncodedStringTable as E, RequestClass as R, WorkerFactoryOption as W, WorkerEntity as b, WorkerEnvelope as c, WorkerTransport as d };
package/dist/testing.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { aa as GraphEngine, ac as EngineCapabilities, ab as EngineCommit, aW as EngineHostEvents, aX as FitViewOptions, V as ViewportState, aY as EngineDiagnostic } from './index-DvjTPb5T.js';
2
- import { d as WorkerTransport, c as WorkerEnvelope } from './lane-DmEqBKz4.js';
3
- export { l as clusterProbe, m as resetClusterProbe } from './lane-DmEqBKz4.js';
1
+ import { aY as EngineDiagnostic } from './index-Bsx85b5l.js';
2
+ import { GraphEngine, EngineCapabilities, EngineCommit, EngineHostEvents, FitViewOptions } from './engine.js';
3
+ import { ViewportState } from './index.js';
4
+ import { WorkerTransport, WorkerEnvelope } from './index.js';
5
+ export { l as clusterProbe, m as resetClusterProbe } from './lane-D7xtoPJy.js';
4
6
 
5
7
  /**
6
8
  * FakeEngine — the public headless test seam.
@@ -211,4 +213,5 @@ interface WorkerDouble extends WorkerTransport {
211
213
  }
212
214
  declare function createWorkerDouble(): WorkerDouble;
213
215
 
214
- export { EngineDiagnostic, FakeEngine, type FakeEngineOptions, type RafAudit, type RecordedCall, type WorkerDouble, createWorkerDouble, installRafAudit };
216
+ export { EngineDiagnostic, FakeEngine, createWorkerDouble, installRafAudit };
217
+ export type { FakeEngineOptions, RafAudit, RecordedCall, WorkerDouble };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernrelay/orbit-core",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "Headless graph-visualization core: typed declarative snapshots reconciled into atomic engine commits. No React, no DOM, no engine imports.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,11 +31,12 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "zustand": "^5.0.0"
34
+ "zustand": "^5.0.16"
35
35
  },
36
36
  "devDependencies": {
37
- "typescript": "^5.6.0",
38
- "vitest": "^3.0.0"
37
+ "typescript": "^7.0.2",
38
+ "vitest": "^5.0.5",
39
+ "@types/node": "^26.6.5"
39
40
  },
40
41
  "scripts": {
41
42
  "build": "tsup",