@aws-sdk/middleware-token 3.301.0 → 3.303.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,10 +1,16 @@
1
1
  import { TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types";
2
+ /**
3
+ * @internal
4
+ */
2
5
  export interface TokenInputConfig {
3
6
  /**
4
7
  * The token used to authenticate requests.
5
8
  */
6
9
  token?: TokenIdentity | TokenIdentityProvider;
7
10
  }
11
+ /**
12
+ * @internal
13
+ */
8
14
  export interface TokenResolvedConfig {
9
15
  /**
10
16
  * Resolved value for input config {@link TokenInputConfig.token}
@@ -1,3 +1,6 @@
1
1
  import { Pluggable } from "@aws-sdk/types";
2
2
  import { TokenResolvedConfig } from "./configurations";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const getTokenPlugin: (options: TokenResolvedConfig) => Pluggable<any, any>;
@@ -1,4 +1,16 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export * from "./configurations";
5
+ /**
6
+ * @internal
7
+ */
2
8
  export * from "./getTokenPlugin";
9
+ /**
10
+ * @internal
11
+ */
3
12
  export * from "./resolveTokenConfig";
13
+ /**
14
+ * @internal
15
+ */
4
16
  export * from "./tokenMiddleware";
@@ -1,2 +1,5 @@
1
1
  import { MemoizedProvider, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types";
2
+ /**
3
+ * @internal
4
+ */
2
5
  export declare const normalizeTokenProvider: (token: TokenIdentity | TokenIdentityProvider) => MemoizedProvider<TokenIdentity>;
@@ -1,2 +1,5 @@
1
1
  import { TokenInputConfig, TokenResolvedConfig } from "./configurations";
2
+ /**
3
+ * @internal
4
+ */
2
5
  export declare const resolveTokenConfig: <T>(input: T & TokenInputConfig) => T & TokenResolvedConfig;
@@ -1 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export declare const tokenDefaultProvider: (input: unknown) => () => Promise<never>;
@@ -1 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
1
4
  export declare const tokenDefaultProvider: (init?: import("@aws-sdk/token-providers").FromSsoInit | undefined) => import("@aws-sdk/types").TokenIdentityProvider;
@@ -1,4 +1,10 @@
1
1
  import { FinalizeRequestMiddleware, RelativeMiddlewareOptions } from "@aws-sdk/types";
2
2
  import { TokenResolvedConfig } from "./configurations";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const tokenMiddlewareOptions: RelativeMiddlewareOptions;
7
+ /**
8
+ * @internal
9
+ */
4
10
  export declare const tokenMiddleware: <Input extends object, Output extends object>(options: TokenResolvedConfig) => FinalizeRequestMiddleware<Input, Output>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-token",
3
- "version": "3.301.0",
3
+ "version": "3.303.0",
4
4
  "description": "Middleware and Plugin for setting token authentication",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/property-provider": "3.296.0",
29
- "@aws-sdk/protocol-http": "3.296.0",
30
- "@aws-sdk/token-providers": "3.301.0",
31
- "@aws-sdk/types": "3.296.0",
32
- "@aws-sdk/util-middleware": "3.296.0",
28
+ "@aws-sdk/property-provider": "3.303.0",
29
+ "@aws-sdk/protocol-http": "3.303.0",
30
+ "@aws-sdk/token-providers": "3.303.0",
31
+ "@aws-sdk/types": "3.303.0",
32
+ "@aws-sdk/util-middleware": "3.303.0",
33
33
  "tslib": "^2.5.0"
34
34
  },
35
35
  "devDependencies": {