@aws-sdk/lib-storage 3.460.0 → 3.461.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-types/Upload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { CompleteMultipartUploadCommandOutput } from "@aws-sdk/client-s3";
|
|
3
3
|
import { EventEmitter } from "events";
|
|
4
4
|
import { BodyDataTypes, Options, Progress } from "./types";
|
|
5
5
|
export interface RawDataPart {
|
|
@@ -30,7 +30,7 @@ export declare class Upload extends EventEmitter {
|
|
|
30
30
|
private singleUploadResult?;
|
|
31
31
|
constructor(options: Options);
|
|
32
32
|
abort(): Promise<void>;
|
|
33
|
-
done(): Promise<CompleteMultipartUploadCommandOutput
|
|
33
|
+
done(): Promise<CompleteMultipartUploadCommandOutput>;
|
|
34
34
|
on(event: "httpUploadProgress", listener: (progress: Progress) => void): this;
|
|
35
35
|
private __uploadUsingPut;
|
|
36
36
|
private __createMultipartUpload;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AbortMultipartUploadCommandOutput,
|
|
3
|
-
CompleteMultipartUploadCommandOutput,
|
|
4
|
-
} from "@aws-sdk/client-s3";
|
|
1
|
+
import { CompleteMultipartUploadCommandOutput } from "@aws-sdk/client-s3";
|
|
5
2
|
import { EventEmitter } from "events";
|
|
6
3
|
import { BodyDataTypes, Options, Progress } from "./types";
|
|
7
4
|
export interface RawDataPart {
|
|
@@ -29,9 +26,7 @@ export declare class Upload extends EventEmitter {
|
|
|
29
26
|
private singleUploadResult?;
|
|
30
27
|
constructor(options: Options);
|
|
31
28
|
abort(): Promise<void>;
|
|
32
|
-
done(): Promise<
|
|
33
|
-
CompleteMultipartUploadCommandOutput | AbortMultipartUploadCommandOutput
|
|
34
|
-
>;
|
|
29
|
+
done(): Promise<CompleteMultipartUploadCommandOutput>;
|
|
35
30
|
on(event: "httpUploadProgress", listener: (progress: Progress) => void): this;
|
|
36
31
|
private __uploadUsingPut;
|
|
37
32
|
private __createMultipartUpload;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-storage",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.461.0",
|
|
4
4
|
"description": "Storage higher order operation",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@aws-sdk/client-s3": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@aws-sdk/client-s3": "3.
|
|
40
|
+
"@aws-sdk/client-s3": "3.461.0",
|
|
41
41
|
"@smithy/types": "^2.5.0",
|
|
42
42
|
"@tsconfig/recommended": "1.0.1",
|
|
43
43
|
"@types/node": "^14.14.31",
|