@openfairygui/backend 0.5.0 → 0.6.1

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/README.md CHANGED
@@ -26,7 +26,7 @@ It also provides:
26
26
  - backend contract versioning surface
27
27
  - compatibility policy
28
28
  - polling runtime events with per-runtime monotonic sequence and bounded retention
29
- - `cache.refresh` in-memory jobs with cooperative cancel and terminal retention
29
+ - synchronous cache refresh returning a detached revision-bound snapshot
30
30
  - revision-bound derived read-only cache snapshots
31
31
  - revision-bound project identity outlines for transaction planning
32
32
  - bounded, detached public UAM model and primary resource-byte reads with edit-revision checks
@@ -53,7 +53,7 @@ unrepresented persisted properties expose `uamFidelity: 'unsupported'`, and writ
53
53
  `uam_fidelity_unsupported`. Existing projects in browser storage must be opened through this path by
54
54
  injecting `createBackendStorageFileSystem(storage)` into `BackendRuntime`; `openProjectSession` is only
55
55
  for sessions whose supplied UAM project is authoritative. Transactions, saves, and materialization are
56
- serialized per session.
56
+ serialized per session together with close. Opening and storage rebinding reserve the canonical target before asynchronous I/O; failed rebinding retains the original session binding.
57
57
 
58
58
  ## Relationship to other packages
59
59
 
@@ -145,7 +145,7 @@ console.log(capabilities.data.compatibilityPolicy.incompatibleChange);
145
145
 
146
146
  const refresh = runtime.refreshCache({ sessionId: opened.data.sessionId });
147
147
  if (refresh.ok) {
148
- console.log(refresh.data.kind, refresh.data.status);
148
+ console.log(refresh.data.cacheRevision, refresh.data.entries);
149
149
  }
150
150
 
151
151
  await runtime.closeSession({ sessionId: opened.data.sessionId });