From 1cc768167f834af63d34c421aa62726ee3f2ed31 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 18 Nov 2022 14:25:28 +0000 Subject: [PATCH] fix: uploadFile requires BlobLike not Blob --- packages/upload-client/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/upload-client/src/index.js b/packages/upload-client/src/index.js index 5de723b4e..d17e68026 100644 --- a/packages/upload-client/src/index.js +++ b/packages/upload-client/src/index.js @@ -26,7 +26,7 @@ export * from './sharding.js' * has the capability to perform the action. * * The issuer needs the `store/add` and `upload/add` delegated capability. - * @param {Blob} file File data. + * @param {import('./types').BlobLike} file File data. * @param {import('./types').UploadOptions} [options] */ export async function uploadFile(conf, file, options = {}) {