@vercel/redwood 1.0.53 → 1.1.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -181,7 +181,7 @@ const build = async ({ workPath, files, entrypoint, meta = {}, config = {}, }) =
181
181
  });
182
182
  }
183
183
  lambdaFiles[path_1.relative(workPath, fileFsRef.fsPath)] = fileFsRef;
184
- const { memory, maxDuration } = await build_utils_1.getLambdaOptionsFromFunction({
184
+ const lambdaOptions = await build_utils_1.getLambdaOptionsFromFunction({
185
185
  sourceFile,
186
186
  config,
187
187
  });
@@ -189,11 +189,10 @@ const build = async ({ workPath, files, entrypoint, meta = {}, config = {}, }) =
189
189
  files: lambdaFiles,
190
190
  handler: relativeEntrypoint,
191
191
  runtime: nodeVersion.runtime,
192
- memory,
193
- maxDuration,
194
192
  shouldAddHelpers: false,
195
193
  shouldAddSourcemapSupport: false,
196
194
  awsLambdaHandler,
195
+ ...lambdaOptions,
197
196
  });
198
197
  lambdaOutputs[outputName] = lambda;
199
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/redwood",
3
- "version": "1.0.53",
3
+ "version": "1.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vercel.com/docs",
@@ -27,10 +27,10 @@
27
27
  "@types/aws-lambda": "8.10.19",
28
28
  "@types/node": "14.18.33",
29
29
  "@types/semver": "6.0.0",
30
- "@vercel/build-utils": "6.0.1",
30
+ "@vercel/build-utils": "6.2.0",
31
31
  "execa": "3.2.0",
32
32
  "fs-extra": "11.1.0",
33
33
  "typescript": "4.3.4"
34
34
  },
35
- "gitHead": "ada9a48d57be8f4375494a369aaa98cee1f5eae2"
35
+ "gitHead": "a585969dd3b77a4ed36d6a2ca11b34f9050489f1"
36
36
  }