Compare commits
No commits in common. "c6b595380a2ffc687589db0a932b94db6d4a144f" and "ebe2a18d91de8c5beba9920719ec8a72043d20be" have entirely different histories.
c6b595380a
...
ebe2a18d91
|
@ -10,7 +10,6 @@
|
|||
"devDependencies": {
|
||||
"@types/node": "^18.11.18",
|
||||
"prettier": "^2.8.3",
|
||||
"pretty": "^2.0.0",
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,10 +28,9 @@ export class SwarmClient extends Client {
|
|||
|
||||
return createSocket(resp.id);
|
||||
}
|
||||
async init(): Promise<ErrTuple> {
|
||||
return this.callModuleReturn("init", { swarm: this.swarm });
|
||||
}
|
||||
|
||||
async ready(): Promise<ErrTuple> {
|
||||
const dht = !this.useDefaultSwarm ? this.id : undefined;
|
||||
return this.callModuleReturn("ready", { swarm: this.swarm });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue