@tinycloud/replica 0.3.3-beta.0 → 0.3.3

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
@@ -97,14 +97,15 @@ worker URL. Keep old hashed worker assets available while clients referencing
97
97
  them may still be cached.
98
98
 
99
99
  In the separate web SDK integration, the first local open loads the optional
100
- first-import chunk (51,925/67,138 gzip bytes ESM/CJS), deferred IndexedDB
101
- activation chunk (23,075/24,655), and worker budget (820,108). That is
102
- approximately 895,108/911,901 gzip bytes beyond the mandatory root on first
100
+ first-import chunk (51,925/67,141 gzip bytes ESM/CJS), deferred IndexedDB
101
+ activation chunk (23,117/24,700), and kv-storage worker budget (776,128). That is
102
+ approximately 851,170/867,969 gzip bytes beyond the mandatory root on first
103
103
  use; subsequent opens reuse cacheable hashed assets when the host honors the
104
104
  immutable cache policy above. These optional costs do not waive the separate
105
- mandatory-root bundle budget. The worker ceiling has zero headroom against the
106
- GitHub Bun 1.3.14 / Rust 1.99.0 measurement; its checker rejects other
107
- toolchains before comparing bytes.
105
+ mandatory-root bundle budget. The `@tinycloud/replica/browser` worker
106
+ (`replica.worker.js`) has its own 770,093 B gzip ceiling. Both worker ceilings
107
+ have zero headroom against the GitHub Bun 1.3.14 / Rust 1.99.0 measurement;
108
+ their checker rejects other toolchains before comparing bytes.
108
109
 
109
110
  ## Node and SQLite
110
111
 
@@ -2131,7 +2131,7 @@ function spawn(source) {
2131
2131
  if (source instanceof URL || typeof source === "string") return new Worker(source, { type: "module" });
2132
2132
  if (typeof source === "function") return source();
2133
2133
  }
2134
- return new Worker(new URL("./kv-storage.worker.90385a0a417a0a43c326f0992e06fa96efab6a98b1f908911419e1e8c726e0b6.js", import.meta.url), { type: "module" });
2134
+ return new Worker(new URL("./kv-storage.worker.7053f043b350479a1d24be13e5258d57d82fc07f5dc7c786fd64f949f038191a.js", import.meta.url), { type: "module" });
2135
2135
  }
2136
2136
  var WorkerConnection = class {
2137
2137
  ready;