triangle-utils 1.0.29 → 1.0.30

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": "triangle-utils",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "main": "index.js",
5
5
  "author": "",
6
6
  "license": "ISC",
package/utils/Utils_S3.js CHANGED
@@ -79,14 +79,14 @@ export default class Utils_S3 {
79
79
  }
80
80
  const s3_key = parse_s3_filename(s3_filename)
81
81
  const command = new GetObjectCommand(s3_key)
82
- const url = await getSignedUrl(s3, command)
82
+ const url = await getSignedUrl(this.s3, command)
83
83
  return url
84
84
  }
85
85
 
86
86
  async generate_upload_url(s3_filename) {
87
87
  const s3_key = parse_s3_filename(s3_filename)
88
88
  const command = new PutObjectCommand(s3_key)
89
- const url = await getSignedUrl(s3, command)
89
+ const url = await getSignedUrl(this.s3, command)
90
90
  return url
91
91
  }
92
92