Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 38f28fd

Browse files
committed
Add canAppend & write info
1 parent 4b003d8 commit 38f28fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/db-manager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ class DBManager {
6666
path: db.options.path,
6767
replicate: db.options.replicate,
6868
},
69+
canAppend: db.access.write.includes(orbitdb.identity.id),
70+
write: db.access.write,
6971
type: db.type,
7072
uid: db.uid,
7173
capabilities: Object.keys( //TODO: cleanup this mess once tc39 object.fromEntries aproved

0 commit comments

Comments
 (0)