From a7a3ac1d03e7606e6bd96db426bf6fdab0d9ffbb Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 19 Nov 2022 20:35:55 -0500 Subject: [PATCH] *Update class name --- test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.js b/test.js index 1011236..5368400 100644 --- a/test.js +++ b/test.js @@ -3,7 +3,7 @@ const test = require("tape"); const Hyperswarm = require("hyperswarm"); const sodium = require("sodium-universal"); const b4a = require("b4a"); -const { default: DHTOnline } = require("./"); +const { default: DHTData } = require("./"); const crypto = require("crypto"); const topicName = crypto.randomBytes(10); const topic = b4a.allocUnsafe(32); @@ -19,8 +19,8 @@ test("Basic presence test / data propagation", (t) => { const peer1 = peers.shift(); const peer2 = peers.shift(); - const p1 = new DHTOnline(peer1); - const p2 = new DHTOnline(peer2); + const p1 = new DHTData(peer1); + const p2 = new DHTData(peer2); p1.data = { message: "Hello" }; p2.data = { message: "World!" };