From eab1d70df401361f78971673ee044422b73eea09 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 24 Nov 2022 01:46:14 -0500 Subject: [PATCH] *Add connection to graph on addItem --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index a75be70..44e3fd6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -94,6 +94,7 @@ export default class DHTCache extends EventEmitter { this._cache.add(item); this._ensureItem(item); + this._addEntityConnection(this.id, item); const broadcast = () => { this._broadcastMessage({