-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@uppy/aws-s3-multipart: add support for presigned URL batching (#3056)
* Add first basic test for aws-s3-multipart * Add another test for GH actions run * Add whatwg-fetch to aws-s3-multipart package.json This is to satisfy linter errors, and the other s3 plugin does this as well * Adding more tests * More test progress * Tests working with nock * Add another test, for part uploaded event * Remove spec and refactor to beforeEach * S3 multipart batch presign working...in theory * Working batching and tests * Min needed for presign batch functionality * Fix lint issues * Fix syntax error in companion * Add companion batch presign endpoint * Improve tests * Fix each -> forEach * Remove .prettierrc * Adding docs and allow for headers with batch prepare * Review fixes * Rename prepareUploadPart to prepareUploadParts and use breaking changes to batch presign URLs there. * Get rid of unnecessary batchPartPresign and minNeededForPresignBatch options. Use Math.ceil(limit / 2) for min needed instead. * Fix up tests. * Fix up type tests. * Update documentation. * Review fixes * Change _ private methods to use # syntax * Minor code and docs improvements * Change Promise.resolve() microtasks to async/await
- Loading branch information
1 parent
8fb6078
commit d613b84
Showing
9 changed files
with
359 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.