@aws-sdk/rds-signer 3.716.0 → 3.723.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 +12 -5
- package/dist-es/Signer.js +8 -2
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -30,10 +30,19 @@ var import_util_format_url = require("@aws-sdk/util-format-url");
|
|
|
30
30
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
31
31
|
var import_signature_v4 = require("@smithy/signature-v4");
|
|
32
32
|
var import_runtimeConfig = require("././runtimeConfig");
|
|
33
|
-
var
|
|
33
|
+
var Signer = class {
|
|
34
|
+
static {
|
|
35
|
+
__name(this, "Signer");
|
|
36
|
+
}
|
|
37
|
+
credentials;
|
|
38
|
+
hostname;
|
|
39
|
+
port;
|
|
40
|
+
protocol = "https:";
|
|
41
|
+
region;
|
|
42
|
+
service = "rds-db";
|
|
43
|
+
sha256;
|
|
44
|
+
username;
|
|
34
45
|
constructor(configuration) {
|
|
35
|
-
this.protocol = "https:";
|
|
36
|
-
this.service = "rds-db";
|
|
37
46
|
const runtimeConfiguration = (0, import_runtimeConfig.getRuntimeConfig)(configuration);
|
|
38
47
|
this.credentials = runtimeConfiguration.credentials;
|
|
39
48
|
this.hostname = runtimeConfiguration.hostname;
|
|
@@ -68,8 +77,6 @@ var _Signer = class _Signer {
|
|
|
68
77
|
return (0, import_util_format_url.formatUrl)(presigned).replace(`${this.protocol}//`, "");
|
|
69
78
|
}
|
|
70
79
|
};
|
|
71
|
-
__name(_Signer, "Signer");
|
|
72
|
-
var Signer = _Signer;
|
|
73
80
|
// Annotate the CommonJS export names for ESM import in node:
|
|
74
81
|
|
|
75
82
|
0 && (module.exports = {
|
package/dist-es/Signer.js
CHANGED
|
@@ -3,9 +3,15 @@ import { HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { SignatureV4 } from "@smithy/signature-v4";
|
|
4
4
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
5
5
|
export class Signer {
|
|
6
|
+
credentials;
|
|
7
|
+
hostname;
|
|
8
|
+
port;
|
|
9
|
+
protocol = "https:";
|
|
10
|
+
region;
|
|
11
|
+
service = "rds-db";
|
|
12
|
+
sha256;
|
|
13
|
+
username;
|
|
6
14
|
constructor(configuration) {
|
|
7
|
-
this.protocol = "https:";
|
|
8
|
-
this.service = "rds-db";
|
|
9
15
|
const runtimeConfiguration = __getRuntimeConfig(configuration);
|
|
10
16
|
this.credentials = runtimeConfiguration.credentials;
|
|
11
17
|
this.hostname = runtimeConfiguration.hostname;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/rds-signer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.723.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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"test:watch": "yarn g:vitest watch"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=18.0.0"
|
|
22
22
|
},
|
|
23
23
|
"author": {
|
|
24
24
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/credential-providers": "3.
|
|
32
|
-
"@aws-sdk/util-format-url": "3.
|
|
33
|
-
"@smithy/config-resolver": "^
|
|
34
|
-
"@smithy/hash-node": "^
|
|
35
|
-
"@smithy/invalid-dependency": "^
|
|
36
|
-
"@smithy/node-config-provider": "^
|
|
37
|
-
"@smithy/protocol-http": "^
|
|
38
|
-
"@smithy/signature-v4": "^
|
|
39
|
-
"@smithy/types": "^
|
|
31
|
+
"@aws-sdk/credential-providers": "3.723.0",
|
|
32
|
+
"@aws-sdk/util-format-url": "3.723.0",
|
|
33
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
34
|
+
"@smithy/hash-node": "^4.0.0",
|
|
35
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
36
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
37
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
38
|
+
"@smithy/signature-v4": "^5.0.0",
|
|
39
|
+
"@smithy/types": "^4.0.0",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@types/node": "^
|
|
43
|
+
"@aws-sdk/types": "3.723.0",
|
|
44
|
+
"@types/node": "^18.19.69",
|
|
45
45
|
"concurrently": "7.0.0",
|
|
46
46
|
"downlevel-dts": "0.10.1",
|
|
47
47
|
"rimraf": "3.0.2",
|
|
48
|
-
"typescript": "~
|
|
48
|
+
"typescript": "~5.2.2"
|
|
49
49
|
},
|
|
50
50
|
"typesVersions": {
|
|
51
51
|
"<4.0": {
|