Compare commits

..

No commits in common. "21a59cb49ed40b2e85165637036da4e74729dd5b" and "cac70c39f4e913ccc66bf3d15c20387345846728" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -14,7 +14,7 @@ export class IPFSClient extends Client {
return this.connectModuleGenerator("cat", { cid, options }); return this.connectModuleGenerator("cat", { cid, options });
} }
async ipns(cid) { async ipns(cid) {
return this.callModuleReturn("ipnsResolve", { cid }); return this.callModuleReturn("ipnsResolve");
} }
async activePeers() { async activePeers() {
return this.callModuleReturn("getActivePeers"); return this.callModuleReturn("getActivePeers");

View File

@ -25,7 +25,7 @@ export class IPFSClient extends Client {
} }
public async ipns(cid: string): Promise<string> { public async ipns(cid: string): Promise<string> {
return this.callModuleReturn("ipnsResolve", { cid }); return this.callModuleReturn("ipnsResolve");
} }
public async activePeers(): Promise<number> { public async activePeers(): Promise<number> {