@aws-sdk/ec2-metadata-service 3.1086.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,20 +1,10 @@
1
1
  import { LoadedConfigSelectors } from "@smithy/core/config";
2
2
  export declare const ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT";
3
3
  export declare const CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint";
4
- export declare const ENDPOINT_SELECTORS: LoadedConfigSelectors<
5
- string | undefined
6
- >;
7
- export declare const ENV_ENDPOINT_MODE_NAME =
8
- "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
9
- export declare const CONFIG_ENDPOINT_MODE_NAME =
10
- "ec2_metadata_service_endpoint_mode";
11
- export declare const ENDPOINT_MODE_SELECTORS: LoadedConfigSelectors<
12
- string | undefined
13
- >;
14
- export declare const AWS_EC2_METADATA_V1_DISABLED =
15
- "AWS_EC2_METADATA_V1_DISABLED";
16
- export declare const PROFILE_AWS_EC2_METADATA_V1_DISABLED =
17
- "ec2_metadata_v1_disabled";
18
- export declare const IMDSv1_DISABLED_SELECTORS: LoadedConfigSelectors<
19
- boolean | undefined
20
- >;
4
+ export declare const ENDPOINT_SELECTORS: LoadedConfigSelectors<string | undefined>;
5
+ export declare const ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";
6
+ export declare const CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode";
7
+ export declare const ENDPOINT_MODE_SELECTORS: LoadedConfigSelectors<string | undefined>;
8
+ export declare const AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED";
9
+ export declare const PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled";
10
+ export declare const IMDSv1_DISABLED_SELECTORS: LoadedConfigSelectors<boolean | undefined>;
@@ -18,7 +18,7 @@ export declare class MetadataService {
18
18
  options: {
19
19
  method?: string;
20
20
  headers?: Record<string, string>;
21
- }
21
+ },
22
22
  ): Promise<string>;
23
23
  fetchMetadataToken(): Promise<string>;
24
24
  private fetchMetadataTokenInternal;
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "@aws-sdk/ec2-metadata-service",
3
- "version": "3.1086.0",
3
+ "version": "3.1088.0",
4
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/ec2-metadata-service",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "AWS SDK for JavaScript Team",
8
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
13
+ "directory": "packages/ec2-metadata-service"
14
+ },
15
+ "files": [
16
+ "dist-*/**"
17
+ ],
18
+ "sideEffects": false,
19
+ "main": "./dist-cjs/index.js",
20
+ "module": "./dist-es/index.js",
21
+ "types": "./dist-types/index.d.ts",
22
+ "typesVersions": {
23
+ "<4.5": {
24
+ "dist-types/*": [
25
+ "dist-types/ts3.4/*"
26
+ ]
27
+ }
28
+ },
4
29
  "scripts": {
5
30
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
31
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,24 +39,15 @@
14
39
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
15
40
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
16
41
  },
17
- "sideEffects": false,
18
- "author": {
19
- "name": "AWS SDK for JavaScript Team",
20
- "url": "https://aws.amazon.com/sdk-for-javascript/"
21
- },
22
- "license": "Apache-2.0",
23
- "main": "./dist-cjs/index.js",
24
- "module": "./dist-es/index.js",
25
- "types": "./dist-types/index.d.ts",
26
42
  "dependencies": {
27
- "@aws-sdk/types": "^3.974.0",
28
- "@smithy/core": "^3.29.2",
29
- "@smithy/node-http-handler": "^4.9.4",
30
- "@smithy/types": "^4.16.0",
43
+ "@aws-sdk/types": "^3.974.2",
44
+ "@smithy/core": "^3.29.4",
45
+ "@smithy/node-http-handler": "^4.9.6",
46
+ "@smithy/types": "^4.16.1",
31
47
  "tslib": "^2.6.2"
32
48
  },
33
49
  "devDependencies": {
34
- "@aws-sdk/credential-providers": "3.1086.0",
50
+ "@aws-sdk/credential-providers": "3.1088.0",
35
51
  "@tsconfig/recommended": "1.0.1",
36
52
  "@types/node": "^20.14.8",
37
53
  "concurrently": "7.0.0",
@@ -41,21 +57,5 @@
41
57
  },
42
58
  "engines": {
43
59
  "node": ">=20.0.0"
44
- },
45
- "typesVersions": {
46
- "<4.5": {
47
- "dist-types/*": [
48
- "dist-types/ts3.4/*"
49
- ]
50
- }
51
- },
52
- "files": [
53
- "dist-*/**"
54
- ],
55
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/ec2-metadata-service",
56
- "repository": {
57
- "type": "git",
58
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
59
- "directory": "packages/ec2-metadata-service"
60
60
  }
61
61
  }