Skip to content

Commit a2ae4cf

Browse files
committed
build(demo): add @zenfs/dom for IndexedDB-backed localstore
Brings in @zenfs/dom@1.2.9 which exposes the IndexedDB backend for ZenFS. Used to mount /home/user/.bee/mainnet/localstore on IndexedDB so retrieved chunks survive page reloads (without persisting peer/identity state).
1 parent 3773011 commit a2ae4cf

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

wasm-demo/bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wasm-demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"typescript": "^5"
1010
},
1111
"dependencies": {
12-
"@zenfs/core": "^2.4.4"
12+
"@zenfs/core": "^2.4.4",
13+
"@zenfs/dom": "^1.2.9"
1314
},
1415
"scripts": {
1516
"build": "bunx esbuild sw.js --bundle --platform=browser > sw_bundle.js"

0 commit comments

Comments
 (0)