@aws-sdk/util-create-request 3.360.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,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.httpRequest = exports.operationCommand = exports.fooClient = void 0;
4
- const middleware_stack_1 = require("@aws-sdk/middleware-stack");
5
- const protocol_http_1 = require("@aws-sdk/protocol-http");
4
+ const middleware_stack_1 = require("@smithy/middleware-stack");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const output = { Data: "data", $metadata: {} };
7
7
  const input = { String: "input" };
8
8
  exports.fooClient = {
@@ -1,5 +1,5 @@
1
- import { constructStack } from "@aws-sdk/middleware-stack";
2
- import { HttpRequest } from "@aws-sdk/protocol-http";
1
+ import { constructStack } from "@smithy/middleware-stack";
2
+ import { HttpRequest } from "@smithy/protocol-http";
3
3
  const output = { Data: "data", $metadata: {} };
4
4
  const input = { String: "input" };
5
5
  export const fooClient = {
@@ -1,6 +1,6 @@
1
- import { HttpRequest } from "@aws-sdk/protocol-http";
2
- import { Client, Command } from "@aws-sdk/smithy-client";
3
- import { MetadataBearer } from "@aws-sdk/types";
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { Client, Command } from "@smithy/smithy-client";
3
+ import { MetadataBearer } from "@smithy/types";
4
4
  export interface OperationInput {
5
5
  String: string;
6
6
  }
@@ -1,3 +1,3 @@
1
- import { Client, Command } from "@aws-sdk/smithy-client";
2
- import { HttpRequest, MetadataBearer } from "@aws-sdk/types";
1
+ import { Client, Command } from "@smithy/smithy-client";
2
+ import { HttpRequest, MetadataBearer } from "@smithy/types";
3
3
  export declare function createRequest<InputTypesUnion extends object, InputType extends InputTypesUnion, OutputType extends MetadataBearer = MetadataBearer>(client: Client<any, InputTypesUnion, MetadataBearer, any>, command: Command<InputType, OutputType, any, InputTypesUnion, MetadataBearer>): Promise<HttpRequest>;
@@ -1,6 +1,6 @@
1
- import { HttpRequest } from "@aws-sdk/protocol-http";
2
- import { Client, Command } from "@aws-sdk/smithy-client";
3
- import { MetadataBearer } from "@aws-sdk/types";
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
+ import { Client, Command } from "@smithy/smithy-client";
3
+ import { MetadataBearer } from "@smithy/types";
4
4
  export interface OperationInput {
5
5
  String: string;
6
6
  }
@@ -1,5 +1,5 @@
1
- import { Client, Command } from "@aws-sdk/smithy-client";
2
- import { HttpRequest, MetadataBearer } from "@aws-sdk/types";
1
+ import { Client, Command } from "@smithy/smithy-client";
2
+ import { HttpRequest, MetadataBearer } from "@smithy/types";
3
3
  export declare function createRequest<
4
4
  InputTypesUnion extends object,
5
5
  InputType extends InputTypesUnion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-create-request",
3
- "version": "3.360.0",
3
+ "version": "3.369.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",
@@ -21,13 +21,14 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-stack": "3.357.0",
25
- "@aws-sdk/smithy-client": "3.360.0",
26
- "@aws-sdk/types": "3.357.0",
24
+ "@aws-sdk/types": "3.369.0",
25
+ "@smithy/middleware-stack": "^1.0.1",
26
+ "@smithy/smithy-client": "^1.0.3",
27
+ "@smithy/types": "^1.1.0",
27
28
  "tslib": "^2.5.0"
28
29
  },
29
30
  "devDependencies": {
30
- "@aws-sdk/protocol-http": "3.357.0",
31
+ "@smithy/protocol-http": "^1.1.0",
31
32
  "@tsconfig/recommended": "1.0.1",
32
33
  "@types/node": "^14.14.31",
33
34
  "concurrently": "7.0.0",