@aws-sdk/credential-provider-http 3.798.0 → 3.804.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,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createGetRequest = createGetRequest;
|
|
4
|
+
exports.getCredentials = getCredentials;
|
|
4
5
|
const property_provider_1 = require("@smithy/property-provider");
|
|
5
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -18,7 +19,6 @@ function createGetRequest(url) {
|
|
|
18
19
|
fragment: url.hash,
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
|
-
exports.createGetRequest = createGetRequest;
|
|
22
22
|
async function getCredentials(response, logger) {
|
|
23
23
|
const stream = (0, util_stream_1.sdkStreamMixin)(response.body);
|
|
24
24
|
const str = await stream.transformToString();
|
|
@@ -51,4 +51,3 @@ async function getCredentials(response, logger) {
|
|
|
51
51
|
}
|
|
52
52
|
throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger });
|
|
53
53
|
}
|
|
54
|
-
exports.getCredentials = getCredentials;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.804.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.804.0",
|
|
31
|
+
"@aws-sdk/types": "3.804.0",
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
33
33
|
"@smithy/node-http-handler": "^4.0.4",
|
|
34
34
|
"@smithy/property-provider": "^4.0.2",
|
|
35
35
|
"@smithy/protocol-http": "^5.1.0",
|
|
36
|
-
"@smithy/smithy-client": "^4.2.
|
|
36
|
+
"@smithy/smithy-client": "^4.2.2",
|
|
37
37
|
"@smithy/types": "^4.2.0",
|
|
38
38
|
"@smithy/util-stream": "^4.2.0",
|
|
39
39
|
"tslib": "^2.6.2"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"concurrently": "7.0.0",
|
|
45
45
|
"downlevel-dts": "0.10.1",
|
|
46
46
|
"rimraf": "3.0.2",
|
|
47
|
-
"typescript": "~5.
|
|
47
|
+
"typescript": "~5.8.3"
|
|
48
48
|
},
|
|
49
49
|
"types": "./dist-types/index.d.ts",
|
|
50
50
|
"engines": {
|