UNPKG

@uppy/companion

Version:

OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:

9 lines (8 loc) 394 B
/** * instantiates the aws-sdk s3 client that will be used for s3 uploads. * * @param {object} companionOptions the companion options object * @param {boolean} createPresignedPostMode whether this s3 client is for createPresignedPost */ export default function s3Client(companionOptions: object, createPresignedPostMode?: boolean): S3Client; import { S3Client } from '@aws-sdk/client-s3';