fix: add download methods to client

This commit is contained in:
Derrick Hammer 2024-02-13 00:30:13 -05:00
parent 9510735005
commit e9f4b03979
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -17,8 +17,10 @@ import {
uploadWebappRequest,
} from "./methods/upload.js";
import {
downloadBlob,
downloadData,
downloadFile,
downloadProof,
getCidUrl,
getMetadata,
} from "./methods/download.js";
@ -45,6 +47,8 @@ export class S5Client {
uploadWebapp = uploadWebapp;
downloadFile = downloadFile;
downloadData = downloadData;
downloadBlob = downloadBlob;
downloadProof = downloadProof;
getCidUrl = getCidUrl;
getMetadata = getMetadata;
// Registry