@tinycloud/replica 0.3.2 → 0.3.3-beta.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 +7 -6
- package/dist/kv-storage.js +1 -1
- package/dist/{kv-storage.worker.086d33c148a1badb6ff950bd43e9074451a8c1e1f4d09b1f4200070f4574e014.js → kv-storage.worker.bfd67d0db64c02cbbded1b7f1164e056bf2a1958e0fb77f6c41712cfb3de7076.js} +2760 -11314
- package/dist/kv-storage.worker.js +2760 -11314
- package/dist/kv-storage.worker.js.map +1 -1
- package/dist/replica.worker.js +3310 -11864
- package/dist/replica.worker.js.map +1 -1
- package/package.json +2 -2
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,
|
|
101
|
-
activation chunk (23,
|
|
102
|
-
approximately
|
|
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
|
|
106
|
-
|
|
107
|
-
|
|
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
|
|
package/dist/kv-storage.js
CHANGED
|
@@ -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.
|
|
2134
|
+
return new Worker(new URL("./kv-storage.worker.bfd67d0db64c02cbbded1b7f1164e056bf2a1958e0fb77f6c41712cfb3de7076.js", import.meta.url), { type: "module" });
|
|
2135
2135
|
}
|
|
2136
2136
|
var WorkerConnection = class {
|
|
2137
2137
|
ready;
|