@aws-sdk/rds-signer 3.362.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,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Signer = void 0;
4
- const protocol_http_1 = require("@aws-sdk/protocol-http");
5
- const signature_v4_1 = require("@aws-sdk/signature-v4");
6
4
  const util_format_url_1 = require("@aws-sdk/util-format-url");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const signature_v4_1 = require("@smithy/signature-v4");
7
7
  const runtimeConfig_1 = require("./runtimeConfig");
8
8
  class Signer {
9
9
  constructor(configuration) {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
5
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
5
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
8
  return {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
4
  const credential_providers_1 = require("@aws-sdk/credential-providers");
6
- const hash_node_1 = require("@aws-sdk/hash-node");
7
- const node_config_provider_1 = require("@aws-sdk/node-config-provider");
5
+ const config_resolver_1 = require("@smithy/config-resolver");
6
+ const hash_node_1 = require("@smithy/hash-node");
7
+ const node_config_provider_1 = require("@smithy/node-config-provider");
8
8
  const getRuntimeConfig = (config) => {
9
9
  var _a, _b, _c;
10
10
  return {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
5
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
8
  return {
package/dist-es/Signer.js CHANGED
@@ -1,6 +1,6 @@
1
- import { HttpRequest } from "@aws-sdk/protocol-http";
2
- import { SignatureV4 } from "@aws-sdk/signature-v4";
3
1
  import { formatUrl } from "@aws-sdk/util-format-url";
2
+ import { HttpRequest } from "@smithy/protocol-http";
3
+ import { SignatureV4 } from "@smithy/signature-v4";
4
4
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
5
5
  export class Signer {
6
6
  constructor(configuration) {
@@ -1,5 +1,5 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-browser";
2
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
2
+ import { invalidProvider } from "@smithy/invalid-dependency";
3
3
  export const getRuntimeConfig = (config) => {
4
4
  return {
5
5
  runtime: "browser",
@@ -1,7 +1,7 @@
1
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
2
1
  import { fromNodeProviderChain } from "@aws-sdk/credential-providers";
3
- import { Hash } from "@aws-sdk/hash-node";
4
- import { loadConfig } from "@aws-sdk/node-config-provider";
2
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver";
3
+ import { Hash } from "@smithy/hash-node";
4
+ import { loadConfig } from "@smithy/node-config-provider";
5
5
  export const getRuntimeConfig = (config) => {
6
6
  return {
7
7
  runtime: "node",
@@ -1,5 +1,5 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-js";
2
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
2
+ import { invalidProvider } from "@smithy/invalid-dependency";
3
3
  export const getRuntimeConfig = (config) => {
4
4
  return {
5
5
  runtime: "react-native",
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor, HashConstructor } from "@aws-sdk/types";
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, ChecksumConstructor, HashConstructor } from "@smithy/types";
2
2
  export interface SignerConfig {
3
3
  /**
4
4
  * The AWS credentials to sign requests with. Uses the default credential provider chain if not specified.
@@ -3,11 +3,11 @@ import { SignerConfig } from "./Signer";
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: SignerConfig) => {
6
- credentials: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider | import("@aws-sdk/types").Provider<any>;
6
+ credentials: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | import("@smithy/types").Provider<any>;
7
7
  hostname: string;
8
8
  port: number;
9
- region: string | import("@aws-sdk/types").Provider<any>;
10
- sha256: import("@aws-sdk/types").HashConstructor;
9
+ region: string | import("@smithy/types").Provider<any>;
10
+ sha256: import("@smithy/types").HashConstructor;
11
11
  username: string;
12
12
  runtime: string;
13
13
  };
@@ -3,11 +3,11 @@ import { SignerConfig } from "./Signer";
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: SignerConfig) => {
6
- credentials: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider;
6
+ credentials: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
7
7
  hostname: string;
8
8
  port: number;
9
- region: string | import("@aws-sdk/types").Provider<string>;
10
- sha256: import("@aws-sdk/types").HashConstructor;
9
+ region: string | import("@smithy/types").Provider<string>;
10
+ sha256: import("@smithy/types").HashConstructor;
11
11
  username: string;
12
12
  runtime: string;
13
13
  };
@@ -3,11 +3,11 @@ import { SignerConfig } from "./Signer";
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: SignerConfig) => {
6
- credentials: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").AwsCredentialIdentityProvider | import("@aws-sdk/types").Provider<any>;
6
+ credentials: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | import("@smithy/types").Provider<any>;
7
7
  hostname: string;
8
8
  port: number;
9
- region: string | import("@aws-sdk/types").Provider<any>;
10
- sha256: import("@aws-sdk/types").HashConstructor;
9
+ region: string | import("@smithy/types").Provider<any>;
10
+ sha256: import("@smithy/types").HashConstructor;
11
11
  username: string;
12
12
  runtime: string;
13
13
  };
@@ -3,7 +3,7 @@ import {
3
3
  AwsCredentialIdentityProvider,
4
4
  ChecksumConstructor,
5
5
  HashConstructor,
6
- } from "@aws-sdk/types";
6
+ } from "@smithy/types";
7
7
  export interface SignerConfig {
8
8
  credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
9
9
  hostname: string;
@@ -1,13 +1,13 @@
1
1
  import { SignerConfig } from "./Signer";
2
2
  export declare const getRuntimeConfig: (config: SignerConfig) => {
3
3
  credentials:
4
- | import("@aws-sdk/types").AwsCredentialIdentity
5
- | import("@aws-sdk/types").AwsCredentialIdentityProvider
6
- | import("@aws-sdk/types").Provider<any>;
4
+ | import("@smithy/types").AwsCredentialIdentity
5
+ | import("@smithy/types").AwsCredentialIdentityProvider
6
+ | import("@smithy/types").Provider<any>;
7
7
  hostname: string;
8
8
  port: number;
9
- region: string | import("@aws-sdk/types").Provider<any>;
10
- sha256: import("@aws-sdk/types").HashConstructor;
9
+ region: string | import("@smithy/types").Provider<any>;
10
+ sha256: import("@smithy/types").HashConstructor;
11
11
  username: string;
12
12
  runtime: string;
13
13
  };
@@ -1,12 +1,12 @@
1
1
  import { SignerConfig } from "./Signer";
2
2
  export declare const getRuntimeConfig: (config: SignerConfig) => {
3
3
  credentials:
4
- | import("@aws-sdk/types").AwsCredentialIdentity
5
- | import("@aws-sdk/types").AwsCredentialIdentityProvider;
4
+ | import("@smithy/types").AwsCredentialIdentity
5
+ | import("@smithy/types").AwsCredentialIdentityProvider;
6
6
  hostname: string;
7
7
  port: number;
8
- region: string | import("@aws-sdk/types").Provider<string>;
9
- sha256: import("@aws-sdk/types").HashConstructor;
8
+ region: string | import("@smithy/types").Provider<string>;
9
+ sha256: import("@smithy/types").HashConstructor;
10
10
  username: string;
11
11
  runtime: string;
12
12
  };
@@ -1,13 +1,13 @@
1
1
  import { SignerConfig } from "./Signer";
2
2
  export declare const getRuntimeConfig: (config: SignerConfig) => {
3
3
  credentials:
4
- | import("@aws-sdk/types").AwsCredentialIdentity
5
- | import("@aws-sdk/types").AwsCredentialIdentityProvider
6
- | import("@aws-sdk/types").Provider<any>;
4
+ | import("@smithy/types").AwsCredentialIdentity
5
+ | import("@smithy/types").AwsCredentialIdentityProvider
6
+ | import("@smithy/types").Provider<any>;
7
7
  hostname: string;
8
8
  port: number;
9
- region: string | import("@aws-sdk/types").Provider<any>;
10
- sha256: import("@aws-sdk/types").HashConstructor;
9
+ region: string | import("@smithy/types").Provider<any>;
10
+ sha256: import("@smithy/types").HashConstructor;
11
11
  username: string;
12
12
  runtime: string;
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/rds-signer",
3
- "version": "3.362.0",
3
+ "version": "3.369.0",
4
4
  "description": "RDS utility for generating a password that can be used for IAM authentication to an RDS DB.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,18 +27,19 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "3.0.0",
29
29
  "@aws-crypto/sha256-js": "3.0.0",
30
- "@aws-sdk/config-resolver": "3.357.0",
31
- "@aws-sdk/credential-providers": "3.362.0",
32
- "@aws-sdk/hash-node": "3.357.0",
33
- "@aws-sdk/invalid-dependency": "3.357.0",
34
- "@aws-sdk/node-config-provider": "3.357.0",
35
- "@aws-sdk/protocol-http": "3.357.0",
36
- "@aws-sdk/signature-v4": "3.357.0",
37
- "@aws-sdk/util-format-url": "3.357.0",
30
+ "@aws-sdk/credential-providers": "3.369.0",
31
+ "@aws-sdk/util-format-url": "3.369.0",
32
+ "@smithy/config-resolver": "^1.0.1",
33
+ "@smithy/hash-node": "^1.0.1",
34
+ "@smithy/invalid-dependency": "^1.0.1",
35
+ "@smithy/node-config-provider": "^1.0.1",
36
+ "@smithy/protocol-http": "^1.1.0",
37
+ "@smithy/signature-v4": "^1.0.1",
38
38
  "tslib": "^2.5.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@aws-sdk/types": "3.357.0",
41
+ "@aws-sdk/types": "3.369.0",
42
+ "@smithy/types": "^1.1.0",
42
43
  "@types/node": "^14.14.31",
43
44
  "concurrently": "7.0.0",
44
45
  "downlevel-dts": "0.10.1",