Repository navigation
Hashtree TypeScript runtime 0.5.42
Cold loads in browser apps are faster: file chunks are fetched concurrently, concurrent requests for the same blob share one download, and relay events reach the page without waiting on storage.
- Core 0.4.2 reads the chunks of a file concurrently.
readFileRangeand whole-file reads keep up to 16 store reads in flight (at most 8 MiB of declared chunk bytes ahead of the reader) and return the same bytes in the same order. Theprefetchoption ofreadFileStreamis unchanged. - Worker 0.4.26 shares one in-flight read between concurrent requests for the same blob. Every caller receives its own bytes, and a finished read, including a miss or an error, is never replayed to later callers.
- Worker 0.4.26 forwards relay events before persisting tree roots. Repeated and superseded root events no longer touch the store, the newest root per tree is reported once, and snapshot and root records are written in grouped transactions. A
treeRootUpdatenow follows theeventmessage it came from instead of preceding it. - Worker 0.4.26 uses nostr-pubsub 0.5.28.
- Dexie store 0.1.14 adds
putMany, which stores several blobs in one transaction.
Worker 0.4.26 depends on the core 0.4.2 and Dexie 0.1.14 archives in this release. Verify downloads with the attached SHA256SUMS; release-provenance.json lists each archive's sha512 integrity.
Source: 42ab7c8bae8a94823e286addfa9d5ca1e8332053. The hosted release workflow passed the TypeScript release gate, the worker suite including bundled-worker modes, and browser transport checks on that commit, and published the same versions to npm. Every non-manifest file in these archives (167, 14 and 243 files) is byte-equal to the published npm archive; npm publication applies its established manifest normalization.