@aws-sdk/client-iotthingsgraph 3.395.0 → 3.405.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,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
- const types_1 = require("@smithy/types");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const asPartial = (t) => t;
6
6
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const clientConfiguration = {
8
- ...asPartial((0, types_1.getDefaultClientConfiguration)(runtimeConfig)),
7
+ const extensionConfiguration = {
8
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
9
9
  };
10
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
10
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
11
11
  return {
12
12
  ...runtimeConfig,
13
- ...(0, types_1.resolveDefaultRuntimeConfig)(clientConfiguration),
13
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
14
14
  };
15
15
  };
16
16
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -1,12 +1,12 @@
1
- import { getDefaultClientConfiguration, resolveDefaultRuntimeConfig } from "@smithy/types";
1
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
2
  const asPartial = (t) => t;
3
3
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
- const clientConfiguration = {
5
- ...asPartial(getDefaultClientConfiguration(runtimeConfig)),
4
+ const extensionConfiguration = {
5
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
6
6
  };
7
- extensions.forEach((extension) => extension.configureClient(clientConfiguration));
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
8
  return {
9
9
  ...runtimeConfig,
10
- ...resolveDefaultRuntimeConfig(clientConfiguration),
10
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
11
11
  };
12
12
  };
@@ -0,0 +1,6 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ /**
3
+ * @internal
4
+ */
5
+ export interface IoTThingsGraphExtensionConfiguration extends DefaultExtensionConfiguration {
6
+ }
@@ -1,9 +1,9 @@
1
- import { IoTThingsGraphClientConfiguration } from "./clientConfiguration";
1
+ import { IoTThingsGraphExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
5
5
  export interface RuntimeExtension {
6
- configureClient(clientConfiguration: IoTThingsGraphClientConfiguration): void;
6
+ configure(clientConfiguration: IoTThingsGraphExtensionConfiguration): void;
7
7
  }
8
8
  /**
9
9
  * @public
@@ -0,0 +1,3 @@
1
+ import { DefaultExtensionConfiguration } from "@smithy/types";
2
+ export interface IoTThingsGraphExtensionConfiguration
3
+ extends DefaultExtensionConfiguration {}
@@ -1,6 +1,6 @@
1
- import { IoTThingsGraphClientConfiguration } from "./clientConfiguration";
1
+ import { IoTThingsGraphExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configureClient(clientConfiguration: IoTThingsGraphClientConfiguration): void;
3
+ configure(clientConfiguration: IoTThingsGraphExtensionConfiguration): void;
4
4
  }
5
5
  export interface RuntimeExtensionsConfig {
6
6
  extensions: RuntimeExtension[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotthingsgraph",
3
3
  "description": "AWS SDK for JavaScript Iotthingsgraph Client for Node.js, Browser and React Native",
4
- "version": "3.395.0",
4
+ "version": "3.405.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.395.0",
25
- "@aws-sdk/credential-provider-node": "3.395.0",
26
- "@aws-sdk/middleware-host-header": "3.391.0",
27
- "@aws-sdk/middleware-logger": "3.391.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.391.0",
29
- "@aws-sdk/middleware-signing": "3.391.0",
30
- "@aws-sdk/middleware-user-agent": "3.391.0",
31
- "@aws-sdk/types": "3.391.0",
32
- "@aws-sdk/util-endpoints": "3.391.0",
33
- "@aws-sdk/util-user-agent-browser": "3.391.0",
34
- "@aws-sdk/util-user-agent-node": "3.391.0",
35
- "@smithy/config-resolver": "^2.0.3",
36
- "@smithy/fetch-http-handler": "^2.0.3",
37
- "@smithy/hash-node": "^2.0.3",
38
- "@smithy/invalid-dependency": "^2.0.3",
39
- "@smithy/middleware-content-length": "^2.0.3",
40
- "@smithy/middleware-endpoint": "^2.0.3",
41
- "@smithy/middleware-retry": "^2.0.3",
42
- "@smithy/middleware-serde": "^2.0.3",
24
+ "@aws-sdk/client-sts": "3.405.0",
25
+ "@aws-sdk/credential-provider-node": "3.405.0",
26
+ "@aws-sdk/middleware-host-header": "3.398.0",
27
+ "@aws-sdk/middleware-logger": "3.398.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.398.0",
29
+ "@aws-sdk/middleware-signing": "3.398.0",
30
+ "@aws-sdk/middleware-user-agent": "3.398.0",
31
+ "@aws-sdk/types": "3.398.0",
32
+ "@aws-sdk/util-endpoints": "3.398.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.405.0",
35
+ "@smithy/config-resolver": "^2.0.5",
36
+ "@smithy/fetch-http-handler": "^2.0.5",
37
+ "@smithy/hash-node": "^2.0.5",
38
+ "@smithy/invalid-dependency": "^2.0.5",
39
+ "@smithy/middleware-content-length": "^2.0.5",
40
+ "@smithy/middleware-endpoint": "^2.0.5",
41
+ "@smithy/middleware-retry": "^2.0.5",
42
+ "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.3",
45
- "@smithy/node-http-handler": "^2.0.3",
46
- "@smithy/protocol-http": "^2.0.3",
47
- "@smithy/smithy-client": "^2.0.3",
48
- "@smithy/types": "^2.2.0",
49
- "@smithy/url-parser": "^2.0.3",
44
+ "@smithy/node-config-provider": "^2.0.6",
45
+ "@smithy/node-http-handler": "^2.0.5",
46
+ "@smithy/protocol-http": "^2.0.5",
47
+ "@smithy/smithy-client": "^2.0.5",
48
+ "@smithy/types": "^2.2.2",
49
+ "@smithy/url-parser": "^2.0.5",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
- "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.3",
54
- "@smithy/util-defaults-mode-node": "^2.0.3",
52
+ "@smithy/util-body-length-node": "^2.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.6",
54
+ "@smithy/util-defaults-mode-node": "^2.0.6",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"
@@ -1,6 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- /**
3
- * @internal
4
- */
5
- export interface IoTThingsGraphClientConfiguration extends DefaultClientConfiguration {
6
- }
@@ -1,3 +0,0 @@
1
- import { DefaultClientConfiguration } from "@smithy/types";
2
- export interface IoTThingsGraphClientConfiguration
3
- extends DefaultClientConfiguration {}