*Update dist

This commit is contained in:
Derrick Hammer 2023-02-17 21:03:50 -05:00
parent 7028609da4
commit ee3e71351c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -76,7 +76,7 @@ export class SwarmClient extends Client {
} }
async join(topic) { async join(topic) {
if (typeof topic === "string") { if (typeof topic === "string") {
topic = blake2b(topic); topic = blake2b(topic, { dkLen: 32 });
} }
this._topics.add(topic); this._topics.add(topic);
this.callModule("join", { id: this.id, topic }); this.callModule("join", { id: this.id, topic });