Comparing version 7.0.33 to 7.1.0
@@ -41,3 +41,4 @@ "use strict"; | ||
webIdentityToken, | ||
action = "AssumeRole" | ||
action = "AssumeRole", | ||
transportAgent = undefined | ||
}) { | ||
@@ -57,3 +58,7 @@ super({}); | ||
this.action = action; | ||
this.sessionToken = sessionToken; | ||
this.sessionToken = sessionToken; // By default, nodejs uses a global agent if the 'agent' property | ||
// is set to undefined. Otherwise, it's okay to assume the users | ||
// know what they're doing if they specify a custom transport agent. | ||
this.transportAgent = transportAgent; | ||
/** | ||
@@ -130,3 +135,4 @@ * Internal Tracking variables | ||
'x-amz-content-sha256': contentSha256 | ||
} | ||
}, | ||
agent: this.transportAgent | ||
}; | ||
@@ -133,0 +139,0 @@ const authorization = (0, _signing.signV4ByServiceName)(requestOptions, this.accessKey, this.secretKey, this.region, date, "sts"); |
@@ -41,3 +41,4 @@ "use strict"; | ||
'cn-north-1': 's3.cn-north-1.amazonaws.com.cn', | ||
'ap-east-1': 's3.ap-east-1.amazonaws.com' // Add new endpoints here. | ||
'ap-east-1': 's3.ap-east-1.amazonaws.com', | ||
'eu-north-1': 's3.eu-north-1.amazonaws.com' // Add new endpoints here. | ||
@@ -44,0 +45,0 @@ }; // getS3Endpoint get relevant endpoint for the region. |
{ | ||
"name": "minio", | ||
"version": "7.0.33", | ||
"version": "7.1.0", | ||
"description": "S3 Compatible Cloud Storage client", | ||
@@ -51,3 +51,3 @@ "main": "./dist/main/minio.js", | ||
"xml": "^1.0.0", | ||
"xml2js": "^0.4.15" | ||
"xml2js": "^0.5.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
308658
6455
+ Addedxml2js@0.5.0(transitive)
- Removedxml2js@0.4.23(transitive)
Updatedxml2js@^0.5.0