@vercel/config 0.0.27 → 0.0.29

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 +9 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -20,6 +20,11 @@ export interface FunctionConfig {
20
20
  * An integer defining the memory your Serverless Function should be provided with (between 128 and 10240).
21
21
  */
22
22
  memory?: number;
23
+ /**
24
+ * An array of regions where this Serverless Function will be deployed.
25
+ * This setting overrides the top-level `regions` setting for matching functions.
26
+ */
27
+ regions?: string[];
23
28
  /**
24
29
  * The npm package name of a Runtime, including its version
25
30
  */
@@ -56,6 +61,10 @@ export interface FunctionConfig {
56
61
  * Initial delay in seconds before first execution attempt
57
62
  */
58
63
  initialDelaySeconds?: number;
64
+ /**
65
+ * Maximum number of concurrent executions for this consumer
66
+ */
67
+ maxConcurrency?: number;
59
68
  }[];
60
69
  }
61
70
  export interface CronJob {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/config",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
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",