@aws-sdk/middleware-sdk-transcribe-streaming 3.357.0 → 3.369.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.websocketPortMiddlewareOptions = exports.websocketPortMiddleware = void 0;
4
- const protocol_http_1 = require("@aws-sdk/protocol-http");
4
+ const protocol_http_1 = require("@smithy/protocol-http");
5
5
  const websocketPortMiddleware = (options) => (next) => (args) => {
6
6
  var _a, _b;
7
7
  const { request } = args;
@@ -1,4 +1,4 @@
1
- import { HttpRequest } from "@aws-sdk/protocol-http";
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
2
  export const websocketPortMiddleware = (options) => (next) => (args) => {
3
3
  const { request } = args;
4
4
  if (HttpRequest.isInstance(request) && options.requestHandler.metadata?.handlerProtocol?.includes("websocket")) {
@@ -1,2 +1,2 @@
1
- import { EventStreamPayloadHandler as IEventStreamPayloadHandler } from "@aws-sdk/types";
1
+ import { EventStreamPayloadHandler as IEventStreamPayloadHandler } from "@smithy/types";
2
2
  export declare const eventStreamPayloadHandler: IEventStreamPayloadHandler;
@@ -1,4 +1,4 @@
1
- import { Pluggable, RequestHandler } from "@aws-sdk/types";
1
+ import { Pluggable, RequestHandler } from "@smithy/types";
2
2
  interface PreviouslyResolved {
3
3
  requestHandler: RequestHandler<any, any>;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { InitializeHandlerOptions, InitializeMiddleware, RequestHandler } from "@aws-sdk/types";
1
+ import { InitializeHandlerOptions, InitializeMiddleware, RequestHandler } from "@smithy/types";
2
2
  /**
3
3
  * Middleware that inject default sessionId for operations, and inject
4
4
  * the parameters from request to the response metadata. This is
@@ -1,4 +1,4 @@
1
- import { BuildMiddleware, RelativeMiddlewareOptions, RequestHandler } from "@aws-sdk/types";
1
+ import { BuildMiddleware, RelativeMiddlewareOptions, RequestHandler } from "@smithy/types";
2
2
  /**
3
3
  * Middleware that generates WebSocket URL to TranscribeStreaming service
4
4
  * Reference: https://docs.aws.amazon.com/transcribe/latest/dg/websocket.html
@@ -1,2 +1,2 @@
1
- import { EventStreamPayloadHandler as IEventStreamPayloadHandler } from "@aws-sdk/types";
1
+ import { EventStreamPayloadHandler as IEventStreamPayloadHandler } from "@smithy/types";
2
2
  export declare const eventStreamPayloadHandler: IEventStreamPayloadHandler;
@@ -1,4 +1,4 @@
1
- import { Pluggable, RequestHandler } from "@aws-sdk/types";
1
+ import { Pluggable, RequestHandler } from "@smithy/types";
2
2
  interface PreviouslyResolved {
3
3
  requestHandler: RequestHandler<any, any>;
4
4
  }
@@ -2,7 +2,7 @@ import {
2
2
  InitializeHandlerOptions,
3
3
  InitializeMiddleware,
4
4
  RequestHandler,
5
- } from "@aws-sdk/types";
5
+ } from "@smithy/types";
6
6
  export declare const injectResponseValuesMiddleware: (config: {
7
7
  requestHandler: RequestHandler<any, any>;
8
8
  }) => InitializeMiddleware<any, any>;
@@ -2,7 +2,7 @@ import {
2
2
  BuildMiddleware,
3
3
  RelativeMiddlewareOptions,
4
4
  RequestHandler,
5
- } from "@aws-sdk/types";
5
+ } from "@smithy/types";
6
6
  export declare const websocketPortMiddleware: (options: {
7
7
  requestHandler: RequestHandler<any, any>;
8
8
  }) => BuildMiddleware<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-transcribe-streaming",
3
- "version": "3.357.0",
3
+ "version": "3.369.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -21,11 +21,12 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/eventstream-serde-browser": "3.357.0",
25
- "@aws-sdk/protocol-http": "3.357.0",
26
- "@aws-sdk/signature-v4": "3.357.0",
27
- "@aws-sdk/types": "3.357.0",
28
- "@aws-sdk/util-format-url": "3.357.0",
24
+ "@aws-sdk/types": "3.369.0",
25
+ "@aws-sdk/util-format-url": "3.369.0",
26
+ "@smithy/eventstream-serde-browser": "^1.0.1",
27
+ "@smithy/protocol-http": "^1.1.0",
28
+ "@smithy/signature-v4": "^1.0.1",
29
+ "@smithy/types": "^1.1.0",
29
30
  "tslib": "^2.5.0",
30
31
  "uuid": "^8.3.2"
31
32
  },