@aws-sdk/s3-presigned-post 3.105.0 → 3.110.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/s3-presigned-post
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/s3-presigned-post
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/s3-presigned-post
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/s3-presigned-post
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
2
2
|
import { Conditions as PolicyEntry } from "./types";
|
|
3
|
-
declare type Fields =
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
};
|
|
3
|
+
declare type Fields = Record<string, string>;
|
|
6
4
|
export interface PresignedPostOptions {
|
|
7
5
|
Bucket: string;
|
|
8
6
|
Key: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { S3Client } from "@aws-sdk/client-s3";
|
|
2
2
|
import { Conditions as PolicyEntry } from "./types";
|
|
3
|
-
declare type Fields =
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
};
|
|
3
|
+
declare type Fields = Record<string, string>;
|
|
6
4
|
export interface PresignedPostOptions {
|
|
7
5
|
Bucket: string;
|
|
8
6
|
Key: string;
|
package/dist-types/types.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
declare type EqualCondition = ["eq", string, string] |
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
};
|
|
1
|
+
declare type EqualCondition = ["eq", string, string] | Record<string, string>;
|
|
4
2
|
declare type StartsWithCondition = ["starts-with", string, string];
|
|
5
3
|
declare type ContentLengthRangeCondition = ["content-length-range", number, number];
|
|
6
4
|
export declare type Conditions = EqualCondition | StartsWithCondition | ContentLengthRangeCondition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/s3-presigned-post",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.110.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/signature-v4": "3.
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
24
|
-
"@aws-sdk/util-format-url": "3.
|
|
25
|
-
"@aws-sdk/util-hex-encoding": "3.
|
|
22
|
+
"@aws-sdk/signature-v4": "3.110.0",
|
|
23
|
+
"@aws-sdk/types": "3.110.0",
|
|
24
|
+
"@aws-sdk/util-format-url": "3.110.0",
|
|
25
|
+
"@aws-sdk/util-hex-encoding": "3.109.0",
|
|
26
26
|
"tslib": "^2.3.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@aws-sdk/client-s3": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/protocol-http": "3.
|
|
29
|
+
"@aws-sdk/client-s3": "3.110.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.110.0",
|
|
31
|
+
"@aws-sdk/protocol-http": "3.110.0",
|
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
|
33
33
|
"@types/node": "^12.0.2",
|
|
34
34
|
"concurrently": "7.0.0",
|