@aws-sdk/dsql-signer 3.721.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 CHANGED
@@ -30,10 +30,18 @@ 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 _DsqlSigner = class _DsqlSigner {
33
+ var DsqlSigner = class {
34
+ static {
35
+ __name(this, "DsqlSigner");
36
+ }
37
+ credentials;
38
+ hostname;
39
+ protocol = "https:";
40
+ region;
41
+ service = "dsql";
42
+ sha256;
43
+ expiresIn;
34
44
  constructor(configuration) {
35
- this.protocol = "https:";
36
- this.service = "dsql";
37
45
  const runtimeConfiguration = (0, import_runtimeConfig.getRuntimeConfig)(configuration);
38
46
  this.credentials = runtimeConfiguration.credentials;
39
47
  this.hostname = runtimeConfiguration.hostname;
@@ -71,8 +79,6 @@ var _DsqlSigner = class _DsqlSigner {
71
79
  return this._getAuthToken("DbConnectAdmin");
72
80
  }
73
81
  };
74
- __name(_DsqlSigner, "DsqlSigner");
75
- var DsqlSigner = _DsqlSigner;
76
82
  // Annotate the CommonJS export names for ESM import in node:
77
83
 
78
84
  0 && (module.exports = {
package/dist-es/Signer.js CHANGED
@@ -3,9 +3,14 @@ import { HttpRequest } from "@smithy/protocol-http";
3
3
  import { SignatureV4 } from "@smithy/signature-v4";
4
4
  import { getRuntimeConfig } from "./runtimeConfig";
5
5
  export class DsqlSigner {
6
+ credentials;
7
+ hostname;
8
+ protocol = "https:";
9
+ region;
10
+ service = "dsql";
11
+ sha256;
12
+ expiresIn;
6
13
  constructor(configuration) {
7
- this.protocol = "https:";
8
- this.service = "dsql";
9
14
  const runtimeConfiguration = getRuntimeConfig(configuration);
10
15
  this.credentials = runtimeConfiguration.credentials;
11
16
  this.hostname = runtimeConfiguration.hostname;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/dsql-signer",
3
- "version": "3.721.0",
3
+ "version": "3.723.0",
4
4
  "description": "Dsql utility for generating a password token that can be used for IAM authentication to a Dsql Database.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -17,7 +17,7 @@
17
17
  "test": "yarn g:vitest run"
18
18
  },
19
19
  "engines": {
20
- "node": ">=16.0.0"
20
+ "node": ">=18.0.0"
21
21
  },
22
22
  "author": {
23
23
  "name": "AWS SDK for JavaScript Team",
@@ -27,23 +27,23 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/credential-providers": "3.721.0",
31
- "@aws-sdk/util-format-url": "3.714.0",
32
- "@smithy/config-resolver": "^3.0.13",
33
- "@smithy/hash-node": "^3.0.11",
34
- "@smithy/invalid-dependency": "^3.0.11",
35
- "@smithy/node-config-provider": "^3.1.12",
36
- "@smithy/protocol-http": "^4.1.8",
37
- "@smithy/signature-v4": "^4.2.4",
38
- "@smithy/types": "^3.7.2",
30
+ "@aws-sdk/credential-providers": "3.723.0",
31
+ "@aws-sdk/util-format-url": "3.723.0",
32
+ "@smithy/config-resolver": "^4.0.0",
33
+ "@smithy/hash-node": "^4.0.0",
34
+ "@smithy/invalid-dependency": "^4.0.0",
35
+ "@smithy/node-config-provider": "^4.0.0",
36
+ "@smithy/protocol-http": "^5.0.0",
37
+ "@smithy/signature-v4": "^5.0.0",
38
+ "@smithy/types": "^4.0.0",
39
39
  "tslib": "^2.6.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^16.18.96",
42
+ "@types/node": "^18.19.69",
43
43
  "concurrently": "7.0.0",
44
44
  "downlevel-dts": "0.10.1",
45
45
  "rimraf": "3.0.2",
46
- "typescript": "~4.9.5"
46
+ "typescript": "~5.2.2"
47
47
  },
48
48
  "typesVersions": {
49
49
  "<4.0": {