@vercel/config 0.0.38 → 0.0.39

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/types.d.ts +6 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -18,9 +18,9 @@ export interface FunctionConfig {
18
18
  */
19
19
  includeFiles?: string;
20
20
  /**
21
- * An integer defining how long your Serverless Function should be allowed to run on every request in seconds (between 1 and the maximum limit of your plan).
21
+ * An integer defining how long your Serverless Function should be allowed to run on every request in seconds (between 1 and the maximum limit of your plan), or the string `'max'` to use the maximum duration allowed by your plan.
22
22
  */
23
- maxDuration?: number;
23
+ maxDuration?: number | 'max';
24
24
  /**
25
25
  * An integer defining the memory your Serverless Function should be provided with (between 128 and 10240).
26
26
  */
@@ -487,6 +487,10 @@ export interface VercelConfig {
487
487
  * URL prefix for routing (web services only).
488
488
  */
489
489
  routePrefix?: string;
490
+ /**
491
+ * Subdomain for host-based routing (web services only).
492
+ */
493
+ subdomain?: string;
490
494
  /**
491
495
  * Framework to use.
492
496
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/config",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "A TypeScript SDK for programmatically configuring Vercel projects",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vercel.com/docs/projects/project-configuration",