From 7d5517b714142704dea7c79c3729a2db8c2960ff Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 11 Aug 2020 21:53:42 +0200 Subject: [PATCH] Export docs - fixes #27 --- bin/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/utils.js b/bin/utils.js index 1138961..27e1b9b 100644 --- a/bin/utils.js +++ b/bin/utils.js @@ -58,6 +58,8 @@ exports.setPersistence = persistence_ => { * @type {Map} */ const docs = new Map() +// exporting docs so that others can use it +exports.docs = docs const messageSync = 0 const messageAwareness = 1