Skip to content

Commit

Permalink
fix: uploadFile requires BlobLike not Blob
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Nov 18, 2022
1 parent bb01795 commit 1cc7681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/upload-client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}) {
Expand Down

0 comments on commit 1cc7681

Please sign in to comment.