@aws-sdk/middleware-sdk-transcribe-streaming 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/middleware-sdk-transcribe-streaming
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
 
@@ -6,13 +6,9 @@ interface PreviouslyResolved {
6
6
  requestHandler: RequestHandler<any, any>;
7
7
  }
8
8
  export interface WebSocketResolvedConfig {
9
- /**
10
- * Resolved value of input config {@link AwsAuthInputConfig.signer}
11
- */
9
+
12
10
  signer: Provider<RequestSigner>;
13
- /**
14
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
15
- */
11
+
16
12
  requestHandler: RequestHandler<any, any>;
17
13
  }
18
14
  export declare const resolveWebSocketConfig: <T>(input: T & WebSocketInputConfig & PreviouslyResolved) => T & WebSocketResolvedConfig;
@@ -1,8 +1,5 @@
1
1
  import { BuildMiddleware, RelativeMiddlewareOptions, RequestHandler } from "@aws-sdk/types";
2
- /**
3
- * Middleware that generates WebSocket URL to TranscribeStreaming service
4
- * Reference: https://docs.aws.amazon.com/transcribe/latest/dg/websocket.html
5
- */
2
+
6
3
  export declare const websocketURLMiddleware: (options: {
7
4
  requestHandler: RequestHandler<any, any>;
8
5
  }) => BuildMiddleware<any, any>;
@@ -1,11 +1,5 @@
1
1
  import { InitializeHandlerOptions, InitializeMiddleware, RequestHandler } from "@aws-sdk/types";
2
- /**
3
- * Middleware that inject default sessionId for operations, and inject
4
- * the parameters from request to the response metadata. This is
5
- * necessary because the SDK cannot access any parameters other than
6
- * the result stream. So it copies the parameters from input to the same
7
- * parameters in the output.
8
- */
2
+
9
3
  export declare const injectSessionIdMiddleware: (config: {
10
4
  requestHandler: RequestHandler<any, any>;
11
5
  }) => InitializeMiddleware<any, any>;
@@ -1,18 +1,10 @@
1
1
  import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { RequestHandlerMetadata } from "@aws-sdk/types";
3
3
  export interface WebSocketHandlerOptions {
4
- /**
5
- * The maximum time in milliseconds that the connection phase of a request
6
- * may take before the connection attempt is abandoned.
7
- */
4
+
8
5
  connectionTimeout?: number;
9
6
  }
10
- /**
11
- * Base handler for websocket requests. By default, the request input and output
12
- * body will be in a ReadableStream, because of interface consistency among middleware.
13
- * If ReadableStream is not available, like in React-Native, the response body
14
- * will be an async iterable.
15
- */
7
+
16
8
  export declare class WebSocketHandler implements HttpHandler {
17
9
  readonly metadata: RequestHandlerMetadata;
18
10
  private readonly connectionTimeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-transcribe-streaming",
3
- "version": "3.36.0",
3
+ "version": "3.37.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -19,12 +19,12 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/eventstream-serde-browser": "3.36.0",
23
- "@aws-sdk/middleware-signing": "3.36.0",
24
- "@aws-sdk/protocol-http": "3.36.0",
25
- "@aws-sdk/signature-v4": "3.36.0",
26
- "@aws-sdk/types": "3.36.0",
27
- "@aws-sdk/util-format-url": "3.36.0",
22
+ "@aws-sdk/eventstream-serde-browser": "3.37.0",
23
+ "@aws-sdk/middleware-signing": "3.37.0",
24
+ "@aws-sdk/protocol-http": "3.37.0",
25
+ "@aws-sdk/signature-v4": "3.37.0",
26
+ "@aws-sdk/types": "3.37.0",
27
+ "@aws-sdk/util-format-url": "3.37.0",
28
28
  "tslib": "^2.3.0",
29
29
  "uuid": "^8.3.2"
30
30
  },