@aws-sdk/credential-provider-http 3.972.60 → 3.972.62

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,5 +1,3 @@
1
1
  import { AwsCredentialIdentityProvider } from "@smithy/types";
2
2
  import { FromHttpOptions } from "./fromHttpTypes";
3
- export declare const fromHttp: (
4
- options?: FromHttpOptions
5
- ) => AwsCredentialIdentityProvider;
3
+ export declare const fromHttp: (options?: FromHttpOptions) => AwsCredentialIdentityProvider;
@@ -1,5 +1,3 @@
1
1
  import { AwsCredentialIdentityProvider } from "@smithy/types";
2
2
  import { FromHttpOptions } from "./fromHttpTypes";
3
- export declare const fromHttp: (
4
- options?: FromHttpOptions
5
- ) => AwsCredentialIdentityProvider;
3
+ export declare const fromHttp: (options?: FromHttpOptions) => AwsCredentialIdentityProvider;
@@ -4,5 +4,5 @@ import { HttpResponse, Logger } from "@smithy/types";
4
4
  export declare function createGetRequest(url: URL): HttpRequest;
5
5
  export declare function getCredentials(
6
6
  response: HttpResponse,
7
- logger?: Logger
7
+ logger?: Logger,
8
8
  ): Promise<AwsCredentialIdentity>;
@@ -4,5 +4,5 @@ export interface RetryableProvider<T> {
4
4
  export declare const retryWrapper: <T>(
5
5
  toRetry: RetryableProvider<T>,
6
6
  maxRetries: number,
7
- delayMs: number
7
+ delayMs: number,
8
8
  ) => RetryableProvider<T>;
@@ -1,5 +1,2 @@
1
1
  export { fromHttp } from "./fromHttp/fromHttp.browser";
2
- export {
3
- FromHttpOptions,
4
- HttpProviderCredentials,
5
- } from "./fromHttp/fromHttpTypes";
2
+ export { FromHttpOptions, HttpProviderCredentials } from "./fromHttp/fromHttpTypes";
@@ -1,5 +1,2 @@
1
1
  export { fromHttp } from "./fromHttp/fromHttp";
2
- export {
3
- FromHttpOptions,
4
- HttpProviderCredentials,
5
- } from "./fromHttp/fromHttpTypes";
2
+ export { FromHttpOptions, HttpProviderCredentials } from "./fromHttp/fromHttpTypes";
package/package.json CHANGED
@@ -1,13 +1,40 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.60",
3
+ "version": "3.972.62",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
+ "keywords": [
6
+ "aws",
7
+ "credentials"
8
+ ],
9
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-http",
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-internal/credential-provider-http"
19
+ },
20
+ "files": [
21
+ "dist-*/**"
22
+ ],
23
+ "sideEffects": false,
5
24
  "main": "./dist-cjs/index.js",
6
25
  "module": "./dist-es/index.js",
7
26
  "browser": {
8
27
  "./dist-es/fromHttp/fromHttp": "./dist-es/fromHttp/fromHttp.browser",
9
28
  "./dist-es/index": "./dist-es/index.browser"
10
29
  },
30
+ "types": "./dist-types/index.d.ts",
31
+ "typesVersions": {
32
+ "<4.5": {
33
+ "dist-types/*": [
34
+ "dist-types/ts3.4/*"
35
+ ]
36
+ }
37
+ },
11
38
  "react-native": {
12
39
  "./dist-es/index": "./dist-es/index.browser",
13
40
  "./dist-es/fromHttp/fromHttp": "./dist-es/fromHttp/fromHttp.browser"
@@ -25,22 +52,12 @@
25
52
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
26
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
27
54
  },
28
- "keywords": [
29
- "aws",
30
- "credentials"
31
- ],
32
- "sideEffects": false,
33
- "author": {
34
- "name": "AWS SDK for JavaScript Team",
35
- "url": "https://aws.amazon.com/sdk-for-javascript/"
36
- },
37
- "license": "Apache-2.0",
38
55
  "dependencies": {
39
- "@aws-sdk/core": "^3.975.2",
40
- "@aws-sdk/types": "^3.974.1",
41
- "@smithy/core": "^3.29.3",
42
- "@smithy/fetch-http-handler": "^5.6.5",
43
- "@smithy/node-http-handler": "^4.9.5",
56
+ "@aws-sdk/core": "^3.976.0",
57
+ "@aws-sdk/types": "^3.974.2",
58
+ "@smithy/core": "^3.29.4",
59
+ "@smithy/fetch-http-handler": "^5.6.6",
60
+ "@smithy/node-http-handler": "^4.9.6",
44
61
  "@smithy/types": "^4.16.1",
45
62
  "tslib": "^2.6.2"
46
63
  },
@@ -52,24 +69,7 @@
52
69
  "premove": "4.0.0",
53
70
  "typescript": "~5.8.3"
54
71
  },
55
- "types": "./dist-types/index.d.ts",
56
72
  "engines": {
57
73
  "node": ">=20.0.0"
58
- },
59
- "typesVersions": {
60
- "<4.5": {
61
- "dist-types/*": [
62
- "dist-types/ts3.4/*"
63
- ]
64
- }
65
- },
66
- "files": [
67
- "dist-*/**"
68
- ],
69
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-http",
70
- "repository": {
71
- "type": "git",
72
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
73
- "directory": "packages-internal/credential-provider-http"
74
74
  }
75
75
  }