Compare commits

..

No commits in common. "c6b595380a2ffc687589db0a932b94db6d4a144f" and "ebe2a18d91de8c5beba9920719ec8a72043d20be" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,6 @@
"devDependencies": { "devDependencies": {
"@types/node": "^18.11.18", "@types/node": "^18.11.18",
"prettier": "^2.8.3", "prettier": "^2.8.3",
"pretty": "^2.0.0",
"typescript": "^4.9.5" "typescript": "^4.9.5"
} }
} }

View File

@ -28,10 +28,9 @@ export class SwarmClient extends Client {
return createSocket(resp.id); return createSocket(resp.id);
} }
async init(): Promise<ErrTuple> {
return this.callModuleReturn("init", { swarm: this.swarm });
}
async ready(): Promise<ErrTuple> { async ready(): Promise<ErrTuple> {
const dht = !this.useDefaultSwarm ? this.id : undefined;
return this.callModuleReturn("ready", { swarm: this.swarm }); return this.callModuleReturn("ready", { swarm: this.swarm });
} }