Compare commits
No commits in common. "d3e45779437964bd0d2d5c03b41196f058100ebb" and "21a59cb49ed40b2e85165637036da4e74729dd5b" have entirely different histories.
d3e4577943
...
21a59cb49e
|
@ -5,7 +5,7 @@ export class IPFSClient extends Client {
|
||||||
return this.callModuleReturn("ready");
|
return this.callModuleReturn("ready");
|
||||||
}
|
}
|
||||||
async stat(cid, options) {
|
async stat(cid, options) {
|
||||||
return this.callModuleReturn("stat", { cid, options });
|
return this.callModuleReturn("stat", { options });
|
||||||
}
|
}
|
||||||
ls(cid, options) {
|
ls(cid, options) {
|
||||||
return this.connectModuleGenerator("ls", { cid, options });
|
return this.connectModuleGenerator("ls", { cid, options });
|
||||||
|
|
|
@ -13,7 +13,7 @@ export class IPFSClient extends Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async stat(cid: string, options?: Partial<StatOptions>) {
|
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 {
|
public ls(cid: string, options?: Partial<LsOptions>): AbortableGenerator {
|
||||||
|
|
Loading…
Reference in New Issue