Compare commits

..

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

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -5,7 +5,7 @@ export class IPFSClient extends Client {
return this.callModuleReturn("ready");
}
async stat(cid, options) {
return this.callModuleReturn("stat", { cid, options });
return this.callModuleReturn("stat", { options });
}
ls(cid, options) {
return this.connectModuleGenerator("ls", { cid, options });

View File

@ -13,7 +13,7 @@ export class IPFSClient extends Client {
}
public async stat(cid: string, options?: Partial<StatOptions>) {
return this.callModuleReturn("stat", { cid, options });
return this.callModuleReturn("stat", { options });
}
public ls(cid: string, options?: Partial<LsOptions>): AbortableGenerator {