@aws-sdk/eventstream-handler-node 3.36.0 → 3.37.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,14 @@
|
|
|
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.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/eventstream-handler-node
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import { EventStreamMarshaller as EventMarshaller } from "@aws-sdk/eventstream-marshaller";
|
|
3
3
|
import { EventSigner } from "@aws-sdk/types";
|
|
4
4
|
import { Transform, TransformCallback, TransformOptions } from "stream";
|
|
@@ -7,9 +7,7 @@ export interface EventSigningStreamOptions extends TransformOptions {
|
|
|
7
7
|
eventSigner: EventSigner;
|
|
8
8
|
eventMarshaller: EventMarshaller;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
* A transform stream that signs the eventstream
|
|
12
|
-
*/
|
|
10
|
+
|
|
13
11
|
export declare class EventSigningStream extends Transform {
|
|
14
12
|
private priorSignature;
|
|
15
13
|
private eventSigner;
|
|
@@ -4,13 +4,7 @@ export interface EventStreamPayloadHandlerOptions {
|
|
|
4
4
|
utf8Encoder: Encoder;
|
|
5
5
|
utf8Decoder: Decoder;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
* A handler that control the eventstream payload flow:
|
|
9
|
-
* 1. Pause stream for initial attempt.
|
|
10
|
-
* 2. Close the stream is attempt fails.
|
|
11
|
-
* 3. Start piping payload when connection is established.
|
|
12
|
-
* 4. Sign the payload after payload stream starting to flow.
|
|
13
|
-
*/
|
|
7
|
+
|
|
14
8
|
export declare class EventStreamPayloadHandler implements IEventStreamPayloadHandler {
|
|
15
9
|
private readonly eventSigner;
|
|
16
10
|
private readonly eventMarshaller;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/eventstream-handler-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.37.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-sdk/eventstream-marshaller": "3.
|
|
22
|
-
"@aws-sdk/types": "3.
|
|
21
|
+
"@aws-sdk/eventstream-marshaller": "3.37.0",
|
|
22
|
+
"@aws-sdk/types": "3.37.0",
|
|
23
23
|
"tslib": "^2.3.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
26
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
27
27
|
"@types/jest": "^26.0.4",
|
|
28
28
|
"jest": "^26.1.0",
|
|
29
29
|
"typescript": "~4.3.5"
|