@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.
- package/dist/engine.d.ts +1 -1
- package/dist/{index-DvjTPb5T.d.ts → index-Bsx85b5l.d.ts} +6 -1
- package/dist/index.d.ts +120 -104
- package/dist/index.js +151 -20
- package/dist/index.js.map +1 -1
- package/dist/{lane-DmEqBKz4.d.ts → lane-D7xtoPJy.d.ts} +3 -2
- package/dist/testing.d.ts +7 -4
- package/package.json +5 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NodeId, a as GraphDiagnostic, b as GraphNode } from './index-
|
|
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 {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
|
|
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,
|
|
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.
|
|
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.
|
|
34
|
+
"zustand": "^5.0.16"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"typescript": "^
|
|
38
|
-
"vitest": "^
|
|
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",
|