From c534be442c327016c794e137acea94609a0e1a32 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 16 Nov 2022 10:48:09 -0500 Subject: [PATCH] *Make setData public --- src/dhtOnlineBase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhtOnlineBase.ts b/src/dhtOnlineBase.ts index 3343ec0..a222ef7 100644 --- a/src/dhtOnlineBase.ts +++ b/src/dhtOnlineBase.ts @@ -45,7 +45,7 @@ export default class DHTOnlineBase extends EventEmitter { return this.graph.node.get(this._maybeHexify(id)); } - protected setData(data: any) { + public setData(data: any) { this.data = data; this._setPeer(this.id, data);