@aws-sdk/credential-provider-imds
Advanced tools
Comparing version 3.3.0 to 3.4.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.4.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.3.0...v3.4.0) (2021-01-28) | ||
### Features | ||
* use downlevel-dts to generate TS 3.4 compatible types ([#1943](https://github.com/aws/aws-sdk-js-v3/issues/1943)) ([63ad215](https://github.com/aws/aws-sdk-js-v3/commit/63ad2151c8bb7be32ea8838a9b0974806ed3906b)) | ||
# [3.3.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.2.0...v3.3.0) (2021-01-14) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@aws-sdk/credential-provider-imds", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service", | ||
@@ -13,2 +13,3 @@ "main": "./dist/cjs/index.js", | ||
"build": "yarn build:es && yarn build:cjs", | ||
"postbuild": "downlevel-dts types types/ts3.4", | ||
"test": "jest" | ||
@@ -26,4 +27,4 @@ }, | ||
"dependencies": { | ||
"@aws-sdk/property-provider": "3.3.0", | ||
"@aws-sdk/types": "3.1.0", | ||
"@aws-sdk/property-provider": "3.4.0", | ||
"@aws-sdk/types": "3.4.0", | ||
"tslib": "^1.8.0" | ||
@@ -38,6 +39,13 @@ }, | ||
}, | ||
"types": "./dist/cjs/index.d.ts", | ||
"types": "./types/index.d.ts", | ||
"engines": { | ||
"node": ">= 10.0.0" | ||
}, | ||
"typesVersions": { | ||
"<3.9": { | ||
"types/*": [ | ||
"types/ts3.4/*" | ||
] | ||
} | ||
}, | ||
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-imds", | ||
@@ -44,0 +52,0 @@ "repository": { |
@@ -20,4 +20,7 @@ # @aws-sdk/credential-provider-imds | ||
a promise that will resolve with credentials for the IAM role associated with | ||
an EC2 instance. Please see [IAM Roles for Amazon EC2](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) | ||
an EC2 instance. | ||
Please see [IAM Roles for Amazon EC2](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) | ||
for more information on using IAM roles with Amazon EC2. | ||
Both IMDSv1 (a request/response method) and IMDSv2 (a session-oriented method) are supported. | ||
Please see [Configure the instance metadata service](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html) for more information. | ||
@@ -34,7 +37,1 @@ ## Supported configuration | ||
retried. If not specified, a default value of `0` will be used. | ||
Additionally, `fromInstanceMetadata` supports the following options: | ||
- `profile` - The configuration profile to use. If not specified, the provider | ||
will use default profile name associated with the EC2 instance as reported by | ||
the Instance Metadata Service. |
{ | ||
"compilerOptions": { | ||
"declarationDir": "./types", | ||
"rootDir": "./src", | ||
@@ -4,0 +5,0 @@ "outDir": "./dist/cjs", |
{ | ||
"compilerOptions": { | ||
"lib": ["es5", "es2015.promise", "es2015.collection"], | ||
"declarationDir": "./types", | ||
"rootDir": "./src", | ||
@@ -5,0 +6,0 @@ "outDir": "./dist/es", |
126343
944
36
+ Added@aws-sdk/property-provider@3.4.0(transitive)
+ Added@aws-sdk/types@3.4.0(transitive)
- Removed@aws-sdk/property-provider@3.3.0(transitive)
- Removed@aws-sdk/types@3.1.0(transitive)
Updated@aws-sdk/types@3.4.0