Release rolling / release (push) Successful in 11m16s
Bump published pins (compact-encoding 3, bare-fetch/tls/https/ws 3, bare-subprocess 6, bare-signals 5, corestore 7.12, protomux 3.11, hypercore-crypto 3.7, bare-runtime 1.31) and regenerate catalogs, manifests, and kernel/seeder bundles. Adapt call sites to the new APIs: - Corestore: explicit session flush before suspend(); treeCache ctor opts - bare-crypto: KeyObject.export() instead of removed ._key - Protomux 3.11: wait for fullyOpened()/fullyClosed() on chat channels - bare-fetch: surface response.type and Headers.getSetCookie - host snapshots: bare-os 3.9 / bare-posix / bare-fs.statfs frsize - bare-subprocess 6: optional IPC channel + json serialization Keep catalog sync from wiping curated pearEntries. Teach the Node test shim to stub bare-thread/bare-worker (ESM absolute paths) and chain Bare.on so bare-timers can load. Booter 479, protocol 34, seeder 14.
16 lines
443 B
JavaScript
16 lines
443 B
JavaScript
/**
|
|
* Corestore 7.11+ constructor extras used by the seeder host store.
|
|
* `treeCache` forwards to Hypercore default storage (proof/tree node cache).
|
|
*/
|
|
export const BARE_OS_CORESTORE_TREE_CACHE = { maxSize: 8192 }
|
|
|
|
/**
|
|
* @param {Record<string, unknown>} [extra]
|
|
*/
|
|
export function bareOsCorestoreConstructOpts(extra) {
|
|
return {
|
|
treeCache: BARE_OS_CORESTORE_TREE_CACHE,
|
|
...(extra && typeof extra === 'object' ? extra : {})
|
|
}
|
|
}
|