@aws-sdk/s3-presigned-post 3.293.0 → 3.295.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.
@@ -1,6 +1,6 @@
1
1
  import { S3Client } from "@aws-sdk/client-s3";
2
2
  import { Conditions as PolicyEntry } from "./types";
3
- declare type Fields = Record<string, string>;
3
+ type Fields = Record<string, string>;
4
4
  export interface PresignedPostOptions {
5
5
  Bucket: string;
6
6
  Key: string;
@@ -1,6 +1,6 @@
1
1
  import { S3Client } from "@aws-sdk/client-s3";
2
2
  import { Conditions as PolicyEntry } from "./types";
3
- declare type Fields = Record<string, string>;
3
+ type Fields = Record<string, string>;
4
4
  export interface PresignedPostOptions {
5
5
  Bucket: string;
6
6
  Key: string;
@@ -1,11 +1,7 @@
1
- declare type EqualCondition = ["eq", string, string] | Record<string, string>;
2
- declare type StartsWithCondition = ["starts-with", string, string];
3
- declare type ContentLengthRangeCondition = [
4
- "content-length-range",
5
- number,
6
- number
7
- ];
8
- export declare type Conditions =
1
+ type EqualCondition = ["eq", string, string] | Record<string, string>;
2
+ type StartsWithCondition = ["starts-with", string, string];
3
+ type ContentLengthRangeCondition = ["content-length-range", number, number];
4
+ export type Conditions =
9
5
  | EqualCondition
10
6
  | StartsWithCondition
11
7
  | ContentLengthRangeCondition;
@@ -1,5 +1,5 @@
1
- declare type EqualCondition = ["eq", string, string] | Record<string, string>;
2
- declare type StartsWithCondition = ["starts-with", string, string];
3
- declare type ContentLengthRangeCondition = ["content-length-range", number, number];
4
- export declare type Conditions = EqualCondition | StartsWithCondition | ContentLengthRangeCondition;
1
+ type EqualCondition = ["eq", string, string] | Record<string, string>;
2
+ type StartsWithCondition = ["starts-with", string, string];
3
+ type ContentLengthRangeCondition = ["content-length-range", number, number];
4
+ export type Conditions = EqualCondition | StartsWithCondition | ContentLengthRangeCondition;
5
5
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/s3-presigned-post",
3
- "version": "3.293.0",
3
+ "version": "3.295.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",
@@ -21,18 +21,18 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/client-s3": "3.293.0",
25
- "@aws-sdk/middleware-endpoint": "3.292.0",
26
- "@aws-sdk/signature-v4": "3.292.0",
27
- "@aws-sdk/types": "3.292.0",
28
- "@aws-sdk/util-format-url": "3.292.0",
29
- "@aws-sdk/util-hex-encoding": "3.292.0",
30
- "@aws-sdk/util-utf8": "3.292.0",
31
- "tslib": "^2.3.1"
24
+ "@aws-sdk/client-s3": "3.295.0",
25
+ "@aws-sdk/middleware-endpoint": "3.295.0",
26
+ "@aws-sdk/signature-v4": "3.295.0",
27
+ "@aws-sdk/types": "3.295.0",
28
+ "@aws-sdk/util-format-url": "3.295.0",
29
+ "@aws-sdk/util-hex-encoding": "3.295.0",
30
+ "@aws-sdk/util-utf8": "3.295.0",
31
+ "tslib": "^2.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@aws-sdk/hash-node": "3.292.0",
35
- "@aws-sdk/protocol-http": "3.292.0",
34
+ "@aws-sdk/hash-node": "3.295.0",
35
+ "@aws-sdk/protocol-http": "3.295.0",
36
36
  "@tsconfig/recommended": "1.0.1",
37
37
  "@types/node": "^14.14.31",
38
38
  "concurrently": "7.0.0",
@@ -40,7 +40,7 @@
40
40
  "form-data": "^4.0.0",
41
41
  "rimraf": "3.0.2",
42
42
  "typedoc": "0.23.23",
43
- "typescript": "~4.6.2"
43
+ "typescript": "~4.9.5"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=14.0.0"