@aws-sdk/rds-signer 3.569.0 → 3.574.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/dist-cjs/index.js
CHANGED
|
@@ -6,12 +6,11 @@ const config_resolver_1 = require("@smithy/config-resolver");
|
|
|
6
6
|
const hash_node_1 = require("@smithy/hash-node");
|
|
7
7
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
8
8
|
const getRuntimeConfig = (config) => {
|
|
9
|
-
var _a, _b, _c;
|
|
10
9
|
return {
|
|
11
10
|
runtime: "node",
|
|
12
|
-
sha256:
|
|
13
|
-
credentials:
|
|
14
|
-
region:
|
|
11
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
12
|
+
credentials: config?.credentials ?? (0, credential_providers_1.fromNodeProviderChain)(),
|
|
13
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
15
14
|
...config,
|
|
16
15
|
};
|
|
17
16
|
};
|
|
@@ -4,10 +4,9 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
return {
|
|
9
8
|
runtime: "react-native",
|
|
10
|
-
sha256:
|
|
9
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
11
10
|
credentials: (0, invalid_dependency_1.invalidProvider)("Credential is missing"),
|
|
12
11
|
region: (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
13
12
|
...config,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/rds-signer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.574.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,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
30
|
-
"@aws-sdk/credential-providers": "3.
|
|
30
|
+
"@aws-sdk/credential-providers": "3.574.0",
|
|
31
31
|
"@aws-sdk/util-format-url": "3.567.0",
|
|
32
32
|
"@smithy/config-resolver": "^2.2.0",
|
|
33
33
|
"@smithy/hash-node": "^2.2.0",
|