diff --git a/services/gunDB/contact-api/events.js b/services/gunDB/contact-api/events.js index 70c222ca..9510a531 100644 --- a/services/gunDB/contact-api/events.js +++ b/services/gunDB/contact-api/events.js @@ -315,17 +315,17 @@ const onIncomingMessages = (cb, userPK, incomingFeedID, gun, user, SEA) => { /** * @type {Outgoings} */ -export let currentOutgoings = {} +let currentOutgoings = {} /** * @type {Outgoings} */ -export let encryptedOutgoings = {} +let encryptedOutgoings = {} /** @type {Set} */ const outgoingsListeners = new Set() -export const notifyOutgoingsListeners = () => { +const notifyOutgoingsListeners = () => { outgoingsListeners.forEach(l => l(currentOutgoings)) }