Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer 21a59cb49e
*Update dist 2023-04-09 14:54:00 -04:00
Derrick Hammer 4b9c648e44
*Missing args to api call in ipns method 2023-04-09 14:53:44 -04:00
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 });
}
async ipns(cid) {
return this.callModuleReturn("ipnsResolve");
return this.callModuleReturn("ipnsResolve", { cid });
}
async activePeers() {
return this.callModuleReturn("getActivePeers");

View File

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