@aws-sdk/token-providers 3.577.0 → 3.598.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
@@ -104,7 +104,7 @@ var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
104
104
  var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
105
105
  var fromSso = /* @__PURE__ */ __name((init = {}) => async () => {
106
106
  var _a;
107
- (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers", "fromSso");
107
+ (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers - fromSso");
108
108
  const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
109
109
  const profileName = (0, import_shared_ini_file_loader.getProfileName)(init);
110
110
  const profile = profiles[profileName];
@@ -183,7 +183,7 @@ var fromSso = /* @__PURE__ */ __name((init = {}) => async () => {
183
183
  // src/fromStatic.ts
184
184
 
185
185
  var fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => {
186
- logger == null ? void 0 : logger.debug("@aws-sdk/token-providers", "fromStatic");
186
+ logger == null ? void 0 : logger.debug("@aws-sdk/token-providers - fromStatic");
187
187
  if (!token || !token.token) {
188
188
  throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false);
189
189
  }
@@ -7,7 +7,7 @@ import { validateTokenKey } from "./validateTokenKey";
7
7
  import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
8
8
  const lastRefreshAttemptTime = new Date(0);
9
9
  export const fromSso = (init = {}) => async () => {
10
- init.logger?.debug("@aws-sdk/token-providers", "fromSso");
10
+ init.logger?.debug("@aws-sdk/token-providers - fromSso");
11
11
  const profiles = await parseKnownFiles(init);
12
12
  const profileName = getProfileName(init);
13
13
  const profile = profiles[profileName];
@@ -1,6 +1,6 @@
1
1
  import { TokenProviderError } from "@smithy/property-provider";
2
2
  export const fromStatic = ({ token, logger }) => async () => {
3
- logger?.debug("@aws-sdk/token-providers", "fromStatic");
3
+ logger?.debug("@aws-sdk/token-providers - fromStatic");
4
4
  if (!token || !token.token) {
5
5
  throw new TokenProviderError(`Please pass a valid token to fromStatic`, false);
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.577.0",
3
+ "version": "3.598.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,10 +26,10 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/types": "3.577.0",
30
- "@smithy/property-provider": "^3.0.0",
31
- "@smithy/shared-ini-file-loader": "^3.0.0",
32
- "@smithy/types": "^3.0.0",
29
+ "@aws-sdk/types": "3.598.0",
30
+ "@smithy/property-provider": "^3.1.1",
31
+ "@smithy/shared-ini-file-loader": "^3.1.1",
32
+ "@smithy/types": "^3.1.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -41,7 +41,7 @@
41
41
  "typescript": "~4.9.5"
42
42
  },
43
43
  "peerDependencies": {
44
- "@aws-sdk/client-sso-oidc": "^3.577.0"
44
+ "@aws-sdk/client-sso-oidc": "^3.598.0"
45
45
  },
46
46
  "types": "./dist-types/index.d.ts",
47
47
  "engines": {