@aws-sdk/core 3.976.0 → 3.977.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/submodules/httpAuthSchemes/index.js +66 -28
- package/dist-cjs/submodules/protocols/index.js +111 -12
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +7 -2
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +28 -14
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.js +1 -0
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.js +3 -0
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.js +8 -0
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -1
- package/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +3 -3
- package/dist-es/submodules/httpAuthSchemes/index.browser.js +9 -0
- package/dist-es/submodules/httpAuthSchemes/index.js +5 -1
- package/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -0
- package/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +12 -6
- package/dist-es/submodules/httpAuthSchemes/utils/index.js +2 -1
- package/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +1 -1
- package/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +10 -1
- package/dist-es/submodules/protocols/json/JsonShapeSerializer.js +10 -0
- package/dist-es/submodules/protocols/json/detectBufferParsing.js +18 -0
- package/dist-es/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.js +13 -15
- package/dist-es/submodules/protocols/json/experimental/ByteJsonShapeSerializer.js +27 -17
- package/dist-es/submodules/protocols/json/needsReviver.js +41 -0
- package/dist-es/submodules/protocols/json/parseJsonBody.js +33 -13
- package/dist-es/submodules/protocols/writeKey.js +3 -0
- package/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +4 -0
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -0
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -0
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -0
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
- package/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +22 -6
- package/dist-types/submodules/httpAuthSchemes/index.browser.d.ts +11 -0
- package/dist-types/submodules/httpAuthSchemes/index.d.ts +7 -1
- package/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +22 -6
- package/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/dist-types/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +0 -2
- package/dist-types/submodules/protocols/json/needsReviver.d.ts +11 -0
- package/dist-types/submodules/protocols/json/parseJsonBody.d.ts +7 -2
- package/dist-types/submodules/protocols/writeKey.d.ts +4 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +1 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +1 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +4 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -1
- package/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +7 -6
- package/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +32 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +10 -2
- package/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +2 -1
- package/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -0
- package/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +0 -2
- package/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +2 -0
- package/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +7 -2
- package/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +1 -0
- package/package.json +10 -6
package/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ export declare class ByteJsonShapeSerializer
|
|
|
9
9
|
private json;
|
|
10
10
|
private i;
|
|
11
11
|
private rootSchema;
|
|
12
|
-
private readonly sizeHistory;
|
|
13
|
-
private sizeHistoryIndex;
|
|
14
12
|
constructor(settings: JsonSettings);
|
|
15
13
|
write(schema: Schema, value: unknown): void;
|
|
16
14
|
writeDiscriminatedDocument(schema: Schema, value: unknown): void;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { HttpResponse, SerdeFunctions } from "@smithy/types";
|
|
2
|
-
export declare
|
|
1
|
+
import { HttpResponse, Schema, SerdeFunctions } from "@smithy/types";
|
|
2
|
+
export declare function parseJsonBody(streamBody: any, context: SerdeFunctions): Promise<any>;
|
|
3
|
+
export declare function parseJsonBody(
|
|
4
|
+
streamBody: any,
|
|
5
|
+
context: SerdeFunctions,
|
|
6
|
+
schema: Schema,
|
|
7
|
+
): Promise<any>;
|
|
3
8
|
export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise<any>;
|
|
4
9
|
export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined;
|
|
5
10
|
export declare const loadJsonRpcErrorCode: (
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function writeKey(obj: object | Record<string, unknown> | any): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.977.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"main": "./dist-cjs/index.js",
|
|
34
34
|
"module": "./dist-es/index.js",
|
|
35
35
|
"browser": {
|
|
36
|
-
"./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.browser.js"
|
|
36
|
+
"./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.browser.js",
|
|
37
|
+
"./dist-es/submodules/httpAuthSchemes/index.js": "./dist-es/submodules/httpAuthSchemes/index.browser.js"
|
|
37
38
|
},
|
|
38
39
|
"types": "./dist-types/index.d.ts",
|
|
39
40
|
"typesVersions": {
|
|
@@ -47,7 +48,8 @@
|
|
|
47
48
|
}
|
|
48
49
|
},
|
|
49
50
|
"react-native": {
|
|
50
|
-
"./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.native.js"
|
|
51
|
+
"./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.native.js",
|
|
52
|
+
"./dist-es/submodules/httpAuthSchemes/index.js": "./dist-es/submodules/httpAuthSchemes/index.browser.js"
|
|
51
53
|
},
|
|
52
54
|
"exports": {
|
|
53
55
|
".": {
|
|
@@ -74,6 +76,8 @@
|
|
|
74
76
|
},
|
|
75
77
|
"./httpAuthSchemes": {
|
|
76
78
|
"types": "./dist-types/submodules/httpAuthSchemes/index.d.ts",
|
|
79
|
+
"react-native": "./dist-es/submodules/httpAuthSchemes/index.browser.js",
|
|
80
|
+
"browser": "./dist-es/submodules/httpAuthSchemes/index.browser.js",
|
|
77
81
|
"module": "./dist-es/submodules/httpAuthSchemes/index.js",
|
|
78
82
|
"node": "./dist-cjs/submodules/httpAuthSchemes/index.js",
|
|
79
83
|
"import": "./dist-es/submodules/httpAuthSchemes/index.js",
|
|
@@ -121,10 +125,10 @@
|
|
|
121
125
|
},
|
|
122
126
|
"dependencies": {
|
|
123
127
|
"@aws-sdk/types": "^3.974.2",
|
|
124
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
128
|
+
"@aws-sdk/xml-builder": "^3.972.37",
|
|
125
129
|
"@aws/lambda-invoke-store": "^0.3.0",
|
|
126
|
-
"@smithy/core": "^3.29.
|
|
127
|
-
"@smithy/signature-v4": "^5.6.
|
|
130
|
+
"@smithy/core": "^3.29.8",
|
|
131
|
+
"@smithy/signature-v4": "^5.6.9",
|
|
128
132
|
"@smithy/types": "^4.16.1",
|
|
129
133
|
"bowser": "^2.11.0",
|
|
130
134
|
"tslib": "^2.6.2"
|