@aws-sdk/token-providers 3.1087.0 → 3.1088.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,7 +1,4 @@
1
- import {
2
- CredentialProviderOptions,
3
- TokenIdentityProvider,
4
- } from "@aws-sdk/types";
1
+ import { CredentialProviderOptions, TokenIdentityProvider } from "@aws-sdk/types";
5
2
  export interface FromEnvSigningNameInit extends CredentialProviderOptions {
6
3
  signingName?: string;
7
4
  }
@@ -4,11 +4,7 @@ import {
4
4
  TokenIdentity,
5
5
  } from "@aws-sdk/types";
6
6
  import { SourceProfileInit } from "@smithy/core/config";
7
- export interface FromSsoInit
8
- extends SourceProfileInit,
9
- CredentialProviderOptions {
7
+ export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {
10
8
  clientConfig?: any;
11
9
  }
12
- export declare const fromSso: (
13
- init?: FromSsoInit
14
- ) => RuntimeConfigIdentityProvider<TokenIdentity>;
10
+ export declare const fromSso: (init?: FromSsoInit) => RuntimeConfigIdentityProvider<TokenIdentity>;
@@ -1,12 +1,5 @@
1
- import {
2
- CredentialProviderOptions,
3
- TokenIdentity,
4
- TokenIdentityProvider,
5
- } from "@aws-sdk/types";
1
+ import { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types";
6
2
  export interface FromStaticInit extends CredentialProviderOptions {
7
3
  token?: TokenIdentity;
8
4
  }
9
- export declare const fromStatic: ({
10
- token,
11
- logger,
12
- }: FromStaticInit) => TokenIdentityProvider;
5
+ export declare const fromStatic: ({ token, logger }: FromStaticInit) => TokenIdentityProvider;
@@ -5,7 +5,5 @@ export declare const getNewSsoOidcToken: (
5
5
  ssoToken: SSOToken,
6
6
  ssoRegion: string,
7
7
  init?: FromSsoInit,
8
- callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
9
- ) => Promise<
10
- import("@aws-sdk/nested-clients/sso-oidc").CreateTokenCommandOutput
11
- >;
8
+ callerClientConfig?: AwsIdentityProperties["callerClientConfig"],
9
+ ) => Promise<import("@aws-sdk/nested-clients/sso-oidc").CreateTokenCommandOutput>;
@@ -3,5 +3,5 @@ import { FromSsoInit } from "./fromSso";
3
3
  export declare const getSsoOidcClient: (
4
4
  ssoRegion: string,
5
5
  init?: FromSsoInit,
6
- callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
6
+ callerClientConfig?: AwsIdentityProperties["callerClientConfig"],
7
7
  ) => Promise<import("@aws-sdk/nested-clients/sso-oidc").SSOOIDCClient>;
@@ -1,5 +1,3 @@
1
1
  import { TokenIdentityProvider } from "@aws-sdk/types";
2
2
  import { FromSsoInit } from "./fromSso";
3
- export declare const nodeProvider: (
4
- init?: FromSsoInit
5
- ) => TokenIdentityProvider;
3
+ export declare const nodeProvider: (init?: FromSsoInit) => TokenIdentityProvider;
@@ -1,5 +1 @@
1
- export declare const validateTokenKey: (
2
- key: string,
3
- value: unknown,
4
- forRefresh?: boolean
5
- ) => void;
1
+ export declare const validateTokenKey: (key: string, value: unknown, forRefresh?: boolean) => void;
@@ -1,5 +1,2 @@
1
1
  import { SSOToken } from "@smithy/core/config";
2
- export declare const writeSSOTokenToFile: (
3
- id: string,
4
- ssoToken: SSOToken
5
- ) => Promise<void>;
2
+ export declare const writeSSOTokenToFile: (id: string, ssoToken: SSOToken) => Promise<void>;
package/package.json CHANGED
@@ -1,9 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1087.0",
3
+ "version": "3.1088.0",
4
4
  "description": "A collection of token providers",
5
+ "keywords": [
6
+ "aws",
7
+ "token"
8
+ ],
9
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/token-providers",
10
+ "license": "Apache-2.0",
11
+ "author": {
12
+ "name": "AWS SDK for JavaScript Team",
13
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
18
+ "directory": "packages/token-providers"
19
+ },
20
+ "files": [
21
+ "dist-*/**"
22
+ ],
23
+ "sideEffects": false,
5
24
  "main": "./dist-cjs/index.js",
6
25
  "module": "./dist-es/index.js",
26
+ "browser": {},
27
+ "types": "./dist-types/index.d.ts",
28
+ "typesVersions": {
29
+ "<4.5": {
30
+ "dist-types/*": [
31
+ "dist-types/ts3.4/*"
32
+ ]
33
+ }
34
+ },
35
+ "react-native": {},
7
36
  "scripts": {
8
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
9
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -18,21 +47,11 @@
18
47
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
19
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
20
49
  },
21
- "keywords": [
22
- "aws",
23
- "token"
24
- ],
25
- "sideEffects": false,
26
- "author": {
27
- "name": "AWS SDK for JavaScript Team",
28
- "url": "https://aws.amazon.com/sdk-for-javascript/"
29
- },
30
- "license": "Apache-2.0",
31
50
  "dependencies": {
32
- "@aws-sdk/core": "^3.975.2",
33
- "@aws-sdk/nested-clients": "^3.997.32",
34
- "@aws-sdk/types": "^3.974.1",
35
- "@smithy/core": "^3.29.3",
51
+ "@aws-sdk/core": "^3.975.3",
52
+ "@aws-sdk/nested-clients": "^3.997.33",
53
+ "@aws-sdk/types": "^3.974.2",
54
+ "@smithy/core": "^3.29.4",
36
55
  "@smithy/types": "^4.16.1",
37
56
  "tslib": "^2.6.2"
38
57
  },
@@ -44,26 +63,7 @@
44
63
  "premove": "4.0.0",
45
64
  "typescript": "~5.8.3"
46
65
  },
47
- "types": "./dist-types/index.d.ts",
48
66
  "engines": {
49
67
  "node": ">=20.0.0"
50
- },
51
- "typesVersions": {
52
- "<4.5": {
53
- "dist-types/*": [
54
- "dist-types/ts3.4/*"
55
- ]
56
- }
57
- },
58
- "files": [
59
- "dist-*/**"
60
- ],
61
- "browser": {},
62
- "react-native": {},
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/token-providers",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "packages/token-providers"
68
68
  }
69
69
  }