@aws-sdk/eventstream-handler-node 3.168.0 → 3.171.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,22 @@
|
|
|
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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/eventstream-handler-node
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/eventstream-handler-node
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/eventstream-handler-node
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { EventStreamCodec } from "@aws-sdk/eventstream-codec";
|
|
2
|
+
import { EventSigner } from "@aws-sdk/types";
|
|
3
|
+
import { Transform, TransformCallback, TransformOptions } from "stream";
|
|
4
|
+
export interface EventSigningStreamOptions extends TransformOptions {
|
|
5
|
+
priorSignature: string;
|
|
6
|
+
eventSigner: EventSigner;
|
|
7
|
+
eventStreamCodec: EventStreamCodec;
|
|
8
|
+
}
|
|
9
|
+
export declare class EventSigningStream extends Transform {
|
|
10
|
+
private priorSignature;
|
|
11
|
+
private eventSigner;
|
|
12
|
+
private eventStreamCodec;
|
|
13
|
+
constructor(options: EventSigningStreamOptions);
|
|
14
|
+
_transform(
|
|
15
|
+
chunk: Uint8Array,
|
|
16
|
+
encoding: string,
|
|
17
|
+
callback: TransformCallback
|
|
18
|
+
): Promise<void>;
|
|
19
|
+
}
|
|
@@ -1,13 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import {
|
|
2
|
+
Decoder,
|
|
3
|
+
Encoder,
|
|
4
|
+
EventSigner,
|
|
5
|
+
EventStreamPayloadHandler as IEventStreamPayloadHandler,
|
|
6
|
+
FinalizeHandler,
|
|
7
|
+
FinalizeHandlerArguments,
|
|
8
|
+
FinalizeHandlerOutput,
|
|
9
|
+
HandlerExecutionContext,
|
|
10
|
+
MetadataBearer,
|
|
11
|
+
Provider,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
export interface EventStreamPayloadHandlerOptions {
|
|
14
|
+
eventSigner: Provider<EventSigner>;
|
|
15
|
+
utf8Encoder: Encoder;
|
|
16
|
+
utf8Decoder: Decoder;
|
|
17
|
+
}
|
|
18
|
+
export declare class EventStreamPayloadHandler
|
|
19
|
+
implements IEventStreamPayloadHandler
|
|
20
|
+
{
|
|
21
|
+
private readonly eventSigner;
|
|
22
|
+
private readonly eventStreamCodec;
|
|
23
|
+
constructor(options: EventStreamPayloadHandlerOptions);
|
|
24
|
+
handle<T extends MetadataBearer>(
|
|
25
|
+
next: FinalizeHandler<any, T>,
|
|
26
|
+
args: FinalizeHandlerArguments<any>,
|
|
27
|
+
context?: HandlerExecutionContext
|
|
28
|
+
): Promise<FinalizeHandlerOutput<T>>;
|
|
29
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { eventStreamPayloadHandlerProvider } from "./provider";
|
|
1
|
+
export { eventStreamPayloadHandlerProvider } from "./provider";
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
export declare const eventStreamPayloadHandlerProvider: EventStreamPayloadHandlerProvider;
|
|
1
|
+
import { EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
2
|
+
export declare const eventStreamPayloadHandlerProvider: EventStreamPayloadHandlerProvider;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/eventstream-handler-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.171.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,16 +20,16 @@
|
|
|
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.171.0",
|
|
24
|
+
"@aws-sdk/types": "3.171.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
28
|
+
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^12.0.0",
|
|
31
31
|
"concurrently": "7.0.0",
|
|
32
|
-
"downlevel-dts": "0.
|
|
32
|
+
"downlevel-dts": "0.10.1",
|
|
33
33
|
"rimraf": "3.0.2",
|
|
34
34
|
"typedoc": "0.19.2",
|
|
35
35
|
"typescript": "~4.6.2"
|