Compare commits
2 Commits
21a59cb49e
...
d3e4577943
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | d3e4577943 | |
Derrick Hammer | d813e271f0 |
|
@ -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", { options });
|
return this.callModuleReturn("stat", { cid, 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", { options });
|
return this.callModuleReturn("stat", { cid, options });
|
||||||
}
|
}
|
||||||
|
|
||||||
public ls(cid: string, options?: Partial<LsOptions>): AbortableGenerator {
|
public ls(cid: string, options?: Partial<LsOptions>): AbortableGenerator {
|
||||||
|
|
Loading…
Reference in New Issue