@aws-sdk/lib-storage 3.882.0 → 3.884.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/ts3.4/types.d.ts +14 -2
- package/dist-types/types.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CompleteMultipartUploadCommandInput,
|
|
3
|
+
CreateMultipartUploadCommandInput,
|
|
4
|
+
PutObjectCommandInput,
|
|
5
|
+
S3Client,
|
|
6
|
+
Tag,
|
|
7
|
+
UploadPartCommandInput,
|
|
8
|
+
} from "@aws-sdk/client-s3";
|
|
2
9
|
import { AbortController } from "@smithy/types";
|
|
3
10
|
export interface Progress {
|
|
4
11
|
loaded?: number;
|
|
@@ -17,6 +24,11 @@ export interface Configuration {
|
|
|
17
24
|
abortController?: AbortController;
|
|
18
25
|
}
|
|
19
26
|
export interface Options extends Partial<Configuration> {
|
|
20
|
-
params: PutObjectCommandInput
|
|
27
|
+
params: PutObjectCommandInput &
|
|
28
|
+
Partial<
|
|
29
|
+
CreateMultipartUploadCommandInput &
|
|
30
|
+
UploadPartCommandInput &
|
|
31
|
+
CompleteMultipartUploadCommandInput
|
|
32
|
+
>;
|
|
21
33
|
client: S3Client;
|
|
22
34
|
}
|
package/dist-types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PutObjectCommandInput, S3Client, Tag } from "@aws-sdk/client-s3";
|
|
1
|
+
import { CompleteMultipartUploadCommandInput, CreateMultipartUploadCommandInput, PutObjectCommandInput, S3Client, Tag, UploadPartCommandInput } from "@aws-sdk/client-s3";
|
|
2
2
|
import type { AbortController } from "@smithy/types";
|
|
3
3
|
export interface Progress {
|
|
4
4
|
loaded?: number;
|
|
@@ -42,7 +42,7 @@ export interface Options extends Partial<Configuration> {
|
|
|
42
42
|
/**
|
|
43
43
|
* This is the data that is uploaded.
|
|
44
44
|
*/
|
|
45
|
-
params: PutObjectCommandInput
|
|
45
|
+
params: PutObjectCommandInput & Partial<CreateMultipartUploadCommandInput & UploadPartCommandInput & CompleteMultipartUploadCommandInput>;
|
|
46
46
|
/**
|
|
47
47
|
* A service client.
|
|
48
48
|
* This the target where we upload data.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-storage",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.884.0",
|
|
4
4
|
"description": "Storage higher order operation",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"tslib": "^2.6.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@aws-sdk/client-s3": "^3.
|
|
40
|
+
"@aws-sdk/client-s3": "^3.884.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@aws-sdk/client-s3": "3.
|
|
43
|
+
"@aws-sdk/client-s3": "3.884.0",
|
|
44
44
|
"@smithy/types": "^4.3.2",
|
|
45
45
|
"@tsconfig/recommended": "1.0.1",
|
|
46
46
|
"@types/node": "^18.19.69",
|