@aws-sdk/eventstream-handler-node 3.296.0 → 3.306.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.
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
import { EventStreamCodec } from "@aws-sdk/eventstream-codec";
|
|
3
3
|
import { EventSigner } from "@aws-sdk/types";
|
|
4
4
|
import { Transform, TransformCallback, TransformOptions } from "stream";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
5
8
|
export interface EventSigningStreamOptions extends TransformOptions {
|
|
6
9
|
priorSignature: string;
|
|
7
10
|
eventSigner: EventSigner;
|
|
8
11
|
eventStreamCodec: EventStreamCodec;
|
|
9
12
|
}
|
|
10
13
|
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
11
16
|
* A transform stream that signs the eventstream
|
|
12
17
|
*/
|
|
13
18
|
export declare class EventSigningStream extends Transform {
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { Decoder, Encoder, EventSigner, EventStreamPayloadHandler as IEventStreamPayloadHandler, FinalizeHandler, FinalizeHandlerArguments, FinalizeHandlerOutput, HandlerExecutionContext, MetadataBearer, Provider } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export interface EventStreamPayloadHandlerOptions {
|
|
3
6
|
eventSigner: Provider<EventSigner>;
|
|
4
7
|
utf8Encoder: Encoder;
|
|
5
8
|
utf8Decoder: Decoder;
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
8
13
|
* A handler that control the eventstream payload flow:
|
|
9
14
|
* 1. Pause stream for initial attempt.
|
|
10
15
|
* 2. Close the stream is attempt fails.
|
package/dist-types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/eventstream-handler-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.306.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",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/eventstream-codec": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/eventstream-codec": "3.306.0",
|
|
24
|
+
"@aws-sdk/types": "3.306.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/util-utf8": "3.
|
|
28
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^14.14.31",
|
|
31
31
|
"concurrently": "7.0.0",
|