feat: add stat method

This commit is contained in:
Derrick Hammer 2023-11-17 09:22:35 -05:00
parent 48bb04a42e
commit 7aa6225b4e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ export class S5Client extends NetworkClient {
public async cat(cid: string) {
return this.callModuleReturn("cat", { cid });
}
public async stat(cid: string) {
return this.callModuleReturn("stat", { cid });
}
}
export const createClient = factory<S5Client>(S5Client, MODULE);