@teamkeel/functions-runtime 0.395.5 → 0.395.7

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": "@teamkeel/functions-runtime",
3
- "version": "0.395.5",
3
+ "version": "0.395.7",
4
4
  "description": "Internal package used by @teamkeel/sdk",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/File.js CHANGED
@@ -217,15 +217,12 @@ async function storeFile(contents, key, filename, contentType, expires) {
217
217
  Body: contents,
218
218
  ContentType: contentType,
219
219
  ContentDisposition: `attachment; filename="${encodeURIComponent(
220
- filename
220
+ this.filename
221
221
  )}"`,
222
222
  Metadata: {
223
- filename: filename,
223
+ filename: this.filename,
224
224
  },
225
225
  ACL: "private",
226
- ContentDisposition: `attachment; filename="${encodeURIComponent(
227
- this.filename
228
- )}"`,
229
226
  };
230
227
 
231
228
  if (expires) {
@@ -106,7 +106,7 @@ test("nested image test", async () => {
106
106
  });
107
107
  });
108
108
 
109
- test("nested structure", async () => {
109
+ test("arrays", async () => {
110
110
  const params = {
111
111
  names: ["james", "susan"],
112
112
  ages: [1, 2],