You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ const peerId //returns peerId as string
22
22
storePath: string, // leave empty to use the default temp one
23
23
bloxAddr: string, //leave empty for testing without a backend node
24
24
exchange:'noop'|'', //add noop for testing without a backend
25
-
autoFlush: boolean //Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
25
+
autoFlush: boolean, //Default to false. Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
26
+
useRelay: boolean //default to true. If true it forces the connection through relay
26
27
)
27
28
```
28
29
@@ -39,7 +40,8 @@ await fula.init(
39
40
storePath: string, // leave empty to use the default temp one
40
41
bloxAddr: string, //leave empty for testing without a backend node
41
42
exchange:'noop'|'', //add noop for testing without a backend
42
-
autoFlush: boolean //Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
43
+
autoFlush: boolean, //Default to false. Always set to false unless you know what you are doing. explicitly write data to disk after each operation if set to true
44
+
useRelay: boolean //default to true. If true it forces the connection through relay
0 commit comments