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, uploadWebappRequest,
} from "./methods/upload.js"; } from "./methods/upload.js";
import { import {
downloadBlob,
downloadData, downloadData,
downloadFile, downloadFile,
downloadProof,
getCidUrl, getCidUrl,
getMetadata, getMetadata,
} from "./methods/download.js"; } from "./methods/download.js";
@ -45,6 +47,8 @@ export class S5Client {
uploadWebapp = uploadWebapp; uploadWebapp = uploadWebapp;
downloadFile = downloadFile; downloadFile = downloadFile;
downloadData = downloadData; downloadData = downloadData;
downloadBlob = downloadBlob;
downloadProof = downloadProof;
getCidUrl = getCidUrl; getCidUrl = getCidUrl;
getMetadata = getMetadata; getMetadata = getMetadata;
// Registry // Registry