store-s3-aws 1.2.2 → 1.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "store-s3-aws",
3
- "version": "1.2.2",
3
+ "version": "1.3.2",
4
4
  "description": "Lib to store files in AWS S3",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/AwsS3Store.js CHANGED
@@ -53,7 +53,7 @@ class AwsS3Store {
53
53
 
54
54
  const remoteFilePath = path.join(this.remoteDataPath, `${options.session}.zip`).replace(/\\/g, '/');
55
55
  options.remoteFilePath = remoteFilePath;
56
- await this.#deletePrevious(options);
56
+ //await this.#deletePrevious(options);
57
57
 
58
58
  const fileStream = createReadStream(`${options.session}.zip`);
59
59
 
@@ -145,7 +145,6 @@ class AwsS3Store {
145
145
 
146
146
  #getClientS3() {
147
147
  if (this.#clientS3 === null) {
148
- console.log(`access_key do store: ${process.env.AWS_ACCESS_KEY_ID}`)
149
148
  this.#clientS3 = new S3Client({
150
149
  region: this.clientConfig.region
151
150
  });