Compare commits
No commits in common. "21a59cb49ed40b2e85165637036da4e74729dd5b" and "cac70c39f4e913ccc66bf3d15c20387345846728" have entirely different histories.
21a59cb49e
...
cac70c39f4
|
@ -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");
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
Loading…
Reference in New Issue