@aws-sdk/client-s3 3.1015.0 → 3.1017.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-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
-
const
|
|
5
|
+
const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
|
|
6
6
|
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -35,7 +35,7 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
},
|
|
36
36
|
],
|
|
37
37
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
38
|
-
protocol: config?.protocol ??
|
|
38
|
+
protocol: config?.protocol ?? middleware_sdk_s3_1.S3RestXmlProtocol,
|
|
39
39
|
protocolSettings: config?.protocolSettings ?? {
|
|
40
40
|
defaultNamespace: "com.amazonaws.s3",
|
|
41
41
|
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
2
|
+
import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
4
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
5
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -32,7 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
32
|
},
|
|
33
33
|
],
|
|
34
34
|
logger: config?.logger ?? new NoOpLogger(),
|
|
35
|
-
protocol: config?.protocol ??
|
|
35
|
+
protocol: config?.protocol ?? S3RestXmlProtocol,
|
|
36
36
|
protocolSettings: config?.protocolSettings ?? {
|
|
37
37
|
defaultNamespace: "com.amazonaws.s3",
|
|
38
38
|
errorTypeRegistries,
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
23
23
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
24
|
cacheMiddleware?: boolean | undefined;
|
|
25
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/
|
|
25
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
26
26
|
protocolSettings: {
|
|
27
27
|
defaultNamespace?: string;
|
|
28
28
|
[setting: string]: unknown;
|
|
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
30
30
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
31
|
userAgentAppId: string | import("@aws-sdk/types").Provider<string | undefined>;
|
|
32
32
|
cacheMiddleware?: boolean | undefined;
|
|
33
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/
|
|
33
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
34
34
|
protocolSettings: {
|
|
35
35
|
defaultNamespace?: string;
|
|
36
36
|
[setting: string]: unknown;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
3
|
import { getAwsChunkedEncodingStream } from "@smithy/util-stream";
|
|
4
4
|
import type { S3ClientConfig } from "./S3Client";
|
|
@@ -18,7 +18,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
18
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
|
|
19
19
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
20
20
|
logger: import("@smithy/types").Logger;
|
|
21
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof S3RestXmlProtocol;
|
|
22
22
|
protocolSettings: {
|
|
23
23
|
[setting: string]: unknown;
|
|
24
24
|
defaultNamespace?: string;
|
|
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
36
36
|
protocol:
|
|
37
37
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
38
38
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
39
|
-
| typeof import("@aws-sdk/
|
|
39
|
+
| typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
40
40
|
protocolSettings: {
|
|
41
41
|
defaultNamespace?: string;
|
|
42
42
|
[setting: string]: unknown;
|
|
@@ -61,7 +61,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
61
61
|
protocol:
|
|
62
62
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
63
63
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
64
|
-
| typeof import("@aws-sdk/
|
|
64
|
+
| typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
65
65
|
protocolSettings: {
|
|
66
66
|
defaultNamespace?: string;
|
|
67
67
|
[setting: string]: unknown;
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
12
12
|
protocol:
|
|
13
13
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
14
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
-
| typeof import("@aws-sdk/
|
|
15
|
+
| typeof import("@aws-sdk/middleware-sdk-s3").S3RestXmlProtocol;
|
|
16
16
|
protocolSettings: {
|
|
17
17
|
defaultNamespace?: string;
|
|
18
18
|
[setting: string]: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S3RestXmlProtocol } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
3
|
import { getAwsChunkedEncodingStream } from "@smithy/util-stream";
|
|
4
4
|
import { S3ClientConfig } from "./S3Client";
|
|
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
23
23
|
protocol:
|
|
24
24
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
25
25
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
26
|
-
| typeof
|
|
26
|
+
| typeof S3RestXmlProtocol;
|
|
27
27
|
protocolSettings: {
|
|
28
28
|
[setting: string]: unknown;
|
|
29
29
|
defaultNamespace?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1017.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@aws-sdk/middleware-location-constraint": "^3.972.8",
|
|
40
40
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
41
41
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
42
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.
|
|
42
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.25",
|
|
43
43
|
"@aws-sdk/middleware-ssec": "^3.972.8",
|
|
44
44
|
"@aws-sdk/middleware-user-agent": "^3.972.25",
|
|
45
45
|
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
46
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
46
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.13",
|
|
47
47
|
"@aws-sdk/types": "^3.973.6",
|
|
48
48
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"tslib": "^2.6.2"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
87
|
+
"@aws-sdk/signature-v4-crt": "3.1017.0",
|
|
88
88
|
"@smithy/snapshot-testing": "^2.0.3",
|
|
89
89
|
"@tsconfig/node20": "20.1.8",
|
|
90
90
|
"@types/node": "^20.14.8",
|