diff --git a/.changeset/quiet-walls-rest.md b/.changeset/quiet-walls-rest.md new file mode 100644 index 00000000000..90a76a75318 --- /dev/null +++ b/.changeset/quiet-walls-rest.md @@ -0,0 +1,5 @@ +--- +"@thirdweb-dev/storage": patch +--- + +Pass through options diff --git a/packages/storage/src/core/storage.ts b/packages/storage/src/core/storage.ts index 65a4166204a..ccd84a423e2 100644 --- a/packages/storage/src/core/storage.ts +++ b/packages/storage/src/core/storage.ts @@ -206,7 +206,7 @@ export class ThirdwebStorage { if (files.length) { // Upload all files that came from the object - const uris = await this.uploader.uploadBatch(files); + const uris = await this.uploader.uploadBatch(files, options); // Recurse through data and replace files with hashes cleaned = replaceObjectFilesWithUris(cleaned, uris) as unknown[];