Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/lib-storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Upload allows for easy and efficient uploading of buffers, blobs, or streams, us

const target = { Bucket, Key, Body };
try {
const paralellUploads3 = new Upload({
const parallelUploads3 = new Upload({
client: new S3({}) || new S3Client({}),
tags: [...], // optional tags
queueSize: 4, // optional concurrency configuration
Expand All @@ -22,11 +22,11 @@ Upload allows for easy and efficient uploading of buffers, blobs, or streams, us
params: target,
});

paralellUploads3.on("httpUploadProgress", (progress) => {
parallelUploads3.on("httpUploadProgress", (progress) => {
console.log(progress);
});

await paralellUploads3.done();
await parallelUploads3.done();
} catch (e) {
console.log(e);
}
Expand Down
6 changes: 3 additions & 3 deletions lib/lib-storage/example-code/upload-string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const Body =

(async () => {
const target = { Bucket, Key, Body };
const paralellUploads3 = new Upload({
const parallelUploads3 = new Upload({
client: new S3({}),
params: target,
});

paralellUploads3.on("httpUploadProgress", (progress) => {
parallelUploads3.on("httpUploadProgress", (progress) => {
console.log(progress);
});

await paralellUploads3.done();
await parallelUploads3.done();
})();