From ee3e71351c7aa61b2319450acfaedbe86d2eb369 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 17 Feb 2023 21:03:50 -0500 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index ea8f73b..7271480 100644 --- a/dist/index.js +++ b/dist/index.js @@ -76,7 +76,7 @@ export class SwarmClient extends Client { } async join(topic) { if (typeof topic === "string") { - topic = blake2b(topic); + topic = blake2b(topic, { dkLen: 32 }); } this._topics.add(topic); this.callModule("join", { id: this.id, topic });