Compare commits
2 Commits
cac70c39f4
...
21a59cb49e
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 21a59cb49e | |
Derrick Hammer | 4b9c648e44 |
|
@ -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");
|
return this.callModuleReturn("ipnsResolve", { cid });
|
||||||
}
|
}
|
||||||
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");
|
return this.callModuleReturn("ipnsResolve", { cid });
|
||||||
}
|
}
|
||||||
|
|
||||||
public async activePeers(): Promise<number> {
|
public async activePeers(): Promise<number> {
|
||||||
|
|
Loading…
Reference in New Issue